Add the appropriate “Tag” based on what Expo library you have a question on.
I’m having issues sending push notifications to my device in Testflight as I get “There was an unexpected error delivering the notification. Try again.”.
hi! there should be more error details if you inspect the ticket and receipt, which will give you a better indication of where to go next. Here are details on how to get the ticket and corresponding receipt
I have a feeling it might have to do with the token. I’m getting the same push token id when I reinstall the app. I wonder why I’m not getting a different token. I notice this happening on iOS.
I made a same build under a different app using the same APN expo key and Distribution cert. I was able to get a push notification.
I have two apps that has the same code base with its own bundle identifier. So I’ll have two provisioning profile using the same distribution cert and same APN expo key. One app work and the other doesnt under the same iOS device. Hope that answers your question.
It indeed seems to be linked to the token not changing on reinstall. I’ll try to change the experienceID the regenerate the Push Token and see if that works better.
I managed to get mine working now. My solution was to add another APN prod cert in the App ID configuration and run expo build:ios -c.
~Removing Provisioning Profile…Do you also want to revoke this Provisioning Profile on Apple Developer Portal? y
~Removing Distribution cert …Do you want to continue? n
~Removing Push Key… Do you want to continue? n
It will fetch the expo push key and distribution cert, and select let expo handle the provisioning profile.