Nickersoft / push-fcm-plugin

Official Firebase Cloud Messaging plugin for Push.js v1.0 :fire:
https://pushjs.org
42 stars 13 forks source link

Bad example #11

Open mzvarik opened 6 years ago

mzvarik commented 6 years ago

{ "notification": { "title": "Notification Title", "body": "Notification Body", "click_action" : "http://example.com" }, "to" : "<INSTANCE_ID_TOKEN>" } This will never trigger on "push" event in the service worker if your app is in background. See this: https://github.com/firebase/quickstart-js/issues/71