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.
Notifications without the notification field in the payload should be parsed normally, because we are sending data instead.
Actual Behaviour with app in FOREGROUND
The on('notification') event handler is not called when a silent notification is received. Only when adding content_available = true to the payload, the notification will be handled.
Please update the README to reflect this information because it barely says anything about FCM notifications. Notice that the GCM service is to be shutdown on April 2019.
The text was updated successfully, but these errors were encountered:
Expected Behaviour
Notifications without the
notification
field in the payload should be parsed normally, because we are sendingdata
instead.Actual Behaviour with app in FOREGROUND
The
on('notification')
event handler is not called when a silent notification is received. Only when adding content_available = true to the payload, the notification will be handled.Reproduce Scenario (including but not limited to)
iOS with FCM
Steps to Reproduce
Send this payload and it will be ignored:
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Cordova CLI version and cordova platform version
Plugin version
Sample Push Data Payload (that works)
This notification will be handled properly.
Suggested Solution
Please update the README to reflect this information because it barely says anything about FCM notifications. Notice that the GCM service is to be shutdown on April 2019.
The text was updated successfully, but these errors were encountered: