Deployment
note
This docs are for maintainers of the app or for people interested in creating a similar deployment.
#
PrerequisitesMake sure to install the Firebase CLI and the required Ruby gems before continuing.
#
Android CredentialsTo deploy to the Google Play Store or Firebase App Distribution you need the respective credentials.
- Get keyfiles from Google Drive -
AppSecrets.kdbx
(Trustlines/Secrets) -Trustlines AppSecrets Key.key
(Temp Secrets) - Open
AppSecrets.kdbx
in KeePass with keyTrustlines AppSecrets Key.key
- Open
Android PlayStore Keystore
- Download
google_play_store.json
andtrustlines-release-key.keystore
and.env.secret
tomobileapp/keyfiles
- Make sure
.env.secret
has a leading dot
#
DeploymentYou can either use the wizard by running
or directly fastlane
by running
Running the wizard gives you a prompt to specify additional options like:
- select an OS (Android / iOS)
- select a target (develop/staging/production)
- to bump the version before deploying
The Android app will be uploaded to the Internal testing stage and can be promoted to higher stages from here.
The iOS app is uploaded to the TestFlight stage of the app store and can be submitted for testing/approval by Apple from here.
#
Google Play StoreAll configuration and uploaded apps can be found at: Google Play Store Console
#
Apple AppStoreAll configuration and uploaded apps can be found at: AppStore Connect