cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Dobrev (JIRA)" <>
Subject [jira] [Commented] (CB-8084) Push Notifications code included by default
Date Tue, 10 Feb 2015 16:01:15 GMT


Stefan Dobrev commented on CB-8084:

Actually it does not prevent an App Store upload - it just generates a warning on their side
and you got an email with the warning. We had a couple of customers complaining about this
on our side and it also looks like a common issue in PhoneGap Build (

[~shazron] You are right that the elegant solution with the swizzling code will be a breaking
change. What do you think about merging it like this in the next 3.X release and having it
done right in the 4.0 line?

> Push Notifications code included by default
> -------------------------------------------
>                 Key: CB-8084
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>            Reporter: Jacob Weber
> 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:
> {quote}
> 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.
> {quote}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message