Firebase app distribution using account service not working if FIREBASE_TOKEN variable deleted #1869
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
firebase:
Expected resultsDistribution successful to Firebase App Distribution Actual resultsError when distributing: Publishing failed :| The error goes away if we restore the FIREBASE_TOKEN variable in the console. Either way, that makes no sense, since we are not using token anymore. Build id (optional)64ae803afe0df6462bc5e7eb |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hello @bernat-gomez, I was not able to reproduce this. When I delete the token and use the service account, everything gets published to firebase.
Maybe you have your variables and their names messed up in some way, try following the naming guide precisely like in the docs here and let me know if you are still having the issue. |
Beta Was this translation helpful? Give feedback.
-
YAML FILE: I did exactly as you said. Still getting login error. FIREBASE_SERVICE_ACCOUNT, value = Service account JSON key contents, group = firebase_credentials |
Beta Was this translation helpful? Give feedback.
Hi @bernat-gomez
In the docs it's indeed mentioned that the service account for Firebase App Distribution must have the role of "Firebase App Distribution Admin", though it can be highlighted better. Will take into account the other notice too, thanks.
Nevertheless, I'm glad you got it working!
Best of luck!