Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 2.61 KB

README.md

File metadata and controls

39 lines (25 loc) · 2.61 KB

Cordova Plugin Push

This is a copy of https://github.com/havesource/cordova-plugin-push? We modified it to provide iOS 14 support with cordova. It also fixes the problem of the Obsolete googlemaps SDK for 03 years.

Contribution

My Email: [email protected]. Our development conditions are not always better here in Africa. also, Your sponsorship will be of great use to us. PayPal Link: https://paypal.me/Borientmk?country.x=LS&locale.x=fr_XC

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!

Quick install

cordova plugin add github:kenfouo/cordova-plugin-push --save