Search code examples
androidpush-notificationamazon-sns

Amazon SNS duplicates push notification


I'm sending SNS push through the AWS interface, and the following message sends me two pushes, of which only the second push is extensible and show me more than one line of text.

 {
    "GCM": "{ \"notification\": { \"body\": \"test message test test test message
     test test test message test test test message test test test message test   
     testtest message test test\" } }"
}

Can anyone help me, please?


Solution

  • Solution: The app developers said that it was not prepared to receive pushes in format "notification", and that both duplicate messages as the number of lines had to do with it. They will solve the problem of lines by adjusting the app.