Questions tagged [phonegap-pushplugin]

[DO NOT USE THIS TAG - Use phonegap-plugin-push instead] This plugin is for use with Cordova, and allows your application to receive push notifications on Android, iOS and WP8 devices.

Description:

[DEPRECATED] Use phonegap-plugin-push instead.

This plugin is for use with Cordova, and allows your application to receive push notifications on both Android and iOS devices. The Android implementation uses Google's GCM (Google Cloud Messaging) service, whereas the iOS version is based on Apple APNS Notifications. Support for Windows Phone 8 was added recently.

Installation:

Repository:

GitHub: Cordova Push Notifications Plugin for Android, iOS and WP8

313 questions
2
votes
1 answer

PhoneGap push plugin not registering on ioS

I am using the following plugin https://github.com/phonegap/phonegap-plugin-push with my phonegap application. Am not getting anything on the ioS version on the registration event. On Android it works 100%. I request assistance to see if I am…
alphacoder
  • 21
  • 3
2
votes
1 answer

GCM PHP : Field "data" must be a JSON array

I do know there are several posts here which talks about my issue but none works for me.Its either incomplete solution mentioned or left as is. My query: I am getting Field "data" must be a JSON array: [{"sound":1,"vibrate":1,"message":"Push…
2
votes
1 answer

Ionic Push works with ionic serve but not Ionic View

Summary: I followed Push from Scratch and can successfully send a one-time push from my dashboard and receive it in my desktop browser via ionic serve, but when I switch the device token to my iOS device running Ionic View, I don't receive the…
2
votes
1 answer

XCode clang error no such file or directory with Push Plugin (Cordova project)

I am developing a cordova project. A project which is intended to run cross platform: Android, Windows phone, iOS. I using this pushplugin to implement push notifications: the push plugin is intended to communicate between the device and the…
2
votes
0 answers

Sending image in push notification to Android phones using phonegap plugin

{ "GCM": "{ \"data\": {\"message\":\"test image\",\"image\":\"http://www.cespage.com/design/graphics/redstar.gif\",\"title\":\" Shopping!!!\"} }" } This is the data that I post from AWS SNS console, and the app has this plugin…
2
votes
2 answers

push notification doesn't show up on status bar

i'm using phonegap with phonegap-plugin-push , and i tried the example that comes with the plugin , i tested it on my phone ( Galaxy s4 , Android 5.0.1 ) , when i send notification while application is on i got vibration and the message is showing…
2
votes
0 answers

Android Push event handler is not called if app is running in foreground

I am using https://github.com/phonegap/phonegap-plugin-push/ for push notification. pushRegistry = window.PushNotification.init({ android: { 'senderID': 'appId' }, ios: { alert: 'true', badge:…
2
votes
1 answer

phonegap-plugin-push not working with iOS 9

I am using the new plugin "phonegap-plugin-push" which override the old PushPlugin for push notification with cordova Apps. The notifications are working perfectly on both android and iOS 8 but when I use iOS 9 it registered successfully and return…
2
votes
2 answers

Android 5 Asus ZenFone 2 blocking push notifications when app close

I have been testing my app on an Android 5 ZenFone 2. This phone contains a piece of Asus software called autostart manager. Some detrimental scenarios for my cordova app: After app is installed autostart manager automatically denies it autostart.…
2
votes
1 answer

phonegap push plugin does not throw registration event on iOS

I'm using the phonegap-plugin-push for my ionic app to register and receive notifications. It works perfectly on Android but the registration event is not thrown on iOS. The problem is i can see that the device is being registered for push…
2
votes
1 answer

Phonegap push notifications get device ID

I am using Phonegap 5.0 and phonegap-plugin-push trying to make push notifications work. my js code so far is this: document.addEventListener("deviceready", function () { var push = PushNotification.init({ "android": {"senderID":…
gotha
  • 489
  • 1
  • 5
  • 20
2
votes
0 answers

Blackberry not receiving push notifications

I am trying to receive push notifications to our blackberry devices running software version 10.2.x I am able to post to the blackberry push eval service and receive the status code code="1001" desc="The request has been accepted for processing."…
2
votes
3 answers

Google Cloud Messaging for Cordova Clarification

I am implementing Google Cloud Messaging service in my cordova app. so far everything is working well. I however have some few issues bothering I wish someone can clarify them for me. 1) At this section of the code where I get the device GCM regID…
2
votes
0 answers

How to get the custom payload from pyapns using phonegap push plugin?

we are using PYAPNS to send push notifications from an Django application to iOS devices running an phonegap application. The server code looks like this: def sendNotificationAPNS(title, message, targets, eventid): apns = APNs(use_sandbox=False,…
2
votes
1 answer

How can PhoneGap/Ionic process push notifications from Parse?

I can successfully push notifications to an app, and they show up on my Androids notifications, but I can't get the payload into the app. I've found this plugin: PushPlugin, but I can't seem to get it to work with Parse, since it asks for a GCM ID,…