I tried the solution, but failed. Here is what I did.
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)
run “cordova build ios”
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):
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.