pvt-phonegap-plugin-push
TypeScript icon, indicating that this package has built-in type declarations

2.3.7 • Public • Published

phonegap-plugin-push Build Status

Register and receive push notifications

Warning

The links below take you to the version 2.x documentation which includes a number of breaking API changes from version 1.x, mostly the move from GCM to FCM. If you are using version 1.x please reference the docs in the v1.x branch.

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.

Starting with version 2.0.0, this plugin will support CocoaPods installation of the Firebase Cloud Messaging library. More details are available in the Installation documentation.

Do you like tutorial? You get tutorial!

Thanks to all our contributors

10koTVollywaptaxiviktormullerdevgeeksrastafan

mdoelkermarkeeftbmalwattemadebycmkelvinhokkkeab42

jomarocasgiuseppeltericbeKazimclementcontetyaswanthsvist

Vabs28TillaTheHun0tomasvargtobmasterThiagoBuenoszh

SharUpOffsmorstabilinifesorGreyDekartsebastiansierolastor

tanansatpalSandroGrzicicxorxorrubenstolkroel-sluperpataar

peteonrailspjalbuquerqueNitroGhostmatrosov-nikitaMikejo5000michellarcari

adamschachnealhardingalbertleaogotevAlex-Sesslerben-8409

bmwertmanbmattocountcainCookieCooksoncdornercolene

cfsnydercmalarddansumptiondannywillemsDrMoriartyeladmoshe

mlabarcabromeostasisfilmajgeo242gbenvenutipolyn0m

jacquesdevjanpiojakaripurplecabbagetheaccordancejonas-m-

Chuckytuhleonardobazicoloslislo-lshiftluka5mac89markokeeffe

mbektchievgoyaslorberdasergesmdvdsnryanluker

russellbeattierjmunrohanickermwbrooksLightZamlaagland

cuatlgianpajEdMcBanechriswigginsbarryvdharmno

archananaikjakub-gshazronsclement41hung-doanBBosman

giordanocardillomikepsinnAdriVanHoudtalexislg2jcesarmobilenadyaA

jdhiroedewitwildabeastmkuklisashconnellzwacky

rakatyaljtbdevelopmentEddyVerbruggenfredgalvaobobeastmacdonst

larrybahr

Package Sidebar

Install

npm i pvt-phonegap-plugin-push

Weekly Downloads

2

Version

2.3.7

License

MIT

Unpacked Size

531 kB

Total Files

51

Last publish

Collaborators

  • privaterepo