phonegap-pushplugin

GCM registrationId is not received on phonegap push plugin

孤街醉人 提交于 2020-01-07 02:22:16
问题 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 works fine on Android. Can anyone tell me what can be a problem? Here is setup of plugin: var push = PushNotification.init({ android: { senderID: "8225....8910" }, ios: { senderID: "8225....8910", alert: "true", badge: "true", sound: "false" },

GCM registrationId is not received on phonegap push plugin

半世苍凉 提交于 2020-01-07 02:22:14
问题 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 works fine on Android. Can anyone tell me what can be a problem? Here is setup of plugin: var push = PushNotification.init({ android: { senderID: "8225....8910" }, ios: { senderID: "8225....8910", alert: "true", badge: "true", sound: "false" },

Parse.com push notifications not shown in background on android

落爺英雄遲暮 提交于 2020-01-02 10:25:20
问题 I'm using Parse.com with an Ionic app and the PushPlugin and trying to implement Parse's Push Notifications through GCM with a custom Sender ID. When I'm sending a message to all devices, or using the REST API with cURL, iOS notifications trigger fine when the app is in the background but android notifications are not. Here's what I tried with the rest API First for iOS, which is working well: curl -X POST \ -H "X-Parse-Application-Id: APP-ID" \ -H "X-Parse-REST-API-Key: API-KEY" \ -H

MFP application is crashing on tapping during PUSH notification when application is not running

╄→гoц情女王★ 提交于 2019-12-25 11:54:28
问题 I am experiencing application crash when tapping on push notification when application is not running (even in background). If application is running in background application crash does not occur. Worklight version is 7.1, iOS version is 8.1.3. For push notifications registration and receiving I am using Push plugin https://github.com/phonegap/phonegap-plugin-push merged with Worklight generated AppDelegate. If needed I can send my source code. From crash log I found that exception occurs in

MFP application is crashing on tapping during PUSH notification when application is not running

倖福魔咒の 提交于 2019-12-25 11:54:16
问题 I am experiencing application crash when tapping on push notification when application is not running (even in background). If application is running in background application crash does not occur. Worklight version is 7.1, iOS version is 8.1.3. For push notifications registration and receiving I am using Push plugin https://github.com/phonegap/phonegap-plugin-push merged with Worklight generated AppDelegate. If needed I can send my source code. From crash log I found that exception occurs in

Ionic Framework PushPlugin: onNotificationGMC is not fired and cannot obtain regID

徘徊边缘 提交于 2019-12-24 07:15:07
问题 I believe that this problem looks like this question: Cordova Push Plugin: onNotificationGMC is not fired and cannot obtain regID But I'm using Ionic Framework. I follow this tutorial in making PushProcessingService: http://intown.biz/2014/04/11/android-notifications/ //factory for processing push notifications. angular.module('starter.pusher', []) .factory('PushProcessingService', function(MyService) { function onDeviceReady() { console.info('NOTIFY Device is ready. Registering with GCM

How to handle multiple push notification of pushplugin

戏子无情 提交于 2019-12-24 05:31:11
问题 I'm using pushplugin in my cordova app for android. There is no problem for single message. While sending multiple message when app is minimized, I see only the last notification which replaces the previous notifications. I followed https://github.com/manjeshpv/PushPlugin/commit/cdd1f56ef7a6a2033a196546cd6b946dc17044ae https://github.com/manjeshpv/PushPlugin/commit/d073ed105aafb1f8793ea3c9a2b5b04e8293f507 None of these working for me. I'm also using notId in payload. In my php file: $message

Phonegap PushPlugin reset badge after opening app

孤者浪人 提交于 2019-12-24 02:35:10
问题 How can I prevent PushPlugin from reseting my badge count to 0 after entering the app from the background? 回答1: I just came across this problem as well. For some reason this is intended behaviour. It's because in the com.phonegap.plugins.PushPlugin, the badge get cleared to 0 when the app get active again. I ended up editing the plugin: In the file " AppDelegate+notification.m ", in the method: "- (void)applicationDidBecomeActive:(UIApplication *)application {" Change line ~90: //zero badge

Sending image in push notification to Android phones using phonegap plugin

折月煮酒 提交于 2019-12-24 01:39:12
问题 { "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 https://github.com/phonegap/phonegap-plugin-push We use ionic framework and the config.xml has this <feature name="http://api.phonegap.com/1.0/notification" /> <gap:plugin name="com.phonegap.plugins.pushplugin" version="2.5.0" /> I explored https://github.com/phonegap

Sending image in push notification to Android phones using phonegap plugin

梦想的初衷 提交于 2019-12-24 01:39:04
问题 { "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 https://github.com/phonegap/phonegap-plugin-push We use ionic framework and the config.xml has this <feature name="http://api.phonegap.com/1.0/notification" /> <gap:plugin name="com.phonegap.plugins.pushplugin" version="2.5.0" /> I explored https://github.com/phonegap