Missing Push Notification Entitlement

@SubEffect @Nours312 @camaleo @jlinoff

I tried the solution, but failed. Here is what I did.

  1. add
    #define DISABLE_PUSH_NOTIFICATIONS true
    at the top of AppDeligate.m. (I also searched DISABLE_PUSH_NOTIFICATIONS in the file, and was sure that the 2 functions that contains CDVRemoteNotification are conditionally ruled out. In fact I also tried the steps below after I removed the 2 function manually)
  2. run “cordova build ios”
  3. archive the production app in xcode, and make a delivery to app store

I also tried to archive cordovaLib before step 3.
But The App Store team still tell me “Missing Push Notification Entitlement”.

I have no idea now.
BTW, I am using these plugins with ngCordova (but I think they do not include API used to register with the Apple Push Notification service):

I tried the hook, but failed.

please try :

  1. build
    ionic build ios instead of cordova build ios
    confirm parameters into ./ionic.project

  2. Hook valid
    open AppDelegate.m, find you #define DISABLE_PUSH_NOTIFICATIONS true

  3. xCode conf
    project > capabilities : verify configuration and disable push notifications

  4. App IDs configuration on developper.apple website :
    Verify configuration and disable push notifications

Yes, all confrimed

  1. #define DISABLE_PUSH_NOTIFICATIONS true shows at the top of AppDelegate.m,
    which means the hook works and the parameters in ionic.project are correct.
  2. in xcode, the capabilities (iCloud, game center, etc.) are all off.
  3. the push notification service is not enabled in my Provisioning Portal

But it still says “Missing Push Notification Entitlement”. :cry:

BTW, I am using cordova 5.3.1

The email is pretty vague and can be taken multiple ways plus being a new developer you may not have known about the wait time for Apple Store app reviews. See AppReviewTimes.

To Clarify: Its just a warning and you can ignore it if you don’t use push notifications.

Don’t try to fix what ain’t broke. Plus all the solutions I could find didn’t work.

Same issue here. Used PhoneGap Build service. Using PhoneGap 3.7, instead of Cordova CLI 5.* option.

My app does not use notifications, but I am not comfortable simply ignoring the warning. Apple process is opaque and I don’t want to all of a sudden find my app was rejected.

Solutions around modified .m file are not an option for someone who does not have OSX machine and relies on PhoneGap Build.

Solutions around cordova hooks look more promising but do not work for enough people for me to discard this option. Can’t depend on something that unreliable.

I think there is an architectural issue somewhere, and the fix should be done by cordova, not us.

Running out of option, I am rethinkning my app, finding justifiable use for push notifications.

I found this on stack overflow and it works perfectly.

Just search for ‘preprocessor’ in the build settings portion of your project, then add in

DISABLE_PUSH_NOTIFICATIONS=1 

as a preprocessor macro.

Direct Link: http://stackoverflow.com/questions/26168713/cordova-app-that-doesnt-use-push-notifications-missing-push-notification-enti/31800088#31800088

I have the same issue and iTunsconnect send me Email like the asker

my plugin list

com.telerik.plugins.nativepagetransitions 0.5.6 "Native Page Transitions"
cordova-plugin-crosswalk-webview 1.4.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.0 "Device"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-file-opener2 2.0.2 "File Opener2"
cordova-plugin-file-transfer 1.4.0 "File Transfer"
cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin"
cordova-plugin-inappbrowser 1.1.1 "InAppBrowser"
cordova-plugin-media 1.0.1 "Media"
cordova-plugin-network-information 1.1.0 "Network Information"
cordova-plugin-splashscreen 3.0.0 "Splashscreen"
cordova-plugin-statusbar 2.0.0 "StatusBar"
cordova-plugin-whitelist 1.2.0 "Whitelist"
cordova-plugin-x-socialsharing 5.0.8-dev "SocialSharing"
cordova-plugin-x-toast 2.3.1 "Toast"
ionic-plugin-deploy 0.4.1 "IonicDeploy"
ionic-plugin-keyboard 1.0.8 “Keyboard”

are there any problem with this plugin ???