Configuring for Android Builds
Last updated
Last updated
In order to generate the needed files and publish the wallet to the Google Play Store several configuration steps are needed.
We allow white labeling both Android and iOS applications, but we suggest doing them one by one to make the PR review easier.
In the ../build-config.json file set build-android: true
.
Log in or sign up for a Google Android Developer account
Create your new app (instructions from Google's Help Center)
Sign up for a Firebase account Note: Android and iOS apps can share the same Firebase account
Register your app as an Android app (instructions from Firebase's Help Center)
Use the same package name that you have defined in the General Setup step.
Go to Project Settings and download the google-services.json
file
Replace the google-services.json
file in ../android/app/src/google-services.json
Update the app_name
setting in ../android/app/src/main/res/values/strings.xml with the name of your app.
Android requires that all apps be digitally signed with a certificate before they can be installed. In order to distribute your Android application via Google Play store it needs to be signed with a release key that then needs to be used for all future updates.
You can generate the certificate using the commands below.
This command will replace the ../android-release.keystore
file.
Update the ../packaging.config file using the password created while generating the certificate.
RELEASE_STORE_PASSWORD=
RELEASE_KEY_PASSWORD=