Background:
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: [expo-cli] verify an App ID has Push Notifications service enabled prior to scheduling a build · Issue #608 · expo/expo-cli · GitHub
- 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.
EDIT:
Figured it out! build:ios -c is what we needed, --clear-credentials did not do the job.
EDIT2:
-c and --clear-credentials are the same thing, see comment below