Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
When creating a new Cordova app using the CLI, it adds code to AppDelegate.m for Push Notifications. This causes Apple to issue a warning when you submit the app, if your provisioning profile doesn't have Push Notifications enabled:
Missing Push Notification Entitlement - Your app appears to include API used 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. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
Attachments
Issue Links
- depends upon
-
CB-8254 Swift support: Cordova build only uses xcconfig with --device flag (please also enable without)
- Closed
- is broken by
-
CB-6340 Adding rebroadcast capabilities to remote notification registration
- Closed
- is duplicated by
-
CB-8505 Missing Push Notification Entitlement when submitting IOS app to AppStore
- Closed
- relates to
-
CB-8473 Remove AppDelegate code from template
- Closed