Make sure you have added correct SHA1 fingerprint in your Firebase console.
To get the fingerprints:
cd android ./gradlew singingReport
Look for fingerprints for app from the list.