Ukitakemalcom / gcm

Automatically exported from code.google.com/p/gcm
Apache License 2.0
0 stars 0 forks source link

GCM not Registered Issue #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Steps-
1. Install a GCM client app on android device.
2. App should register device with GCM and send registration ID to your server.
3. Server sends push via GCM server, it works for few days/months.
4. After some hours, GCM server started returning "NotRegistered".
5. Though app is still installed on that device. 

What is the expected output? What do you see instead?
Hi ,

I have been facing this issue for almost 25% of total user base of an 
enterprise application. I have handled all possible scenario such OS Update , 
App version update in application for fetching new registeration ID's but still 
i am facing this issue. In my case what happens for certain specific users GCM 
works fine for first one -two hours after first installation but after that 
server starts getting NotRegistered Error while the app is still installed in 
user's mobile devices. Due to this persistent issue and no solution i am forced 
to implement polling mechanism using alarm manager in app which consumes a lot 
of battery and bandwidth.

As asked by Following are couple of registration ID's and time frame :

1. 
APA91bEYHuVylWQLHaiWF8eR_XELBkYhE3uyGZ-2mzHMFESGe3dZLrXXm_e54RgbMm7Fb8NG2uZbSenN
pzi3XjuN3wkz9Zbafzs0QtUBLprECwJGrtM1bEjuz4k1EYdRTGnd_os3G5Y65aia8Kfk6BbbkNNiX4Si
bZ-lalXI2blWZHJG_8LiUp0  

Time Frame issue being faced : Everyday since  2014-10-13 12:45:13 (IST) till 
current date.

2. 
APA91bHJc_8bib0iaSn78fbj3lEMbn3pGmaIXgcec8az-b88mYlXBS_AGTTzel7J4GW_Zy6wACcO94gc
vDGP8_xE37jpzsVbG3Xjh-p4HcxDUMoG5iZlatqqKyxWCoGDXVAPsdElIzi8JSYjM910kwT86IlQAYvE
gDRLrMLxKkRf9onD5Ym5zeE

Time Frame issue being faced : Everyday since 2014-08-08 12:50:04 (IST) till 
current date.

3.APA91bF9pf4vkETFxMhQTHpbSiyHWoekcRCgtLoOPP0OEaPVA2SM_F7h_1LpcNsz0wVFZG88z0oqxt
2FpA-RTQl6P-Pi5AyWAgJhbG0Sa5Wen3JjWjCixbRZ6bGdiHwhv98IfXiOaHn2qZyB8IFWMymB7RF6pT
oJzjSiuyUvM8vilqhN6Os6hiM

Time Frame issue being faced : Everyday since 2014-08-29 17:10:09  (IST) till 
current date.

Let us know if you need more registration ID for analysis....

What version of the product are you using? On what operating system?
Android 4.0 and above

Please provide any additional information below.

Original issue reported on code.google.com by srg1...@gmail.com on 21 Nov 2014 at 7:22

GoogleCodeExporter commented 9 years ago
Hello, iam also facing the same problem but on an Android 4.4.2 device. 
Surprisingly everything works well on a 4.1.1 device, but the 4.4.2 does not 
even receive the messages and after a couple of hours it says NotRegistered.

Original comment by atmata...@gmail.com on 20 Feb 2015 at 1:43