DEV Community


Posted on

Problem generating FCM token in apk release

I have a quick question if you can help me please:
My react project is a simple Web view with integration of FCM notifications, and for that I have to send the token device by injection of javascript when calling the webview.

  • When I am locally, and I run run-android everything is fine, I receive my token
  • When I create my apk in release mode and I open and run it in Android Studio => everything is fine, I receive the token
  • but if I install the same apk on my phone, I don't get the token, it is still empty. Anyone have an idea please? Thank you

Top comments (0)