Closed elizedelabrida closed 2 years ago
Hey, sorry for the trouble. This seems to be a valid issue, but not that urgent. I will look into this in my next release.
Hey, sorry for the trouble. This seems to be a valid issue, but not that urgent. I will look into this in my next release.
thanks!
any news? it has been a long time ago
any news? it has been a long time ago
Not really, but let's not wait for new features. I will put this in my TODO list ahead. Thanks for reminding me.
I am making a change regarding this. Instead of exporting input from the field, now using this as input the firebase binary.
However firebase app distribution binary itself may read it from environment variables. this is not something we can fix for sure.
I have added a warning just in case.
It would be great if the script validated if FIREBASE_TOKEN variable is exported (not only firebase_token) and threw an error.
I had a case in Bitrise where there was a secret env var named exactly FIREBASE_TOKEN. This caused an issue while trying to authenticate with a service account, because even while firebase_token inside the script was empty, it was still trying to authenticate using the token:
It took me a while to figure out that the problem was a secret env var named FIREBASE_TOKEN. Renaming it solved the problem.