Skip to content

Messaging: working on Android but not on iOS #4151

Answered by mikehardy
eliorivero asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! There are (were?) lots of open issues about this. I don't think you should do anything in the plist. I would revert all of that.

You may need to send content-available: 1 in your JSON.

Best practice for background messaging on iOS:

  • use a real device at all times, it does not work on the simulator
  • test the release version of your app if you can (there are timing issues involved, performance delay of debug bundle download/parse/execute may be important and be too slow or cause iOS to throttle the app and not deliver)
  • launch it from Xcode (you can watch the logs this way to see if your device is refusing to wake the app because of throttling or timeouts etc)
  • send the JSON from the…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@andersonaddo
Comment options

@eliorivero
Comment options

Answer selected by eliorivero
Comment options

You must be logged in to vote
4 replies
@Salakar
Comment options

@eliorivero
Comment options

@Stas-Buzunko
Comment options

@mikehardy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants