onesignal-silent-cordova-plugin

2.3.1 • Public • Published

OneSignal Cordova Push Notification Plugin

npm version npm downloads

This is a plugin based on onesignal-cordova-plugin. Please visit their repository for help with everything except the unique functionality I provide.

This plugin allows you to send background notifications on Android. To accomplish this, you must add "content_available": true to the data object on your notification. If the app is open when this notification is received, handleNotificationReceived will be called with the argument being a JSON object j such that j['payload']['additionalData'] is the data object you sent. No visible notification will be shown as long as the notification has no title or content.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.3.1
    1
    • latest

Version History

Package Sidebar

Install

npm i onesignal-silent-cordova-plugin

Weekly Downloads

1

Version

2.3.1

License

MIT

Unpacked Size

553 kB

Total Files

15

Last publish

Collaborators

  • tntech.csc.team4.2018