You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2022. It is now read-only.
We have recently received some news about devs receiving a warning like the following when submitting there apps to app store.
Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service.....
It seems like this is happening because of iOS 10 new requirement that the uploader tool can see the code being used in ANEs. For example, in your app, you may not be using the remote notification at all but the overrideAir ANE is using some listeners like application:didRegisterForRemoteNotificationsWithDeviceToken:. Although not being used by you, apple seems to need the Entitlement tag to be available in your manifest air .xml file anyway.
This problem is very similar to the other news that AIR devs have reported when using the permissionCheck ANE check out the ticket here.
Our investigation shows that developers in other multiform environments are also experiencing a very same problem. One example is this link: https://stackoverflow.com/a/45207458/247658
So, the current work-around is to add the required entitlements to your app. i.e, activate push notification in your apple console and also add the entitlement tag to your air .xml file. This way, the warning will be removed. The good thing is that when you activate the push notification and the entitlements tag, it does not mean that you really need to use them in your app! Your users will be alerted with the notification permission ONLY if you are using the FCM ANE and call FCM.init();.
We are keeping this issue open so devs can share their experience about this problem. The more information we would have on this, the easier we can find a solution for it.
The text was updated successfully, but these errors were encountered:
I get the same warning.
I`m using:
com.myflashlab.air.extensions.dependency.androidSupport -->
com.myflashlab.air.extensions.dependency.overrideAir
com.myflashlab.air.extensions.statusbar
We have recently received some news about devs receiving a warning like the following when submitting there apps to app store.
It seems like this is happening because of iOS 10 new requirement that the uploader tool can see the code being used in ANEs. For example, in your app, you may not be using the remote notification at all but the overrideAir ANE is using some listeners like
application:didRegisterForRemoteNotificationsWithDeviceToken:
. Although not being used by you, apple seems to need the Entitlement tag to be available in your manifest air .xml file anyway.This problem is very similar to the other news that AIR devs have reported when using the permissionCheck ANE check out the ticket here.
Our investigation shows that developers in other multiform environments are also experiencing a very same problem. One example is this link: https://stackoverflow.com/a/45207458/247658
So, the current work-around is to add the required entitlements to your app. i.e, activate push notification in your apple console and also add the entitlement tag to your air .xml file. This way, the warning will be removed. The good thing is that when you activate the push notification and the entitlements tag, it does not mean that you really need to use them in your app! Your users will be alerted with the notification permission ONLY if you are using the FCM ANE and call
FCM.init();
.We are keeping this issue open so devs can share their experience about this problem. The more information we would have on this, the easier we can find a solution for it.
The text was updated successfully, but these errors were encountered: