Updated Android releases.yml for keystore and google-services secrets - #538
hardikgarg02 wants to merge 7 commits into
Conversation
|
Two gaps before this works: neither robot/build.gradle nor controller/build.gradle has a signingConfigs block wired to these injected properties, so assembleRelease would still produce an unsigned APK (likely named robot-release-unsigned.apk, not robot-release.apk as the asset-path step expects). Also, none of the 5 secrets this references (GOOGLE_SERVICES_JSON_BASE64, KEYSTORE_BASE64, KEYSTORE_PASSWORD, KEY_ALIAS, KEY_PASSWORD) exist in the repo yet. Can you add the signingConfigs block and confirm the secrets are ready before this merges? |
…android-release-secrets
…android-release-secrets
|
|
Yes, the assets copy is needed at runtime. BarCodeScannerFragment.readJsonFile() (android/robot/src/main/java/org/openbot/app/robot/projects/BarCodeScannerFragment.java) opens google-services.json directly from context.getAssets() and parses it in getCurrentKeyFromJson() to extract the API key used for [barcode scanning / drive file access]. |
Uh oh!
There was an error while loading. Please reload this page.