can't push remote notification on standalone iOS app.

My Application needs a feature that receives remote notification from our server. It’s work fine on expo and simulation, but on standalone iOS, it shows me the error like this


I already enabled Push notification on provision cert and build app with push notification cert.

Hi! How are you installing the app onto your device?

Thank you for your response , I’m install this app via a test flight where the ‘NOTIFICATION’ permission is return status as ‘undetermined’, so I tried to getDeviceToken and it returned the error like I just posted on the question.

it seem to be the push notification on capabilities section is not enable ( normally in native project I set it up in Xcode ) , how can I enable it on expo ?

when I submit app to test flight apple send the warning mail to me

Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature’s entitlements do not include the “aps-environment” entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the “aps-environment” entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor’s Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see

I resolved this problem with rebuild the standalone apps, and let the expo handle cert for push and provision for me.

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