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
I fixed the issue by adding the SHA-1 from playstore to the firebase project
Add the signing details(SHA-1 or SHA-256) received from Playstore to the project on firebase.