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
0
votes
0 answers

Registration iOS device in APN with Phonegap

I'm trying to register an iOS device (iPhone 6s) in APN for send push notifications. I'm using PhoneGap for develop and Adobe PhoneGap for compile the code and get the .ipa. I'm using phonegap-plugin-push. When I use the init function I never…
0
votes
0 answers

Run onNotification code before Controller

I am building an ionic cordova app, The app is making use of Ionic Push notifications, The problem i am facing is that i want to run the code inside "onNotification" which is present in the app.js file before the execution of the controller.js…
0
votes
1 answer

Ionic iOS build failing with phonegap-plugin-push

I have added the following package info in my package.json under cordovaPlugins array as the plugin documentation says. { "variables": { "SENDER_ID": "XXXXXXX" }, "locator": "phonegap-plugin-push" } However, the iOS build is failing and…
Vishal Sharma
  • 2,550
  • 1
  • 23
  • 40
0
votes
1 answer

phonegap-push-plugin register event not called (ios)

My question is similar to this: Register event not getting called on ios #386 Everything works fine on my android device, but on ios it seems to be that the registration part will be skipped (I get no error or something): Code: var push =…
randomGuy
  • 63
  • 1
  • 10
0
votes
1 answer

Implement Pushnotification using Phonegap-push-plugin

I have installed Phonegap-push-plugin in my app and i see that two files are added to my project.PushPlugin.h and Appdelegate+notification.h Is i need to add delegate for pushnotification in my Appdelegate.h file? How to use this new plugin for…
cinvin
  • 13
  • 4
0
votes
1 answer

phonegap-plugin-push turn off vibration on notification

Is there a way to disable the vibration via push notification payload when notification displayed? This is my sample payload. $payload = array ( 'title' => 'Title', 'message' => 'Message', …
0
votes
2 answers

Not receiving push notification on closed app

I'm trying to develop a mobile web app with phonegap build and implementing push notifications through amazon SNS. I'm currently testing on android and i managed to make the notifications work while the app is in background or in foreground but if i…
0
votes
1 answer

Update tags in Azure Mobile Services from Cordova App

I am developing an App that is to run on iOS and Android using the cordova framework. The underlying system exposes a particular functionality to users, that to subscribe and unsubscribe from a list of some 20 categories. Everytime the user does a…
0
votes
1 answer

phonegap-plugin-push: ServicePackager package did not load

I just added phonegap-plugin-push to my barebones phonegap app. When I build and run the application I receive the error message that the ServicePackager package did not load correctly. It throws an error when calling the following: …
Mike
  • 136
  • 13
0
votes
1 answer

Problems with cordova remote build from visual studio to ios seems to be because of the phonegap push plugin

First of all, I am developing a Cordova app for Android and iOS, primarily. I was using the deprecated version of the Phone gap push plugin: https://github.com/phonegap-build/PushPlugin Now I am using the new…
0
votes
0 answers

Does GCM need to register everytime an app is opened?

When my app registers with the push plugin, it disconnects firebase. From that moment on it gets stuck in a loop of turning on when app is paused and off when app is resumed, so data is only ever loaded when app is not active. The only solution I…
Marty.H
  • 1,194
  • 4
  • 16
  • 29
0
votes
1 answer

Receiving push notifications using phonegap build

I am trying for days now to get a basic application with push notification running. I am using PhoneGap Build (Desktop App) and am testing on a Android Device. I tried various tutorials but they never seem to work. Running the following code just…
0
votes
0 answers

Android Rpush Notification doesnt get called when app is in background after set content_available

So this is my code to get my notification event to be fired when the app is in background on the client side but it doesnt work. n = Rpush::Gcm::Notification.new n.app = Rpush::Gcm::App.find_by_name("partners") n.registration_ids =…
0
votes
0 answers

How do you get location from background running javascript?

I have cordova javascript running in the background, triggered by phonegap pushPlugin background message processing (https://github.com/phonegap/phonegap-plugin-push/). Calling navigator.geolocation.getCurrentPosition doesn't return the callback…
Uri
  • 25,622
  • 10
  • 45
  • 72
0
votes
0 answers

Ionic Push one-time push notifications stopped working even though code didn't change

Yesterday, after following the directions on docs.ionic.io/docs/push-from-scratch, I successfully sent many one-time push notifications from the Ionic.io dashboard. I then wanted to test target push notifications, which requires using the Ionic…
stewartm
  • 179
  • 1
  • 2
  • 10