I want to enable Firebase App Distribution for my newly created Firebase app. I use this code to deploy an APK to Firebase in GitHub:
- name: Deploy App to Firebase App Distribution
working-directory: ./myapp
run: |
firebase appdistribution:distribute "myapp.apk" \
--app ${{ inputs.firebase_app_id }} \
--groups ${{ inputs.distribution_group }} \
--project=${{ inputs.target_project_id }}
GitHub outputs this error on execution:
Run firebase appdistribution:distribute "myapp.apk" \
i uploading binary...
Error: App Distribution could not find your app [myapp-id]. Make sure to onboard your app by pressing the "Get started" button on the App Distribution page in the Firebase console: /%5C_/appdistribution
We use the creation of environments in an highly automated way. Also the deployment and enablement of Firebase App Distribution should be part of the process.
Here the users on GitHub want to do the same with no solution posted. So I wanted to ask here if someone knows about a solution.
The ultimo (and dumbest) solution would be to use a personalized Google Account and click in the pipeline with e.g. the help of Puppeteer...
I really not want to do this. But can it really be that the automated solution is blocked by a "Get Started" button?
That there is an API call to enable App Distribution by API and not by a button.