Copy link to clipboard
Copied
Hi,
compiling with AIR 27.0.0.124.
There seems to be nothing in our manifest mentioning push notification, but app gets rejected with the following reason:
Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement.
Here is relevant part of iOS manifest (sensitive data removed):
<iPhone>
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<InfoAdditions><![CDATA[
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleBlackOpaque</string>
<key>UIRequiresPersistentWiFi</key>
<string>NO</string>
<key>FacebookAppID</key>
<string>000</string>
<key>FacebookDisplayName</key>
<string>xxx</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb000</string>
<string>air.xxx</string>
</array>
</dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>
<string>My description about why I need this feature in my app</string>
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
Any suggestion?
Thanks
It happens when the certificate does contain Apple's push notification service.
Include this in entitlements:
<key>aps-environment</key>
<string>production</string>
or
<key>aps-environment</key>
<string>development</string>
depending on the type of certificate (for app store publishing it's "production" obviously)
Copy link to clipboard
Copied
It happens when the certificate does contain Apple's push notification service.
Include this in entitlements:
<key>aps-environment</key>
<string>production</string>
or
<key>aps-environment</key>
<string>development</string>
depending on the type of certificate (for app store publishing it's "production" obviously)
Copy link to clipboard
Copied
Cheers. Submitted again, Fingers crossed.
Copy link to clipboard
Copied
I have these same issue. But at the moment is just this issue:
Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to register with the Apple Pus....
Will it be rejected if I send it to submission?
Copy link to clipboard
Copied
Apparently it wasn't a rejection but just a warning. I am not in charge of submissions so I am reporting what I have been told. Once I have precise information I'll post it here.
Anyway I added the entitlement.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It was just a warning, though adding correct entitlement there shouldn't be a warning next time.
I couldn't check since App was approved
A huge app, complex multiplayer game with a lot of external assets, shared code with Desktop and Android, approved at first submission.
Pretty proud
Copy link to clipboard
Copied
Except your push notifications probably didn't work. RIGHT?