Firebase App Distribution BUG: missing app ID on GitHub Actions
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: Android Studio Bumblebee | 2021.1.1
- Firebase Component: Firebase App Distribution
- Component version: 3.0.0
[REQUIRED] Step 3: Describe the problem
Just like this StackOverFlow issue, I have followed your guide for distributing builds through Firebase, and I also used GitHub actions for that. It was working smoothly for 3-4 months, until I recently upgraded to the 3.0.0 version of Firebase App Distribution.
As soon as I did it, I can no longer push builds through firebase as I get the following error on GitHub: `* What went wrong: Execution failed for task ‘:app:appDistributionRemoteDevDebug’.
Missing app id. Please check that it was passed in and try again`
The following code on Android Studio’s terminal (which is the same code I have in the GitHub action) works properly.
gradlew :app:assembleRemoteDevDebug :app:appDistributionUploadRemoteDevDebug
Steps to reproduce:
- Create a GitHub action that distributes a build in firebase
- You will get the following error
Missing app id. Please check that it was passed in and try again
- Running the same code that builds the project and uploads it in the Firebase, in the terminal in Android Studio, gives no error at all.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:9 (5 by maintainers)
Top Results From Across the Web
firebaseAppDistribution with Github Actions throwing error ...
It looks, that App distribution stops searching for AppId in ... but for some reason github actions still fails with missing id.
Read more >App Distribution troubleshooting & FAQ - Firebase - Google
This page provides troubleshooting help and answers to frequently asked questions about distributing and testing apps with App Distribution.
Read more >Deploy your Flutter App to Firebase App Distribution using ...
Even if there are a lot of tools that can help automate everything, like CodeMagic or Bitrise, today I want to show you...
Read more >Automation Flutter with GitHub Actions & Firebase App ...
Go to the settings in your firebase console and copy the App ID. Add it as a secret to GitHub with “FIREBASE_ANDROID_APPID” as...
Read more >Available Plugins - fastlane docs
Release your beta builds to Firebase App Distribution. ... Change the package identifier in the AndroidManifest.xml file. ... Missing git actions.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This has been acknowledged by our engineers and a fix is on the way - internally tracked b/218610467. We’ll post back here once we get updates. Thanks!
I’m able to reproduce with:
app/build.gradle:
build.gradle
google-services.json
is located in/app/google-services.json
command to fire upload to Firebase App Distribution in my bitbucket pipeline:
./gradlew assembleStagingDistribution appDistributionUploadStagingDistribution
Same configuration just with
classpath 'com.google.firebase:firebase-appdistribution-gradle:2.2.0'
work like a charm. Only chnage to 3.0.0 made a failed upload with same error:Missing app id. Please check that it was passed in and try again
The biggest difference is, that I use 2 times firebaseAppDistribution (flavor + build type) and use serviceCredentialsFile instead of token. Or maybe location of google-services.json file? Because App ID is specified in this file.