Closed Fl0p closed 1 month ago
That environment variable is actually handled by the Google Auth library, not our plugin: https://github.com/firebase/fastlane-plugin-firebase_app_distribution/blob/master/lib/fastlane/plugin/firebase_app_distribution/helper/firebase_app_distribution_auth_client.rb#L60
That's why we don't want to set it to env_name
for our service_credentials_file
parameter.
If it's not working for you please let us know and include logs, thanks!
https://github.com/firebase/fastlane-plugin-firebase_app_distribution/blob/4bc7839cf44564d327fcebf82553b687f18140ca/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb#L568-L571
evn_name should be "GOOGLE_APPLICATION_CREDENTIALS"
e.g.
according to the doc https://firebase.google.com/docs/app-distribution/ios/distribute-fastlane#service-acc-fastlane