• This repository has been archived on 04/Sep/2020
  • Stars
    star
    1,941
  • Rank 23,875 (Top 0.5 %)
  • Language
    Java
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Register and receive push notifications

DEPRECATED

This project is not under active development. Folks who are users of this plugin should switch to using cordova-plugin-push which is a fork of this project.

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

More Repositories

1

phonegap-start

PhoneGap Hello World app
JavaScript
3,427
star
2

phonegap-app-developer

PhoneGap Developer App
JavaScript
1,999
star
3

phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
Objective-C++
1,271
star
4

phonegap-app-desktop

PhoneGap Desktop App
JavaScript
841
star
5

phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
JavaScript
492
star
6

phonegap-plugin-contentsync

Download and cache remotely hosted content
C
206
star
7

phonegap-plugin-fast-canvas

Fast, 2D, mostly-HTML5-canvas-compatible rendering surface for Android.
C
195
star
8

phonegap-mobile-accessibility

PhoneGap plugin to expose mobile accessibility APIs.
JavaScript
145
star
9

phonegap-docs

PhoneGap Documentation
Pug
121
star
10

build

This is the public repository for PhoneGap Build source and bug tracking
92
star
11

phonegap-community

PhoneGap Community Release Notes
81
star
12

phonegap-template-react-hot-loader

PhoneGap Template using React, ES2015, Webpack, and hot module reloading
JavaScript
79
star
13

phonegap-template-hello-world

PhoneGap Hello World app
JavaScript
72
star
14

node-phonegap-build-api

Node.js REST Client for the PhoneGap Build API
JavaScript
62
star
15

connect-phonegap

Stream a PhoneGap app to any device.
JavaScript
61
star
16

phonegap-app-star-track

The PhoneGap media example app
CSS
54
star
17

phonegap-plugin-pwa

A plugin to provide progressive web app API's
45
star
18

phonegap-template-framework7

A starter template for creating a hybrid app with Framework7.
CSS
43
star
19

phonegap-app-anyconference

AnyConference example app
JavaScript
41
star
20

phonegap-2-style-3

PhoneGap 3.0 project that includes all of the plugins by default
JavaScript
39
star
21

phonegap-plugin-local-notification

An implementation of the Web Notifications API for end-user notifications.
Objective-C
38
star
22

phonegap-webview-ios

Native iOS + PhoneGap Template
Ruby
36
star
23

phonegap-plugin-media-stream

JavaScript
34
star
24

phonegap-template-vue-f7-blank

A blank PhoneGap template using Vue.js and Framework7
JavaScript
32
star
25

phonegap-template-vue-f7-tabs

A TabBar PhoneGap template using Vue.js and Framework7
JavaScript
31
star
26

phonegap-symbian.wrt

Symbian WRT implementation of the PhoneGap API
JavaScript
28
star
27

emulate.phonegap.com

Ripple emulation for PhoneGap's JavaScript environment
JavaScript
28
star
28

node-phonegap-build

PhoneGap Build node module to login, create, and build apps.
JavaScript
25
star
29

phonegap-sample-hybrid-ios

A sample application showing a hybrid application with both native and webview components and communication.
Objective-C
24
star
30

phonegap-sample-hybrid-android

Java
22
star
31

phonegap-app-fast-canvas

Example game using phonegap-fast-canvas-plugin
JavaScript
20
star
32

phonegap.github.io

Main pages for phonegap.com hosted on GitHub pages.
JavaScript
20
star
33

phonegap-plugin-multiview

Spawn multiple cordova enabled webviews in one app
JavaScript
18
star
34

phonegap-template-vue-f7-split-panel

A Split View PhoneGap template using Vue.js and Framework7 that degrades to a Panel View on smaller devices
JavaScript
16
star
35

phonegap-plugin-media-recorder

Objective-C
14
star
36

phonegap-plugin-image-capture

JavaScript
11
star
37

build-bot-model

PhoneGap Build Bot 3D model
11
star
38

phonegap-plugin-template

This repo is a template for starting a new plugin.
JavaScript
10
star
39

phonegap-template-push

A sample application for getting started with push notifications
JavaScript
8
star
40

app

The app showcase found at http://phonegap.github.io/app
HTML
7
star
41

app.phonegap.com

Micro-site for the PhoneGap Developer App and PhoneGap Desktop app.
JavaScript
7
star
42

phonegap-app-anyconference-pgday

AnyConference app for PhoneGap Day
JavaScript
7
star
43

phonegap-app-augmented-reality

CSS
6
star
44

phonegap-template-vue-f7-todos-pwa

A Todo's app template with PWA support using Vue.js and Framework7
JavaScript
6
star
45

adobe-creative-sdk-foundation

OBSOLETE - see README
4
star
46

phonegap-roadmap

Upcoming milestones and projects for PhoneGap
4
star
47

native-plugin-sync-demo

Demo of native-plugin-sync
CSS
4
star
48

phonegap-template-blank

A blank PhoneGap app.
HTML
3
star
49

book

http://phonegap.com/book/
HTML
3
star
50

workshop-plugins

Workshop / lab content covering end to end plugin development
3
star
51

phonegap-plugin-multidex

Enable multidex in a Apache Cordova/PhoneGap application
3
star
52

tool

A collection of 3rd party tools for PhoneGap development.
HTML
3
star
53

cordova-android

DO NOT DELETE - contains the thread-safe bridge code
Java
3
star
54

phonegap-app-stockpile

n. - A storage pile accumulated for future use
JavaScript
3
star
55

phonegap-day

The website for PhoneGap Day
JavaScript
2
star
56

phonegap-app-todo

JavaScript
2
star
57

linting-and-editorconfig

Reference repo for eslint (and other linters) as well as editorconfig settings and info
JavaScript
1
star
58

topcoat-preact

React components implementing Topcoat components
JavaScript
1
star
59

phonegap-template-webvr

PhoneGap template for the WebVR Boilerplate at https://github.com/borismus/webvr-boilerplate
JavaScript
1
star
60

dotfiles

A repo to collect the dot files we use consistently in our other repositories
1
star
61

phonegap-plugin-developer-mode

Utility functions for the Phonegap Developer app
JavaScript
1
star