Reputation: 524
I have implemented the GCM push notification mobile service for my application. However currently when i push the notifications, it is pushed to all the devices. However i need to push the notification based on the timings in that countries. e.g. 9 AM for each country. Is there any simple way to implement it? Is it possible to get the location related information from the GCM registration id? I feel that GCM server does maintain the information specific to the country. Please correct if i am wrong.
Upvotes: 0
Views: 345
Reputation: 393966
You can't get location information from the registration ID. What you could do is send location information from your application to your server along with the registration ID. This way, each registration ID will be associated with a location.
Upvotes: 1