Like the title says I’m having trouble getting push notifications to work on iOS. The code we have works on android and it works on iOS locally, however, when we push to testflight and test the app on a physical device there are no notifications.
Things I have tried:
- build app with expo build:ios --clear-credentials to clear out certificates
- everything listed here: https://github.com/expo/expo-cli/issues/608#issuecomment-499770856
- attempted push notifications on different networks in case a firewall was blocking the request
- The notifications are triggered from a web-app using firebase cloud functions, I have tried using curl, expo push notification tool, and postman. Nothing works, push receipt is returning an OK.
I’m out of ideas, any help would be appreciated.
Figured it out! build:ios -c is what we needed, --clear-credentials did not do the job.
-c and --clear-credentials are the same thing, see comment below