Open cayman1066 opened 5 years ago
Hi @cayman1066, this also happen with me. I tried "click_action":"FCM_PLUGIN_ACTIVITY"
and solve the problem.
Hi @ptsilva , where this code will write: "click_action":"FCM_PLUGIN_ACTIVITY" my problems was? wasTapped: false (always )
hello guys, i have same issue. i added the click action. this has helped in sending the message till FCMPlugin.java file where it is able to identified data.tapped action. but still onNotification(data) js callback is not getting called.
i need to perform action on the data recieved in notification data. any help will be appriciated. Thanks
Problem I am getting notifications in the system's notification tray, but the onNotification callback is never being called when the app is in the background or killed. The app opens when I click on the notification, but the onNotification callback never gets called. It works perfectly when the app is in the foreground.
What I've tried
"click_action":"FCM_PLUGIN_ACTIVITY"
to my message when I am sending to an Android device (https://github.com/fechanique/cordova-plugin-fcm/issues/502). This worked to solve another problem I was having where onlywasTapped: false
was in the payload.I'm at a loss for what steps to take next. Any suggestions?
Build