GCM-DMM : broadcast intent callback: result=CANCELLED
See original GitHub issueI can receive FCM Remote push notification when I boot my phone and actually open the app. I receive the notifications if the app is in the foreground or background as expected. However, I expect to also receive the push notifications if the user has not yet opened the app. I do not receive these notifications, in other words, when the app is killed or has not yet been opened.
In my logcat I see the following error:
GCM-DMM : broadcast intent callback: result=CANCELLED forIntent
{ act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.lisdo (has extras) }
After googling I came across this question.
It suggests, that in the AndroidManifest.xml something is missing to register these FCM events, but I thought the steps in the READ.ME would cover this scenario.
Any ideas??
I am running on an actual android device for testing (Xiaomi Mi Mix) and I do receive remote PN from other apps (WhatsApp, etc.).
"react-native": "^0.47.1",
"react-native-fcm": "^13.3.3",
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (3 by maintainers)
Top GitHub Comments
try this
seems right to me. also try to reproduce in android emulator