Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Notification callback for pushes without a message #80

Closed
iggyfisk opened this issue Aug 27, 2015 · 3 comments
Closed

Notification callback for pushes without a message #80

iggyfisk opened this issue Aug 27, 2015 · 3 comments
Labels

Comments

@iggyfisk
Copy link

My service relies on a few push notifications without a message but with a payload, which means they'll be invisible when the app is in background mode but can be used in foreground mode to trigger a server refresh etc. This worked perfectly in the deprecated PushPlugin, but now I'm foiled by
else if (result && typeof result.message !== 'undefined')
in push.js. Any chance we could check for additionalData / trigger some other event instead for "empty" notifications?

@macdonst macdonst added the bug label Aug 27, 2015
@macdonst
Copy link
Member

@iggyfisk kk, I'll get a 1.2.1 out as soon as I can to fix the problem. It's actually a pretty trivial change.

@macdonst
Copy link
Member

@iggyfisk fixed in master, 1.2.1 should be out soon.

@lock
Copy link

lock bot commented Jun 5, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants