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
1 answer

Error at cordova.js while receiving a push notification - phonegap-plugin-push , ionic

I use "https://github.com/phonegap/phonegap-plugin-push" plugin to implement push notification in my ionic app. When "notification" event is called this error occurs in "/android_asset/www/cordova.js" file. [INFO:CONSOLE(312)] "Error in Success…
SNT93
  • 431
  • 1
  • 6
  • 19
0
votes
1 answer

IONIC Serve : Runtime Error platform.toLowerCase is not a function

I am using push notification in ionic 2 app with below code import { Push, PushToken } from '@ionic/cloud-angular'; @Component({...}) export MyPage { constructor(public platform: Platform, public menu: MenuController, public push:…
0
votes
2 answers

ionic serve - Runtime Error : Push plugin not found (IONIC 2)

I am using push notification in ionic 2 app with below code. import { Push, PushToken } from '@ionic/cloud-angular'; @Component({...}) export MyPage { constructor(public platform: Platform, public menu: MenuController, public push:…
0
votes
1 answer

Cordova PushNotification in iOS is not getting registered

I saw many solutions. But none of them helped me. My code //push notification initialization and registration. if (!$window.PushNotification) { return; } var push = $window.PushNotification.init({ android: { senderID: "xxxx" …
bvakiti
  • 3,243
  • 4
  • 17
  • 26
0
votes
1 answer

Will Phonegap or Cordova apps receive push notifications when app not opened?

I have serious doubt. If Phonegap(or Cordova) apps won't run in background how can I get the GCM/FCM push notifications when my app is not in use or not opened ? Is there any way to solve this problem ? What is Chrome push notifications, can I use…
0
votes
1 answer

how to install phonegap "push plugin" in ionic project(android)?

I am new to ionic framework, I am working on push notification in my android ionic project using phone gap push plugin referring the following documentation phonegap push plugin link But I am unable to find how it gets worked. I need to send…
Sukumar MS
  • 748
  • 1
  • 11
  • 42
0
votes
1 answer

Sometimes some android users are not getting push notification through GCM

When we try to send push notifications to android users using GCM, some users are not getting the push notification but when we troubleshoot the message id, it is showing Acknowledged from the Client app to GCM but not showing on their Notification…
0
votes
1 answer

Phonegap/Android - Notification's sound and vibration does not play during a phone call

On an Android device, during a phone call, the notification sound does not play nor the vibration to let the user know about it. Expected Behavior Play the notification sound and the vibration pattern even if the user is having a phone…
Hamza L.
  • 1,783
  • 4
  • 25
  • 47
0
votes
0 answers

phoneGap ios build with push what cert?

I have a short and perhaps easy-to-answer question. I am done with my IOS app that contains push notifications. What certificate should I build the distribution app with (export to .p12 and use)? Right now I have two.. one called: "iOS…
0
votes
0 answers

Phonegap Push Notifications, sound but no notification

I´m currently experiencing a problem with the push notification plug-in that i´m using on my app, and i really don´t don´t what am i doing wrong, so i was hopping someone could point me on the right direction. Here is what i am doing: It´s an app…
0
votes
1 answer

Phonegap plugin push registers device but doesn't receive notifications

So i've been struggling making push plugin (https://github.com/phonegap/phonegap-plugin-push) work on iOS for a while (I don't know anything about iOS development). It seems to register the device correctly, but when i send notifications via…
0
votes
1 answer

Ionic2 Push notification with background processing

I am using ionic.io to send push to my app. I have following body {"tokens":["DeviceToken"], "profile":"Profile", "notification":{ "payload": { "type": "loadCategories" }, "ios": { "content_available": 1 }, "android": { …
Vova Bilyachat
  • 18,765
  • 4
  • 55
  • 80
0
votes
1 answer

GCM registrationId is not received on phonegap push plugin

Couple days ago I had an issue with getting APNS token instead of GCM token while using phonegap push plugin. Well, I changed setup, I've put senderID in [ios] block, recompiled the app. Now I dont get ANY regustrationId at all on Iphone. It still…
Denis Matafonov
  • 2,684
  • 23
  • 30
0
votes
1 answer

Phonegap push notification plugin with iOs

I'm using phonegap-plugin-push to send push notifications to Android devices. I'm trying to figure out how to send notification to iOs. I've registered at…
0
votes
2 answers

iOS PushPlugin Cordova issue in registration

I am working Cordova iOS Platform. I need to add Push Notification in my Project. Steps: I have created a project in Google console and created a Project-ID. Created a APNS PushNotification Production Certificate from Apple Developer. Below…