Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- messaging.setBackgroundMessageHandler(function(payload) {
- console.log('Received background message', payload);
- });
- {
- "data":
- {
- "foo": "1",
- "bar": "2"
- },
- "to" : "device_registration_id",
- "content_available": false
- }
- return new Promise(function(resolve, reject) { });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement