Code sign Android app for customers

Code sign Android app for customers

Refer to this page for the Android code sign prerequisites
From August 1, 2021, Google mandates that newly-created apps are to be published with the Android App Bundle (AAB) on Google Play, for those who are publishing their app for the first time.

Android App Bundle (AAB)

AAB is a new publishing format used to upload mobile apps to Google Playstore. This format includes all your app’s compiled code and resources, and defers APK generation and signing to Google Play. AAB is used to optimize the size of your mobile app, by allowing customers to download the required assets or files based on their device specifications. 

 In Creator, we now support two file types for Android: 

  • AAB - for publishing in Playstore.
  • APK - for directly installing in your Android device.

Things to know

There are two different keystore files needed to generate the appropriate file types:

Upload Keystore File

This is the second-level keystore file used to identify the developers who are responsible for their published apps. You have to create this keystore file and use it while generating AAB. Learn how to generate upload keystore file

App Signing Keystore File

This is the main keystore file used to sign a mobile app to install them in your mobile and tablet devices. You have to create this keystore file and use it while generating APK. Learn how to generate app signing keystore file

You can codesign your Android apps using either of the below file types.

Using AABUsing APKUsing both AAB and APK

Code sign Android app for customers using AAB

  1. Navigate to the Mobile section on the left pane and click the Mobile App tab. 

  2. Click on the Create New button. It opens the Create New slider.

  3. Select the Application Name from the dropdown.

  4. Select the Application type as Portal and the platform as Android, then click Next.

    Note: In order to codesign your customer app, you must have configured a customer portal for that app. 

  5. Enter Package Name. This will uniquely identify your Android app. It's usually in the format:
    com.companyname.appname.

    For example,

    com.zylker.employeemanagement.
  6. Set Android App Icon as follows. This will be your app's icon in your customers' mobile devices.
    • The Default Icon option will be selected by default. This icon is set based on your application's name.
    • You can opt to upload a Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.

  7. Tick the check box beside Android App Bundle (AAB).
  8. Under the Upload Keystore Details, enter the required details.
  9. Upload Keystore file. Refer to this page to know how to generate an upload keystore file.
  10. Enter Keystore password.
  11. Enter Key password.
  12. Enter Alias Name.

  13. Toggle the button next to Push Notification to enable push notification support for your Android app.
  14. In the Push Notification popup, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
  15. Upload the firebase config file.
  16. Enter the FCM server key and click Enable.

  17. Now, click Code Sign. The codesign process can take up to 10 minutes.
  18. On successful completion, the status of your app will be code signed.
  19. Distribute the code-signed Android app to your customers by downloading the .aab file.
  20. To disable the push notifications support for your Android app, refer here.
  21. You can re-codesign your Android app. Learn how 

Distribute your app by downloading its .aab file

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right.
  3. Click the Download AAB button beside the Download and send the .aab file section, then share the resulting Android App Bundle (.aab) file with your customers.

  4. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code signed Android app, it will show a three-dot action popup at the right end of the row.

  5. Click the Download AAB button, then share the resulting Android App Bundle (.aab) file with your customers.

Generate APK from AAB

Once AAB is generated, we can easily generate APK from it by using the App Signing keystore details. To generate APK from AAB,

  1. Navigate to the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.
  3. Click the Generate APK button beside the Download and send the .apk file section.
  4. Enter the required details in the Generate APK popup and click Generate.

  5. ​​The .apk file will be generated in a few minutes and you can share it with your customers.

Disable push notifications support for your Android app

  1. Navigate to the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.
  3. Click the Disable button beside the Push Notification section.
  4. Click Disable in the Push Notification popup.

Re-code sign your Android app

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.

  3. Click Re-code Sign beside your code-signed app's name. A popup will appear.
  4. Click Re-code Sign to confirm. Your app will be code signed again
  5. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code-signed Android app, it will show a three-dot action popup at the right end of the row.

  6. Click Re-code Sign. A popup will appear.
  7. Click Re-code Sign to confirm. Your app will be code signed again.

  8. You can filter your code-signed apps based on the Application and Type by clicking on the Filter option at the right side of your screen.

  9. The Type filter lets you filter apps based on User apps, Customer apps, iOS apps, and Android apps.

Code sign Android app for customers using APK

  1. Navigate to the Mobile section on the left pane and click the Mobile App tab. 

  2. Click on the Create New button. It opens the Create New slider.

  3. Select the Application Name from the dropdown.

    Note: In order to codesign your customer app, you must have configured a customer portal for that app.

  4. Select the Application type as Portal and the platform as Android, then click Next.

  5. Enter Package Name. This will uniquely identify your Android app. It's usually in the format:
    com.companyname.appname.

    For example,

    com.zylker.employeemanagement.
  6. Set Android App Icon as follows. This will be your app's icon in your customers' mobile devices.
    • The Default Icon option will be selected by default. This icon is set based on your application's name.
    • You can opt to upload a Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.

  7. Tick the check box beside Android Package (APK).
  8. Under the App Sign Keystore Details, enter the required details.
  9. Upload Keystore file. Refer to this page to know how to generate an app signing keystore file.
  10. Enter Keystore password.
  11. Enter Key password.
  12. Enter Alias Name.

  13. Toggle the button next to Push Notification to enable push notification support for your Android app.
  14. In the Push Notification popup, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
  15. Upload the firebase config file.
  16. Enter FCM server key and click Enable.

  17. Now, click Code Sign. The codesign process can take up to 10 minutes.
  18. On successful completion, the status will be code signed.
  19. Distribute the code-signed Android app to your customers by downloading the .apk file.
  20. To disable the push notifications support for your Android app, refer here.
  21. You can re-codesign your Android app. Learn how 

Distribute your app by downloading its .apk file

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.

  3. Click the Download APK button beside the Download and send the .apk file section.
  4. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code signed Android app, it will show a three-dot action popup at the right end of the row.

  5. Click the Download APK button, then share the resulting Android Package (.apk) file with your customers.

Disable the push notifications support for your Android app

  1. Navigate to the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.
  3. Click the Disable button beside the Push Notification section.
  4. Click Disable in the Push Notification popup.

Re-code sign your Android app

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.

  3. Click Re-code Sign beside your code-signed app's name. A popup will appear.
  4. Click Re-code Sign to confirm. Your app will be code signed again.
  5. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code-signed Android app, it will show a three-dot action popup at the right end of the row.

  6. Click Re-code Sign. A popup will appear.
  7. Click Re-code Sign to confirm. Your app will be code signed again.

  8. You can filter your code-signed apps based on the Application and Type by clicking on the Filter option on the right side of your screen.

  9. The Type filter lets you filter apps based on User apps, Customer apps, iOS apps, and Android apps.

You can also code-sign your mobile apps using both the AAB and APK file types.

Code sign Android app for customers using AAB and APK

  1. Navigate to the Mobile section on the left pane and click the Mobile App tab. 

  2. Click on the Create New button. It opens the Create New slider.

  3. Select the Application Name from the dropdown.

    Note: In order to codesign your customer app, you must have configured a customer portal for that app.

  4. Select the Application type as Portal and the platform as Android, then click Next.
  5. Enter Package Name. This will uniquely identify your Android app. It's usually in the format:
    com.companyname.appname.

    For example,

    com.zylker.employeemanagement.
  6. Set Android App Icon as follows. This will be your app's icon on your customers' mobile devices.
    • The Default Icon option will be selected by default. This icon is set based on your application's name.
    • You can opt to upload Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.

  7. Tick the check box beside Android App Bundle (AAB) and Android Package (APK).
  8. Under the 'Upload Keystore' Details, enter the required details.
  9. Upload Keystore file. Refer to this page to know how to generate an upload keystore file.
  10. Enter Keystore password.
  11. Enter Key password.
  12. Enter Alias Name.
  13. Under the 'App Sign Keystore' Details, enter the required details.
  14. Upload Keystore file. Refer to this page to know how to generate an app-signing keystore file.
  15. Enter Keystore password.
  16. Enter Key password.
  17. Enter Alias Name.

  18. Toggle the button next to Push Notification to enable push notification support.
  19. In the Push Notification popup, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
  20. Upload the firebase config file.
  21. Enter FCM server key.

  22. Now, click Code Sign. The codesign process can take up to 10 minutes.
  23. On successful completion, the status will be code signed.
  24. Distribute the code-signed Android app to your customers by downloading the .aab/.apk file.
  25. To disable the push notifications support for your Android app, refer here.
  26. You can re-codesign your Android app. Learn how 

Distribute your app by downloading its respective files

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.
  3. Click the respective download button.
    • Click Download AAB button beside the Download and send the .aab file section if you want to download and share the .aab file with your customers.

    • Click the Download APK button beside the Download and send the .apk file section if you want to download and share the .apk file with your customers.

  4. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code signed Android app, it will show a three-dot action popup on the right side of the row.
    • Click the Download AAB button, then share the resulting Android App Bundle (.aab) file with your customers.

    • Click the Download APK button, then share the resulting Android Package (.apk) file with your customers.

Disable the push notifications support for your Android app

  1. Navigate to the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.
  3. Click the Disable button beside the Push Notification section.
  4. Click Disable in the Push Notification popup.

Re-code sign your Android app

  1. Navigate to the Mobile section on the left and select the Mobile App tab.

  2. Click on the corresponding row of the code signed Android app, it will open the For Customer - Code Sign pane on the right as below.

  3. Click Re-code Sign beside your code-signed app's name. A popup will appear.
  4. Click Re-code Sign to confirm. Your app will be code signed again.
  5. Alternatively, navigate to the Mobile App tab and hover on the corresponding row of the code-signed Android app, it will show a three-dot action popup at the right end of the row.

  6. Click Re-code Sign. A popup will appear.
  7. Click Re-code Sign to confirm. Your app will be code signed again.

  8. You can filter your code-signed apps based on the Application and Type by clicking on the Filter option on the right side of your screen.

  9. The Type filter lets you filter apps based on User apps, Customer apps, iOS apps, and Android apps.

Related topics

Share this post : FacebookTwitter

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

Write to us: support@zohocreator.com