0

In my application google integration sign in and signup working in the debug version, whereas in signed APK it's not working. Whenever I log in to the RELEASED apk through google sign in or signup it shows a firebase error like this,

E/Firebase-Installations: Firebase Installations can not communicate with Firebase server APIs due to invalid configuration. Please update your Firebase initialization process and set valid Firebase options (API key, Project ID, Application ID) when initializing Firebase. " "message": "Requests from this Android client application com.package.com are blocked.", "status": "PERMISSION_DENIED"

Sniffer
  • 1,495
  • 2
  • 14
  • 30
sam dev
  • 21
  • 4
  • It's most likely because of [this](https://stackoverflow.com/questions/51360250/firebase-ui-authentication-with-google-fails-with-message-code10-message10/51360406). – Alex Mamo Sep 23 '20 at 12:16

1 Answers1

0

Removing and connecting your app from Firebase will do the job. Remove the current apk, delete the google services.json file from the project, connect to Firebase again and also input your release keystore's SHA1 key into the Firebase console (Project Settings).

Hope it works out!

s_o_m_m_y_e_e
  • 406
  • 4
  • 9