Page History
...
For at bygge lokalt kræver det man har local.properties filen i roden af projektet, som indeholder keystore password, key alias og key password i formatet:
| Code Block |
|---|
keystore_passwordstorePassword=SuperSecretPassword private_alias=MyKeyAlias private_password=MyPrivatePasswordHere |
...
local.properties
signing
├── MinGraviditetKeystore20211203.jks
└── min-graviditet-test-4807133482ad.json
Signeringsnøglen og koder hertil ligger pt hos Jan Buchholdt (jbu) fra Trifork.storePassword, keyAlias og keyPassword som bruges til signering af releases ligger som secret variables i azure.
Konfiguration
Beskrivelse af de nuværende konfigurationer kan findes på Installationsvejledningen https://www.nspop.dk/pages/viewpage.action?pageId=121373687#GravidiDK(Android)Installationsvejledning-Indledning
...
Ved at bruge kommandoen fastlane før man alle de mulige "lanes" frem, hvor man får nedenstående output.
| Code Block | ||
|---|---|---|
| ||
Welcome to fastlane! Here's what your app is set up to do: +------------------------------------------------------------------------------------------------------------------------++ | Available lanes to run | +--------+-------------------------------+---------+----------------------------------------------------------------------+ | Number | Lane + | Number | Lane Name | Description | Description | +--------+-------------------------------+---------+----------------------------------------------------------------------+ | 1+ | 1 | android setGitTag | android setGitTag | Add version tag to commit | | 2 | android bumpReleaseVersion | Bump, commit, tag and (optionally) push commit | | 2 | android bumpReleaseVersion | Bump, commit, tag and (optionally) push commit and tag | and tag | | 3 | android allUnitTests | | | 4 | android generateQaReports | Checks that git is in a correct state and we | | | | have a tag. Then generates Unit Test and | | | | | 3 | androidCoverage allUnitTestsreports | | | 5 | android uploadForInternalTest | Upload Internal Test version to Firebase | | 6 | android uploadForInternalTestMockMitId | Upload Internal Test MockMitID version to | | 4 | android generateQaReports | Checks that git is in a correct state and we have a tag. Then generates Unit | | | | Firebase | Test and Coverage reports | | 7 | android uploadForDev | Upload dev version to Firebase | | 5 | android uploadForInternalTest | Upload Internal Test version to| | Firebase8 | android uploadForGooglePlay | Build GooglePlay .aab and upload to Google Play | | | | 6 | android uploadForGooglePlay | Build GooglePlay .aab and upload to Google Play (Takes the Service account | | | | (Takes the Service account json file path as a | | | | json file path as a param) | param) | | 0 | cancel | | 0 | cancel | No selection, exit fastlane! | No selection, exit fastlane! | +--------+-------------------------------+----------+---------------------------------------------------------------------+ + [14:57:20]: Which number would you like to run? |
Lanes
bumpReleaseVersion
Kører 4 operationer
...
Der kan releases til Firebase vha uploadForInternalTest, uploadForInternalTestMockMitId, uploadForDev og til GooglePlay ved hjælp af uploadForGooglePlay.
Release til Google Play
For at kunne release kræves det at man har adgang til Sundhedsdatastyrelsens Google Play projekt.
Projektet er opsat i Google Play til at benytte sig af app bundles (.aab).
...