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

Phonegap-plugin-push notification

I'm currently using ionic to develop an app with firebase push notification feature .I want the app to receive notification and store the notification data locally(without tapping notification) to be shown on the app. Thanks to Phonegap-Plugin-Push,…
0
votes
1 answer

How to monitor FCM token refresh with phonegap push plugin

As it is stated here https://firebase.google.com/docs/cloud-messaging/js/first-message#monitor-token-refresh FCM tokens can be refreshed in some cases but I don't see anything that deals with it in phonegap push plugin documentation. Does someone…
0
votes
1 answer

FCM (Bug) - Send a notification to multiple topics without using the OR operator.

Apparently, After having an issue with the (OR ||) operator, As the notification was received when i used the (AND &&) operator and it wasnt when i used (OR ||). Google confirmed that the OR operator is not working currently in FCM condition field…
0
votes
2 answers

Local notification in Phonegap/Cordova

I am trying to use local notification on Phonegap. I use phonegap-plugin-local-notification 1.0.1 "phonegap-plugin-local-notification" and following code to test it (on device ready state): if ("Notification" in window) { …
0
votes
1 answer

ionic 2 app not opening on click push notification when app is in background

I have a problem that if a user opens the app and then press the home button or switching to another apps, and when the push notification arrives, and the user clicked on that notification, my app doesn't open. I am using this plugin in ionic ->…
Codeblooded Saiyan
  • 1,457
  • 4
  • 28
  • 54
0
votes
2 answers

how to change android package name on phonegap build website

i am trying to upload my apk on google play store but i am seeing this error: You need to use a different package name because com.phonegap.www is used by a pre-installed application. To upload a pre-installed application, please contact Google Play…
0
votes
3 answers

Ionic 3 App is not redirecting to specific page on notification click

phonegap-plugin-push Ionic Framework: 3.6.0 Ionic App Scripts: 2.1.4 Angular Core: 4.1.3 Angular Compiler CLI: 4.1.3 Node: 6.11.1 OS Platform: Windows 10 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64;…
0
votes
0 answers

Google FCM on phonegap and localhost

Is it possible for FCM to work properly if the application is still under development using phonegap / cordova? Not yet in playstore Do not have a domain yet Only on localhost If so, why do I always get the "MismatchSenderId" alert when I try to…
0
votes
1 answer

File google-services.json is missing. where to find this file ? PHONEGAP

NOTE !! before declare it as duplicate : i have found so many similar questions on stackoverflow , but the majority of askers seems to know where to find the file , i don't . they mention gradle and such things which i know nothing about ! My…
0
votes
1 answer

Edit cordova/phonegap push notification in ionic 2 app

I'm using cordova phonegap-plugin-push and Amazon Web Services SNS to receive push notifications in my ionic 2 app. Here is the plug-in…
ediaz
  • 1
  • 5
0
votes
1 answer

Phonegap-Pushplugin: Handling click event on notification in iOS

Expected behavior: Trigger an event after clicking on the notification. Actual behavior: pushObject.on('notification').subscribe((notification: any) => { is getting triggered as soon as the notification arrives when the app is in the foreground. …
Vasanth
  • 560
  • 1
  • 5
  • 25
0
votes
2 answers

unable to integrate phonegap-plugin-push

Below is my code for index.html in www folder , Sender id has been changed as needed from console.firebase.google.com . But Still not receiving any notification when i tried connecting and running app through phonegap desktop app . Sorry but this…
phpdev
  • 89
  • 2
  • 10
0
votes
0 answers

PhoneGap Build cli-6.5.0 - phonegap-plugin-push - Device Ready error : typeerror: object function PushNotification(options)

The app is throwing a error when I try to initialize the PushNotification. Index.html