skip to Main Content

When I build app and install it via android studio, FCM token is generated but when I upload the same app to playstore, FCM is not generated or is null.

I’ve tried to add this -keep class com.google.firebase.** { *; } to proguard but still FCM is not being generated.

2

Answers


  1. Chosen as BEST ANSWER

    I fixed the issue by adding the SHA-1 from playstore to the firebase project


  2. Add the signing details(SHA-1 or SHA-256) received from Playstore to the project on firebase.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search