after following numbers tutorial on how to create push notifications, yesterday I created the apk with eclipse, I installed it on my device and notifications worked. Both the server and the client. This morning tried again and it gives me the error: "key expired"! I have uninstalled and reinstalled the app and it immediately worked. The app must establish a system to counteract this. Help me!

有帮助吗?

解决方案

We shouldn't do Register and Un-register every time you start or stop the application. You should use un-register in a rare situations.

Please read the link for more information.

Read this to know about sync in registration ID

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top