Rectangle 27 0

android Firebase Cloud Messaging works only after first start of the app?


Have you followed the Firebase FCM properly? The FCM token is triggered when FCM token is not created yet in users phone. If existed, the push notification will not be a problem if the app is not open. You can called onTokenRefresh() to init the FCM token.

Note