google-cloud-messaging

push notifications not received by everyone

橙三吉。 提交于 2019-12-23 04:47:40
问题 I am using GCM service to send push notification to all the users. But the problem I came across as soon as I updated the app from 1.3 to 1.4 is that our Notifications are not reaching the users that updated the app but are only reaching the users that installed the app for the first time. https://medium.com/@murki/gcm-push-notifications-registration-done-right-7aba759d1d55 Going by the above article I confirmed that we need to re register the GCM as soon as the app is updated. So following

How to track GCM Problems?

柔情痞子 提交于 2019-12-23 04:45:14
问题 I have a problem I`m just not getting any GCM Messages. I dont want Pop Ups or sounds playing, it doesnt even fire the onReceive() Method in the Broadcast Reciever, which is, to my understanding, the first point the Application handles a message. My biggest problem is I dont get any error messages or Hints. When I send a message, I get the message ID, a multicast ID and a "success=1" message. I also get a "Device registrated on any device and a Reg ID, a "already registered" running the app a

GCM server side implementation for java

回眸只為那壹抹淺笑 提交于 2019-12-23 04:18:24
问题 I need to implement a standalone application for the server side of gcm to push notifications to the device. Is there any reference i could get other than the one on the Getting started page.People say something about xmpp. Do we need to use this or can we directly use the gcm server side methods.Help.Or is there any other easy way to implement this.I hope i put my question properly. 回答1: Here is nice tutorial for GCM server side implementation for java. URL: java gcm server side

Cordova PushPlugin onNotification ecb not fired

五迷三道 提交于 2019-12-23 03:12:24
问题 myApp.services.factory('GCMHelper', ($q)-> pushNotification = {} _init = ()-> defer = $q.defer() ionic.Platform.ready(()-> pushNotification = window.plugins.pushNotification; window.onNotification = (res)-> console.log('onNotification', res) defer.resolve() ) return defer.promise return { register: ()-> _init().then(()-> pushNotification.register( (res)-> console.log('gcm register success', res) (err)-> console.log('gcm register err', err) { "senderID": "*********", "ecb": "onNotification" }

Android :Tap on Push Notification does not open Application

 ̄綄美尐妖づ 提交于 2019-12-23 02:59:13
问题 I have an android app which requires some notifications from my web-server to my android phone . Earlier I used to receive notifications and on tapping the notification , my application used to open . However without anything being changed now , I receive all notifications but I cannot tap on them to open my application anymore . I have tried checking the code and the manifest for permissions , but dosen't seem to know the problem . Here are some of the required code files : AndroidManifest

GCM messages are not received on android 2.3.6 v but working fine on android 4.X v

南楼画角 提交于 2019-12-23 02:49:15
问题 My GCM client is able to register on all versions but messages are received on android above 4.x versions, not on android 2.3.6 . I have made many changes but I cannot figure this problem out please help me, thanks in advance. manifest file code <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.democlientapp" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion=

android - Firebase Notification Push Notification not working

烈酒焚心 提交于 2019-12-23 02:39:26
问题 UPDATE Unfortunately, I didn't solve this issue and what I did is create a new project. Fortunately my new project works. One thing I noticed from my newly created project, when I am sending notification messages, some messages didn't arrive to my device. So I think its my Internet connection problem (my idea only). I am trying to implement basic receiving of Push Notifications using Firebase. I based this tutorial: https://www.codementor.io/android/tutorial/send-push-notifications-to-android

GCM CCS Receive delivery receipt

狂风中的少年 提交于 2019-12-23 02:26:32
问题 I'm trying to write a 3rd party server .NET application for sending notifications to Android devices using GCM's CCS as outlined here. And I want to use Receive delivery receipts feature. I created a simple console app using agsXMPP library. My application sends message to GCM with the flag "delivery_receipt_requested": true and receives ACK message from the GCM server, and I see this message is delivered to the target device, but delivery receipt message doesn't come. Update: I can receive

Confused about Google GCM XMPP [closed]

风格不统一 提交于 2019-12-23 02:18:57
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I'm a little bit confused about how to implement XMPP communication to GCM. Should I implement a XMPP server or a XMPP client on my server? Thank you. 回答1: You should implement a XMPP client on your server, which will establish a connection to the GCM CCS server. As mentioned in a

Android GCM not working after Lollipop update on device

☆樱花仙子☆ 提交于 2019-12-23 01:45:11
问题 I implemented GCM for push notifications like stated in the Android Guide (https://developer.android.com/google/gcm/client.html) in one of my apps. The app and notifications are working fine on Kitkat and Lollipop. But lastly I became some mails from users that upgraded their phones from to Lollipop. With that the notifications will not be displayed anymore. Only solution so far is to remove the app and reinstall it from the appstore. Did someone face a similar problem and if so, did you find