4

Flutter Firebase Database not working on release after publish in Google play and Firebase Auth working fine . I have added the SHA from Google play console to firebase console

I have no problems when running on debug mode

3 Answers3

1

by modify firebase rules works fine to me

thanks Kashif Ali Bhatti for the answer in command above.

1

Copy and paste the SHA1 signature key generated by the google console after publishing your app. Follow these steps:

  1. Go to play console
  2. Scroll down to the Configuration setting
  3. Copy the sha1 or sha256 signature
  4. open firebase your console
  5. go to project settings and select the android app.
  6. paste the sha signature.

Hope it works for you.

enter image description here

M E S A B O
  • 783
  • 1
  • 11
  • 15
0

When you publish your apk to the PlayStore, you get assigned with a singing certificate SHA1. That you have to add to your firebase console.

Get SHA Certificate from playstore and add it to the firebase console

enter image description here

Anand
  • 4,355
  • 2
  • 35
  • 45