I succeed in testing My GCM code.
But exactly same code, I couldn't get GCM push and got:
GCM Error : Not Registered.
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.
Open your app's settings and select Intercom for Android. Then find the "Enable GCM" section.
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.
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.
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.
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:
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With