Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
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

Description

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?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions