0

I have an Android App, which uses Firebase RTDB & Firestore.

I added an Application restriction using the Android App Package Name (as shown in the attached image) but I figure I would still need to authenticate this key somewhere in Firebase Security Rules. GCP application restriction

I want to make sure only my android app is able to access my firebase database.

How would my Firebase rule look like?

Thanks,

Varun Joshi
  • 599
  • 2
  • 9
  • 24
  • 2
    "make sure only my android app is able to access my firebase database" This is _currently_ not possible. See https://stackoverflow.com/questions/52018041/locking-down-firebase-db-access-to-specific-apps. If there's news, I'll update there. :) – Frank van Puffelen Apr 26 '21 at 15:16
  • @FrankvanPuffelen Thanks Frank! I'll keep an eye out for updates, your answer to the other question is very helpful! – Varun Joshi Apr 27 '21 at 04:28

0 Answers0