You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are using firebase_token to upload a new build to Firebase Distribution, but this approach requires the token be generated from an account, ideally a shared account.
Using Google Service Account does not require a shared account and the key can be shared with Android project.
Replace FIREBASE_TOKEN from all workflows Secrets and use FIREBASE_GOOGLE_APPLICATION_CREDENTIALS_BASE64 instead.
GH
Bitrise
CodeMagic
Set ENV GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.firebase_service_account.outputs.filePath }} to allow Fastlane to automatically use Service Account to upload.
example:
- name: Read Google Service Account
id: firebase_service_account
uses: timheuer/[email protected]
with:
fileName: 'firebase_service_account.json'
encodedString: ${{ secrets.FIREBASE_GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
- name: Build Production App and Distribute to Firebase
run: bundle exec fastlane buildProductionAndUploadToFirebase
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.firebase_service_account.outputs.filePath }}
Who Benefits?
Users.
The text was updated successfully, but these errors were encountered:
Why
Currently we are using
firebase_token
to upload a new build to Firebase Distribution, but this approach requires the token be generated from an account, ideally a shared account.Using Google Service Account does not require a shared account and the key can be shared with Android project.
More info on Service Account: https://firebase.google.com/docs/app-distribution/ios/distribute-fastlane#service-acc-fastlane
Acceptance Criteria
FIREBASE_TOKEN
from all workflows Secrets and useFIREBASE_GOOGLE_APPLICATION_CREDENTIALS_BASE64
instead.GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.firebase_service_account.outputs.filePath }}
to allow Fastlane to automatically use Service Account to upload.example:
Who Benefits?
Users.
The text was updated successfully, but these errors were encountered: