Skip to content

Cant receive notification sound on background state on IOS #4633

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

You must be logged in to vote

Hi there!
When troubleshooting cloud messages, you should always post the message from the command line using hand-crafted JSON so you have reproducible tests, and you should include the JSON here so we know what the client is receiving.
Also there is no mention of platform or versions or anything - this isn't a discussion, it's an issue, and it should have been filed as an issue with those details (as requested in our issue template so we can troubleshoot)

None of that was done, so this is only a guess but:

  • you're not posting a data-only message, so the SDK is handling the notification part of the payload internally and your handler is not triggered
  • your notification doesn't have the co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Sargnec
Comment options

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