Forum Discussion
RaptorMatt
4 years agoExpert Protege
Security Vulnerability - "GCP API Keys Exposed in App" after integrating Firebase Storage
I integrated the Firebase Unity SDK v8.7.0 for Firebase Storage and confirmed it works, but after setting it up per their documentation (https://firebase.google.com/docs/storage/unity/start) I got a ...
- 4 years ago
For anyone who had the same issue, this is fixed by going into the Google Cloud Console, navigating to APIs & Services > Credentials > API Keys, and changing the restrictions on each key to "Android apps". You will need to enter your package name and SHA1 fingerprint.
To extract your SHA1 fingerprint from your keystore file, use the command line "keytool" app. Open a command prompt as administrator, change the directory to C:\Program Files\Java\jdk1.8.0_301\bin (or whatever jdk version you have), and then run: keytool -exportcert -keystore "[FILEPATH TO YOUR KEYSTORE]" -list -v
You'll need to enter your password, then it should pop out your SHA1, which you enter into the Google Cloud Console to restrict your API keys to Android apps.
ayyappa999
3 years agoHonored Guest
I thought Firebase sdk's need Google play services libraries. I see quest 2 doesn't have those inbuilt.
How did you manage to make it work?
RaptorMatt
3 years agoExpert Protege
Google Play services are no longer required with the latest version of the Firebase SDK!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 6 years ago
- 6 years ago