Pergunta

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!

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top