Test apps do not require any certificate for Android devices.
To sign a release version of the app up for Android, you need a keystore file.
All Android apps published in Google Play (and the Amazon Store) must be signed with a certificate before they can be installed. Android uses this certificate to identify the creator of an app.
During the creation of the keystore file, some parameters are requested. You should note these down separately since these have to be entered later in the Purple DS Manager.
It is the information detailed below:
- Keystore file
- Key alias
- Key alias password
- Keystore password
Please consult our knowledgebase for information on how to create a keystore file.
If you have successfully created the keystore file, please enter the above details using the "Build Settings" button in the Android area.
If you want to use Push Notifications, please follow the instructions in this article: Android Push Certificate.
CREATE KEYSTORE FILE
Open the Terminal application by opening a Finder window and navigating Applications> Utilities> Terminal on your Mac.
1. Change to the folder by saving the release.keystore file
2. Enter the following line (replace "<alias>" with your information, eg App Name - without spaces or umlauts): keytool -genkey -v -keystore release.keystore -alias <alias> -keyalg RSA -keysize 2048 - validity 10000
3. Set a password and enter it, repeat the input. This password (= Storepass) is important, secure it in a say place. Later, you want to enter the password in Purple DS Manager under Settings> Android> Storepass and Keypass
4. Follow the instructions in the terminal window:
5. To confirm the selection, press Enter. Enter "Yes" if you need to confirm the prompt. If you notice an error, enter "No", then the query will be executed again
6. Enter a password (= Keypass) again to generate the keystore file. If you just enter "Enter", the above password will be used (recommended)
The certificate will be created at the location you specified above. For example, in your MAC username folder.