Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCM 'Error : Not Registered'

I succeed in testing My GCM code.

But exactly same code, I couldn't get GCM push and got:

GCM Error : Not Registered.

like image 451
LKM Avatar asked Nov 03 '14 16:11

LKM


People also ask

What is GCM registration?

A Registration ID is an identifier assigned by GCM to a single instance of a single application installed on an Android device. The device is assigned this identifier when it registers to Google Cloud Messaging.

How do I enable GCM?

Open your app's settings and select Intercom for Android. Then find the "Enable GCM" section.

What is GCM service on Android?

Google Cloud Messaging (GCM) is a service that allows you to send push notifications from your server to your users' Android devices, and also to receive messages from devices on the same connection.

Why is my message not registered in GCM?

The Not Registered happens when GCM thinks the device could not handle the message. This happens if the app is uninstalled or misconfigured to handle the message: Make sure you have <receiver> and <sender> are defined in <application> node in AndroidManifest.xml. Show activity on this post.

What does it mean when the message is not registered?

The Not Registered happens when GCM thinks the device could not handle the message. This happens if the app is uninstalled or misconfigured to handle the message: Make sure you have <receiver> and <sender> are defined in <application> node in AndroidManifest.xml.

How to fix class not registered error in Windows?

The "class not registered" error usually stems from faulty DLL (.dll) files. To resolve this issue, you’d need to re-register all the DLL files on your device. Here’s how you can easily re-register your PC’s DLL files:

What does it mean when the Internet client registration fails certificate revocation?

If it exists, it means that Internet client registration fails certificate revocation check over SSL after installation. Could we know if the environment is PKI, and on the side of client, have we configure client certificate correctly?


Video Answer


1 Answers

GCM response Not Registered means following "If it is NotRegistered, you should remove the registration ID from your server database because the application was uninstalled from the device or it does not have a broadcast receiver configured to receive com.google.android.c2dm.intent.RECEIVE intents." from documentation. Check in what case you get this error, when app is uninstalled from the device or you describe incorrect broadcast receiver in AndroidManifest. You can test your GCM functionality with my test GCM server. Hope, this helps you.

like image 56
Samik Avatar answered Sep 24 '22 06:09

Samik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!