Push Notifications not working on iOS (SDK 36.0.0)

Please provide the following:

  1. SDK Version: 36.0.0
  2. Platforms(Android/iOS/web/all): iOS

Used the expo credentials manager to remove the certs/keys from both of my Expo apps.

Deleted all Distribution Certificates
Deleted all Profiles
Deleted all Keys

expo credentials:manager

Built the app

expo build:ios -c

? How would you like to upload your credentials?
:heavy_check_mark: Expo handles all credentials, you can still provide overrides

? Will you provide your own Apple Distribution Certificate?
:heavy_check_mark: Let Expo handle the process

? Will you provide your own Apple Push Notifications service key?
:heavy_check_mark: Let Expo handle the process

We’re going to generate:

  • Apple Distribution Certificate
  • Apple Push Notifications service key
  • Apple Provisioning Profile
    :heavy_check_mark: Generated Apple Distribution Certificate
    :heavy_check_mark: Generated Apple Push Notifications service key
    :heavy_check_mark: Generated Apple Provisioning Profile

Successfully built standalone app

I export “in-house” developed iOS app as an enterprise application.

I have tested the following on device.

get a token [OK]
sending message with Push notifications tool [FAIL]
sending message with Curl [FAIL]

https://exp.host/--/api/v2/push/send

{
  data: {
    status: "ok",
    id: "007e7a08-bdf2-4037-9ae5-3e1fcf7f80a0"
  }
}

But work fine on Android [OK]

Can you help me solve?

https://exp.host/--/api/v2/push/getReceipts


{"data":{"007e7a08-bdf2-4037-9ae5-3e1fcf7f80a0":{"status":"error","message":"The Apple Push Notification service failed to send the notification (reason: TopicDisallowed, status code: 400). Read Apple's docs about \"Communicating with APNs\" to learn what this error means.","details":{"apns":{"reason":"TopicDisallowed","statusCode":400},"sentAt":1581312984},"__debug":{}}}}

{“data”:{“f89f542c-8702-40d7-87b6-36278c64b46a”:{“status”:“error”,“message”:“The Apple Push Notification service failed to send the notification (reason: TopicDisallowed, status code: 400). Read Apple’s docs about "Communicating with APNs" to learn what this error means.”,“details”:{“apns”:{“reason”:“TopicDisallowed”,“statusCode”:400},“sentAt”:1581321107},“__debug”:{}}}}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.