iOS App Rejection because of Push Notifications

Hi,
we use the Exp SDK 32 and dont need any push notifications.
When submitting our app to Apple, we receive following Error, and are therefor not able to submit our app.

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 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 https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1."

What can we do to successfully submit our Expo App to Apple?

Hey @theforeignoffice,

I believe this may be a result of Expo Managed projects having Push Notification capabilities bundled in regardless of whether you intend to use them or not. The best course of action would be to upload a Push Notif Key during the build step so that you can pass through Apple’s review even if you have no intention of using the notif service. You can read about this here: https://docs.expo.io/versions/v32.0.0/distribution/building-standalone-apps/#switch-to-push-notification-key-on-ios

Cheers,
Adam

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