Reputation: 87440
Google recently introduced Instance ID. This lib has come up because they now recommend using it to retrieve your registration token for Google Cloud Messaging.
On the server, we validate the tokens input. The Instance ID tokens are a different format from before - they have are a different length and have colons in them now.
I can't seem to find any place where the format of Instance IDs are defined, for validation purposes. Does anyone know where to find the format?
Upvotes: 3
Views: 896
Reputation: 199805
The Instance IDs are purposefully opaque. However, if you'd like to do server side verification (and also use features such as determining when the device was last online), you can use the Instance ID Server API
Upvotes: 4