My situation is my app does not receive push notification after this process:
- quit app, app is in background
- open too many other apps so that my app is killed in background, or just use double tap home button to simulate that
- enter airplane mode, simulating the user being in elevator or smth like that
- quit airplane mode, phone reconnect to internet
- send a push notification to my app, no push notification is received.
This is actually a very common case for me, especially when the user is using old phones with low memory and background apps are constantly killed.
I have tested with other apps(facebook, twitter, etc) and they all work but mine isn't, is there anything I'm missing?
Any help is appreciated. Sorry for my bad grammar.
** update: sorry I made a mistake, I forgot to mention step 4 = =