This help page is for users in Creator 5. If you are in the newer version (Creator 6), click here. Know your Creator version.
Note: Firebase Cloud Messaging server key has been deprecated on June 21, 2024. To continue using push notifications, update your new service account JSON file (FSA file) instead of the deprecated FCM server key before the above mentioned date.

Prerequisites for Android code sign

Generating Upload Keystore file

To generate the Upload Keystore file for Android, you must have a Java Development Kit (JDK) or Java Runtime Environment (JRE) set up. Alternatively, you may use Android Studio.
  1. Open the Terminal or Command Prompt.
  2. Replace <my-release-key> and <alias_name> with the upload keystore file name and alias name, respectively, then:

    keytool -genkeypair -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 20000 -storetype jks

    You will be prompted to set your Keystore password.

  3. Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
  4. Enter the details as prompted.
  5. Set your Key password:
    • Enter the required password, or
    • Press the RETURN or ENTER key in your keyboard to set the Keystore password as the Key password

The Upload Keystore file will be generated and downloaded in the path where you executed the above commands.

Note: You might encounter the error message "The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format." Kindly ignore this message and proceed further.

Generating App Signing Keystore file

To generate the App Signing Keystore file for Android, you must have a Java Development Kit (JDK) or Java Runtime Environment (JRE) set up. Alternatively, you may use Android Studio.
  1. Open the Terminal or Command Prompt.
  2. Replace <my-release-key> and <alias_name> with the app signing keystore file name and alias name, respectively, then:

    keytool -genkeypair -v -keystore <my-release-key>.keystore -alias <alias_name> -keyalg RSA -keysize 2048 -validity 20000 -storetype jks

    You will be prompted to set your Keystore password.

  3. Set your Keystore password and memorize it. You'll need this again when you code sign your app for Android.
  4. Enter the details as prompted.
  5. Set your Key password:
    • Enter the required password, or
    • Press the RETURN or ENTER key in your keyboard to set the Keystore password as the Key password

The App Signing Keystore file will be generated and downloaded in the path where you executed the above commands.

Note: You might encounter the error message "The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format." Kindly ignore this message and proceed further.

 Download Firebase config file and Firebase Service Account file

The Firebase config file and Firebase Service Account file are required to enable push notification support in your Android app.

1. Download Firebase Config file

  1. Sign in to your Firebase console.
  2. Select the required project. If you haven't created a project yet, then:
    1. Create a project in Firebase. Learn how
    2. Register your app with Firebase. Learn how
  3. Click the Settings icon, then select Project settings.
  4. Navigate to the General tab.
  5. In the Your apps card, select the package name of the app for which you need a config file.
  6. Click the google-services.json button. Your Firebase config file will be downloaded to your device.

2. Download Firebase Service Account file

  1. Access your Firebase console.
  2. Select the required project.
  3. Click the Settings icon, then select Project settings.
  4. Navigate to the Service accounts tab and click Generate New Private Key. A confirmation popup will be shown, and the Firebase Service Account file will be downloaded once you confirm it.
  5. Securely store the JSON file containing the key and upload it your Creator account to enable push notification.

Related topics

Still can't find what you're looking for?

Write to us: support@zohocreator.com