PGB 3.5: Missing Push Notification Entitlement?

  • 24
  • Problem
  • Updated 4 years ago
  • Not a Problem
After changing our app (AppID 779114) from PG 3.4.0 to PG 3.5.0 we received the following warning from iTunesConnect:

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.

Our app does not contain any logic at all for push notifications.

After reverting back to PGB 3.4 and uploading that binary to itunesconnect no warning of that sort was given.

Any clues?

Henk Kelder
Photo of Henk Kelder

Henk Kelder

  • 46 Posts
  • 5 Reply Likes

Posted 6 years ago

  • 24
Photo of Jon Farhat

Jon Farhat

  • 38 Posts
  • 1 Reply Like
Same as you. I used these two preferences in concert, forcing 5.4.1 and the disable pref. Still, I got the warning.

preference name="phonegap-version" value="cli-5.4.1"

preference name="disable-push-notifications" value="1"

Pretty sad really. I'm used to Adobe offering us stellar support over the years, but since @goya's hit and run announcement to use this and it fixes it.... absolutely nothing. I don't get it. Maybe Adobe fired all the PGB people, because they certainly have gone radio silent, even on Github.

We've even given up on the issue with UDID and have had to resort to only using iTunes Connect's Testflight beta function for 'external testers' to distribute builds.

Again, no response on that either. PGB has pretty awful followthrough.
Photo of Anders Borg

Anders Borg

  • 329 Posts
  • 12 Reply Likes
An official statement from the team would be very appreciated.

I've never had problems with UDID. That's completely outside PhoneGap/Cordova/Build. Do you mean it works different from native iOS apps? I rely mostly on UDID for testing.
Photo of Anders Borg

Anders Borg

  • 329 Posts
  • 12 Reply Likes
If you are fluent in Objective C (I'm not), maybe you can find something interesting in the unpacked IPA.