Answer the question
In order to leave comments, you need to log in
How to open app and execute some method when notification is clicked (phonegap-plugin-push)?
I use the phonegap-plugin-push 2.2.3 plugin in the application in the project on cordova android 7.1.4. I send a request from the console without the notification parameter - only data - in it I pass the data that needs to be processed when clicked. the request is something like this:
http post https://fcm.googleapis.com/fcm/send Authorization:key=AAAASSxxxxxxxx <<<'{"to": "user-device-token", "priority": "high","data":{"title":"new message","count": 12, "url": "/channels/xxxxx"}}'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question