I cannot get expo push token on app from TestFlight.
(I can get the token on Expo app.)
In app from TestFlight, return value from
Permissions.askAsync(Permissions.NOTIFICATIONS) after selecting “Allow” on popup is below.
I suspect that the cause is that “Push Notifications” are not included in “Enabled Services” of “iOS Provisioning Profiles”. (Checked it from https://developer.apple.com)
Do I need to add settings in app.json or else?
You should not need to make any modifications in your
app.json to have push notifs working. What SDK version is your TestFlight .ipa built with?
Thanks for replying.
I use SDK version 31.
I am having the same problem on IOS Standalone Build. I’m using SDK v31. The permission is correctly obtained on Expo app but on IOS Testflight build with SDK v31 it returns “undetermined”. Help please i tried to rebuilt several times but still the same. I also delete all the certificates from my Apple Developers Account and choose to let Expo handle those for me but still is not working. Thanks
Hello guys, I’m having the same problem. Please help us.
Hey @toiroakr. Your suspicion is right.
The error is related with => IOS push notification permission status undetermined
In our case our APP ID had the “Push Notifications Service” disabled, we enabled it, refresh the Provisioning Profile so it listed the Push Notification Service as enabled and generate a new build. Now the status of the permission is correct and it returns the correct Expo Token
Yes @perdida_peso , finally, this solved my issues, too. Here in details:
- I cleared and removed all Cert and Keys
- I made sure push notifications are in position “configurable” in APP ID
- I used expo-cli with (all)
- I choose
expo to handle all certs and keys
Now it works
expo sdk 32
Thanks a lot! I’ll try it.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.