Search code examples
androidfirebasefirebase-realtime-databaseandroid-keystore

Firebase database doesnt work after publishing app to play store


I have a problem. I've coded app in android studio. After publishing app to play store, firebase database doesn't work at all. I added SHA1 key to firebase console project settings, what can be wrong?

Firebase console screenshot

Any help appreciated.

I took SHA1 key from here:

SHA1 key screenshot


Solution

  • I found solution, it's very weird though. The variables in class where i stored all the data enter image description here were not private. After i add private modifier to all variables problem was solved enter image description here