I\'m working on an Android app that reads from a Firebase database. App users won\'t be logging in or modifying the database. All app users will be looking at the same dat
When you add your application to Firebase project, you must specify SHA1 certificate of your app, so nobody is able to access your data except you.
3. Use FirebaseAuth
and signInAnonymously()
method
reference: https://firebase.google.com/docs/auth/android/anonymous-auth
Then adjust security rules:
{
"rules": {
".read": "auth != null",
...
}
}
Con: multiple accounts used only for reading the same data