Copy link to clipboard
Copied
2 | I'm using the Milkman EasyPush ANE for push notification in my iOS and Android apps. Together with the OneSignal backend. All is fine with iOS 9 and Android, but no iOS 10 devices register. I'm building with AnimateCC (same as Flash CC Pro) and Air SDK 23. If I debug on a iOS 10 device and listen for the onRegFailed Event, I get:
As mentioned, there is no problem on iOS 9. When I uploaded the IPA to the App Store, I got the following message:
But why is it working on iOS 9 then, and not on iOS 10? Thank you for your help |
Copy link to clipboard
Copied
Hi Nicolaskostja,
Have you added below entitlements in your app.xml :
<Entitlements>
<![CDATA[
<key>aps-environment</key>
<string>development</string>
]]>
</Entitlements>
Please try using above entitlements after </InfoAdditions> tag in you app.xml file. And also go through below link:
Using push notifications in AIR iOS apps | Adobe Developer Connection
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
Yes, this is my Entitlement. I'm using the "production" string. And without this, I don't think it would work on iOS 9?
<InfoAdditions><![CDATA[
<key>MinimumOSVersion</key>
<string>7.0</string>
<key>UIDeviceFamily</key>
<array><string>1</string></array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key><true/>
</dict>
<key>application-identifier</key>
<string>SWXA5H99MY.com.winterlife.boscogurin</string>
<key>aps-environment</key>
<string>production</string>
<key>keychain-access-groups</key>
<array>
<string>SWXA5H99MY.com.winterlife.boscogurin</string> </array>
]]></InfoAdditions>