I have a question regarding iOS notifications. I have been using the alert quite successfully, however when using silent I run into issues. The message is sent, meaning I receive success result, but when debugging the app I receive no action. However when using application PUSH Hero just for test doing the silent notification works and I receive the action expected.
I assume I have mistake in the json format but I have just copied and paste the one from their doc, I have tried several different versions
{
    "aps": {
      "content-available": "1"
    },
    "acme1": "bar",
    "acme2": 42
}
I have added the push type as that's what I selected in the push hero application, but still no help
{
  "ApnsHeaders": {
    "apns-push-type": "background",
    "aps": {
      "content-available": "1"
    }
  }
Does anyone have any idea? BTW I have
<key>UIBackgroundModes</key>
    <array>
        <string>remote-notification</string>
    </array>