For Android GCM service, how to delete device token without username?

0 votes
The case is like this:

User first registered with gcm through our app,

Then user A directly uninstalled the app, so there is no change for the app the call the api to delete the device token from the server, and if user B reinstalled the app, he will see messages send to Both A and B  because the devices id is on app42 server for both uesrs.

 

Any idea how to solve it ?

Thanks
asked Oct 3, 2014 in App42 Cloud API-BaaS by Bob Anoop (19 points)
recategorized Feb 13, 2015 by sushil

1 Answer

0 votes

You can delete/unsubscribe user device by calling this method http://api.shephertz.com/app42-docs/push-notification-service/?sdk=unity#delete-device-token however there is no method to unsubscribe user using deviceId only.

This looks a valid use case though. We will put this in our future release.

answered Oct 3, 2014 by ajay123 (899 points)
Thanks,
Please add this feature soon.
Hello Bob,

Thanks for your valuable feedback.We are already working on it and it will be available by the end of this month.

Thanks for having patience.



Let us know if you have more question for us.

Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...