Ensure that you can successfully generate an installation package with a signed Android
app by creating an Android certificate set. With a certificate set, you provide the components
which prove that the app code and updates come from an authentic source, and that also enable
support for optional push notifications for your app.
Before you begin: Obtain the components to use in the Android certificate set:
-
In the navigation pane of
App Studio, click .
-
On the Mobile certificates page, click Add certificate
set.
-
On the Adding new certificate set page, click
Android.
-
In the App ID (Package Name) field, enter a unique identifier
for the Android app.
The value of the App ID is case-sensitive and must meet the following requirements:
- Consists of alphanumeric characters (a-z, A-Z, 0-9) or an underscore ( _ ).
- Consists of at least two segments; all segments must start with a letter and be
separated by a period ( . ).
-
Choose a signing certificate to use in the certificate set:
Choices |
Actions |
Use an existing signing certificate |
In the Signing certificate list, select an already
uploaded certificate. |
Upload a new signing certificate |
-
Next to the Signing certificate list, click
New.
-
In the Upload new certificate file modal dialog box,
click Choose file, and then upload the
.p12 file with the signing certificate.
-
In the Certificate name field, enter a name for the
signing certificate.
The name must not include underscore ( _ ), hyphen ( - ), or period ( . )
characters.
-
In the Encryption password field, enter the encryption
password for the certificate.
-
Click OK.
|
- Optional:
To enable push notifications for your app, on the Adding new certificate
set page, add the FCM parameters to use in the certificate set:
-
In the FCM Server Key field, enter the server key from the
Firebase console.
-
In the Google Services JSON section, click
New, and then upload the JSON file from the Firebase
console.
-
Click Save.
Result: You now have a complete certificate set that you can use to
generate an installation package for your app for testing or distribution, and ensure that the
app is signed and meets Android requirements.
What to do next: Generate an installation package for your signed Android app.
For more information, see Generating installation packages.