android - Is it possible, that the canonical id from GCM is like the registration id of the client? -


i using google cloud messaging (gcm). sending push notification @ server, got canonical id. possible, canonical id (sometimes) same current (or new) registration id of client (getting in android googlecloudmessaging.getinstance.register)?

you should call googlecloudmessaging.getinstance.register 1 time, after version code changed (update happened) or application restored after backup. cannonical_id signal server, not client. got same regid, because googlecloudmessaging put in cache, don't call regid many times. , when got cannonical_id gcm should sure replace old regid new one.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -