You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
I'm using node-gcm which recently added Notifications format, but my cordova app is not recieving this kind of messages. However the data format is working fine.
Question: Is Notifications format supported by phonegap-plugin-push? Is it system level thing? Or phonegap plugin has to support this?
@mauron85 currently the plugin only supports receiving notifications via the data message format but I just pushed a fix so it should be working fine in the 1.2.1 release.
GCM has two options how payload should look like - data and notifications https://developers.google.com/cloud-messaging/concept-options#notifications_and_data_messages
Data messages format
Notifications format
I'm using node-gcm which recently added Notifications format, but my cordova app is not recieving this kind of messages. However the data format is working fine.
Question: Is Notifications format supported by phonegap-plugin-push? Is it system level thing? Or phonegap plugin has to support this?
Related question in node-gcm project:
ToothlessGear/node-gcm#150
The text was updated successfully, but these errors were encountered: