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

Custom notification sound not working in iOS app using cordova

I want to customize background notification sound in my iOS application, i tried it by placing sound file in the below listed paths but not working. cordova version: 8.0.0 cordova platform version : Installed platforms: ios 4.5.5 Available…
1
vote
1 answer

ionic 2 push notification not received when app is closed or in background

When the app is open : Push notification is Okay When the app is in background : Push notification vibrate and sound but not showing on notification bar When the app is closed : notifications doesn't received Here is my push notification…
Codeblooded Saiyan
  • 1,457
  • 4
  • 28
  • 54
1
vote
0 answers

Phonegap Push Example Returning Bad Gateway

I'm trying to use the standard tutorial from the Phonegap tutorial here: http://docs.phonegap.com/tutorials/develop/push-notifications/ I've got to "Sending Your First Push", trying to send to my Android device. phonegap push --deviceID…
Wickey312
  • 566
  • 5
  • 15
1
vote
0 answers

phonegap-plugin-push variable missing SENDER_ID while building

I am developing an Android app using Phonegap v7.1.1. To implement push notifications I am using phonegap-plugin-push v2.1.2. I followed all the steps mentioned in readme of the plugin. However, while running phonegap build android in the command…
1
vote
1 answer

Unable to define push plugin action callback methods in ionic

Current behavior: I have used push plugin. When i try to define call back methods for push action the following error occured [ts] Argument of type '"accept"' is not assignable to parameter of type 'PushEvent'. [ts] Argument of type '"reject"' is…
1
vote
0 answers

No retrieved data from callback function in ios device using phonegap application

I am developing a phonegap application which uses essentially the webview concept based on inappbrowser and some other plugins.I try to extraxt some data from injecting code in the webview through executeScript function in a loadStop event.. the…
1
vote
1 answer

ionic 2 push notification not working when app is closed

I'm not receiving push notification when app is closed. But it works when app is in background/foreground. Here's part of my code inside app.component.ts initPushNotification() { // to initialize push notifications const options:…
1
vote
0 answers

Cannot find symbol after gradle modification. (PushPlugin and FCMService)

I'm using ionic and i'm having some trouble building my Android App. I was getting this error: Could not find com.android.support:support-v13:26.0.2. And it was fixed when i included the maven section on my gradle file enter image description…
1
vote
0 answers

Push notification click is not woking in ionic

I am new to ionic. I tried to integrate push notification in my project and it is working perfectly. I am getting notification from firebase for android and getting notification from APNS for iOS. But I tried to track notification click action when…
1
vote
2 answers

Why I get error when I upload zip file to phonegap service?

I try to create apk file using phonegap service. Here is my config.xml file in my project:
Michael
  • 13,950
  • 57
  • 145
  • 288
1
vote
1 answer

phonegap push notification works on android but not on ios

As the title says Push notification works fine on android but on IOS it does not. push.on(registration...) is never called. I have made sure that provisional profiles are valid for both development and distribution. I am using firebase for cloud…
1
vote
2 answers

AngularJS access $http on onNotification event PushNotification cordova plugin

I'm using the plugin https://github.com/phonegap-build/PushPlugin/ with Angular 1.3 and I need to send the regid to server when receive "registered" event. The problem is that I don't have $http object to call my server on this context. How can I…
1
vote
0 answers

Unable to get push notification using Pushsharp & Pushplugin

I am using pushplugin in my Cordova app - frontend. For backend, I am using webapi with Pushsharp notification. I am able to send message to Pushsharp but I am unable to get the notification. Please suggest. I am using Pushplugin to generate the…
1
vote
0 answers

$cordovaPushV5 onNotification not firing

I am trying to implement push notifications in Ionic V1 using $cordovaPushV5 but I am not able to get to work. I am able to get the device registration ID but when I test notifications using Firebase Cloud Messaging, it doesnt work. Below is app.js…
1
vote
1 answer

Phonegap Cordova file transfer with HTTPS protocol

I'm working with Phonegap 6.3.3. I have to download a file. If my endpoint is a HTTP connection the operation is ok, but if endpoint use a HTTPS (TLS 1.2) connection fileTransfer.download return error.code = 3 getDocumentFile : function(docId,…
Michel Foucault
  • 1,724
  • 3
  • 25
  • 48