cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Geffner (JIRA)" <>
Subject [jira] [Created] (CB-9733) Empty cordova project shouldn't have DISABLE_PUSH_NOTIFICATIONS enabled by default
Date Thu, 01 Oct 2015 21:10:27 GMT
Diego Geffner created CB-9733:

             Summary: Empty cordova project shouldn't have DISABLE_PUSH_NOTIFICATIONS enabled
by default
                 Key: CB-9733
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 5.3.2
         Environment: Mac OS
            Reporter: Diego Geffner
            Priority: Minor

I was trying to validate and publish an empty Cordova application in the Apple AppStore and
I got this email from apple:

Dear developer,
We have discovered one or more issues with your recent delivery for "<My App Name>".
Your delivery was successful, but you may wish to correct the following issues in your next
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

The error is because DISABLE_PUSH_NOTIFICATIONS  is disabled by default, so an empty cordova
project has some code referencing push notifications, even if it's not being used. We should
fix that so the developers have a good UX while publishing apps.

One way we could do this, would be to enable DISABLE_PUSH_NOTIFICATIONS  by default, and then
add a hook to the  cordova plugins that add push notifications, so they'll go and disable
that preprocessor flag.

This message was sent by Atlassian JIRA

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

View raw message