Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Problems with Push notifications on iOS Production - status UNKNOWN #204

Open
davideserafini opened this issue May 1, 2017 · 2 comments

Comments

@davideserafini
Copy link

App id: a8d50e2b

Notifications on Android app and iOS app installed with Xcode are working fine, but not on iOS installed with TestFlight.

I've already tried:

  • use the production profile to send notifications (as TestFlight requires this)
  • create a new security profile with new certificates

but I still receive "UNKNOWN" as reply.

Reply of POST /push/notifications

{
    "created": "2017-05-01T16:08:50.813614+00:00",
    "config": {
        "notification": {
            "message": "Questa è una notifica di test da POSTMAN",
            "title": "Notifica di test"
        },
        "profile": "prod",
        "tokens": [
            "81ffb59a9f8466a7b8564523c5bdf4390df570bc7296354913457d4d5366de60"
        ]
    },
    "uuid": "25047aef-9c24-49d5-bd9f-4112c3e51d9e",
    "app_id": "a8d50e2b",
    "status": "locked",
    "state": "enqueued"
}

Reply of GET /push/notifications/:notification id:/messages

{
  "data": [
    {
      "uuid": "93ae8913-dbcb-4915-9bbb-c9242ebf111c",
      "user_id": null,
      "notification": "25047aef-9c24-49d5-bd9f-4112c3e51d9e",
      "created": "2017-05-01T16:08:50.867027+00:00",
      "status": "error",
      "token": {
        "valid": true,
        "id": "3b72e19721b9e764899d94c588d593ea",
        "type": "ios",
        "invalidated": null,
        "token": "81ffb59a9f8466a7b8564523c5bdf4390df570bc7296354913457d4d5366de60",
        "app_id": "a8d50e2b",
        "created": "2017-05-01T16:01:16.099624+00:00"
      },
      "error": "UNKNOWN"
    }
  ],
  "meta": {
    "version": "2.0.0-beta.0",
    "request_id": "7422956b-458c-45c6-c558-353ecd8cb0f6",
    "status": 200
  }
}

What could be wrong? Thanks in advance

@organismen
Copy link

I'm having the exact same issue, it works fine with dev profile but get unknown error for TestFlight install

I'm puzzled at the moment...

@organismen
Copy link

duplicate of #120 where I also found a solution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants