Max One
Max One

Reputation: 83

[iOS][push notification] not receiving notification

My situation is my app does not receive push notification after this process:

  1. quit app, app is in background
  2. open too many other apps so that my app is killed in background, or just use double tap home button to simulate that
  3. enter airplane mode, simulating the user being in elevator or smth like that
  4. quit airplane mode, phone reconnect to internet
  5. 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 = =

Upvotes: 1

Views: 698

Answers (1)

thorb65
thorb65

Reputation: 2716

I don't know if its only for quite notifications but since iOS 8 or 7 you can enable background mode for push notifications. Did you enable that in -> your project -> Capabilities -> Background Modes ?

Upvotes: 1

Related Questions