Push notification regID timeout

Push notification regID timeout

BY 11 Oct 2013 Web Application Development

I created a sample php script to test the sending of push notifications to a tizen web app and I am able to successfully send notifications to a tizen (2.2) test device.  The test script uses hardcoded values for every part of the notification (e.g. regID, appID, etc), however, I have noticed on several occassions that I start getting 3008 (“error of not registered regID”) errors.  So here is the chain of events:

1) Run (unchanged) php script to send notification
2) Notification sent/received succesfully
3) Run (unchanged) php script to send notification
4) Notification sent/received succesfully
5) Run (unchanged) php script to send notification
6) Get 3008 error.

As soon as I get that error once, any further attempts to send the notification fail w/a 3008 error until I uninstall and reinstall the app.  As soon as I reinstall, even though it creates the exact same regID, the push notifications start working again.  At least temporarily until they randomly stop again.

Any ideas?

Written by