cordova-plugin-firebase: (Android): Click on Notification is not opening the app

Android / Smartphone.

I can receive notifications, which display nicely in the notification area, but when I click on one, I would expect that the main app is launched. But it is not. Is there any particular reason for it?

I see that it should be supported: User taps the notification and the app opens

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Oh my… I just found my mistake after so much time lost…

I was using before this plugin cordova-plugin-fcm and I hardcoded in my REST client the payload… Now they advise there to use "click_action":"FCM_PLUGIN_ACTIVITY" and I just realized that actually, it filters out, somehow the activity… Removing this line solve the issue…

Sorry for all the trouble and thank you for the assistance