Socket
Socket
Sign inDemoInstall

@phemium-costaisa/cordova-plugin-push

Package Overview
Dependencies
242
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @phemium-costaisa/cordova-plugin-push

Register and receive push notifications.


Version published
Weekly downloads
403
increased by21.75%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Cordova Plugin Push

Node CI Codacy Badge

Register and receive push notifications

What is this?

This plugin offers support to receive and handle native push notifications with a single unified API.

This does not mean you will be able to send a single push message and have it arrive on devices running different operating systems. By default Android uses FCM and iOS uses APNS and their payloads are significantly different. Even if you are using FCM for both Android and iOS there are differences in the payload required for the plugin to work correctly. For Android always put your push payload in the data section of the push notification. For more information on why that is the case read Notification vs Data Payload. For iOS follow the regular FCM documentation.

This plugin does not provide a way to determine which platform you are running on. The best way to do that is use the device.platform property provided by cordova-plugin-device.

Do you like tutorial? You get tutorial!

Keywords

FAQs

Last updated on 17 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc