sitcomlab / simport-learning-app

Learning tool on location data privacy, that reflects to users, what conclusions can be drawn from their location histories. This is part of the SIMPORT project.
https://www.simport.net
MIT License
6 stars 6 forks source link

Fix firebase distribution #228

Closed schrooom closed 1 year ago

schrooom commented 1 year ago

Our current firebase distribution method doesn't work anymore. It looks like it fails because of the authentication method.

Authenticating with `FIREBASE_TOKEN` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started
[...]
Error: failed to upload release. Failed to make request to https://firebaseappdistribution.googleapis.com/upload/v1/projects/***/apps/***/releases:upload

(→ see here)

felixerdy commented 1 year ago

This issue is now finally resolved after setting the right permissions to the application credentials file in the Google Cloud Console. See https://github.com/sitcomlab/simport-learning-app/actions/runs/3128952322/jobs/5088664477