Im trying to implement push notifications in my app.
I read about it in google developers and followed the instructions, which are basically 1:1 to the source code they provide (Sorry I cant post anything here - new user restrictions)
So I run this app on my phone and it registers successfully and I have no troubles receiving messages, either when minimized or closed (pressed back to close main activity)
but if I decided to reboot my phone no new messages will arrive.
more than that, when I do open my app after a while, any messages sent since the reboot wont arrive at all (which is what gcm server suppose to handle for me)
Do anyone has an idea how to solve this matter?
I read about it in google developers and followed the instructions, which are basically 1:1 to the source code they provide (Sorry I cant post anything here - new user restrictions)
So I run this app on my phone and it registers successfully and I have no troubles receiving messages, either when minimized or closed (pressed back to close main activity)
but if I decided to reboot my phone no new messages will arrive.
more than that, when I do open my app after a while, any messages sent since the reboot wont arrive at all (which is what gcm server suppose to handle for me)
Do anyone has an idea how to solve this matter?