Greetings!
I use the latest xcode and solar2d versions.
I did some changes in my build.settings for one of my apps.
The changes was for appodeal plugin and among other things I added the SKAdNetworkItems.
The build was rejected and I got this email:
We noticed that your app urges or manipulates users into granting consent to access the AppTrackingTransparency framework. Specifically, your app displays its own permission request prompt to the user before presenting the iOS permission request.
The permission request process on iOS is designed to give users control of their personal information. It is important to respect the userâs decisions about how they want their data used. If they decide to not grant permission to your app, they should not be prompted to change their mind or be forced to reject the request multiple times. You can provide users with additional information about why youâre requesting access to their data before the iOS permission request appears, as long as you donât include your own custom permission request.
Next Steps
To resolve this issue, please remove any permission requests in your app that appear before the iOS permission request.
My build.settings is:
settings =
{
orientation =
{
default = "portrait",
supported =
{
"portraitUpsideDown",
},
},
splashScreen =
{
enable = false
},
iphone =
{
xcassets = "Images.xcassets",
plist =
{
CFBundleDisplayName = "My App",
UILaunchStoryboardName = "LaunchScreen",
GADApplicationIdentifier = "ca-app-pub-xxxxxxxxxxxxxxxx~xxxxxxxxxxxxxxxx",
NSAppTransportSecurity = { NSAllowsArbitraryLoads = true },
UIRequiredDeviceCapabilities = {"location-services" },
NSBluetoothAlwaysUsageDescription = "This app would like to access bluetooth.",
--NSLocationAlwaysUsageDescription = "This app would like to use location services.",
NSLocationWhenInUseUsageDescription = "The app needs your location for analytics and advertising purposes",
NSCalendarsUsageDescription = "The app needs your calendar to provide personalised advertising experience tailored to you",
NSUserTrackingUsageDescription = "This identifier will be used to deliver personalized ads to you.",
SKAdNetworkItems = {
{ SKAdNetworkIdentifier = "4pfyvq9l8r.skadnetwork" },
{ SKAdNetworkIdentifier = "yclnxrl5pm.skadnetwork" },
{ SKAdNetworkIdentifier = "v72qych5uu.skadnetwork" },
{ SKAdNetworkIdentifier = "tl55sbb4fm.skadnetwork" },
{ SKAdNetworkIdentifier = "t38b2kh725.skadnetwork" },
{ SKAdNetworkIdentifier = "prcb7njmu6.skadnetwork" },
{ SKAdNetworkIdentifier = "ppxm28t8ap.skadnetwork" },
{ SKAdNetworkIdentifier = "mlmmfzh3r3.skadnetwork" },
{ SKAdNetworkIdentifier = "klf5c3l5u5.skadnetwork" },
{ SKAdNetworkIdentifier = "hs6bdukanm.skadnetwork" },
{ SKAdNetworkIdentifier = "c6k4g5qg8m.skadnetwork" },
{ SKAdNetworkIdentifier = "9t245vhmpl.skadnetwork" },
{ SKAdNetworkIdentifier = "9rd848q2bz.skadnetwork" },
{ SKAdNetworkIdentifier = "8s468mfl3y.skadnetwork" },
{ SKAdNetworkIdentifier = "7ug5zh24hu.skadnetwork" },
{ SKAdNetworkIdentifier = "4fzdc2evr5.skadnetwork" },
{ SKAdNetworkIdentifier = "4468km3ulz.skadnetwork" },
{ SKAdNetworkIdentifier = "3rd42ekr43.skadnetwork" },
{ SKAdNetworkIdentifier = "2u9pt9hc89.skadnetwork" },
{ SKAdNetworkIdentifier = "m8dbw4sv7c.skadnetwork" },
{ SKAdNetworkIdentifier = "7rz58n8ntl.skadnetwork" },
{ SKAdNetworkIdentifier = "ejvt5qm6ak.skadnetwork" },
{ SKAdNetworkIdentifier = "5lm9lj6jb7.skadnetwork" },
{ SKAdNetworkIdentifier = "44jx6755aq.skadnetwork" },
{ SKAdNetworkIdentifier = "mtkv5xtk9e.skadnetwork" },
{ SKAdNetworkIdentifier = "ludvb6z3bs.skadnetwork" },
{ SKAdNetworkIdentifier = "wg4vff78zm.skadnetwork" },
{ SKAdNetworkIdentifier = "737z793b9f.skadnetwork" },
{ SKAdNetworkIdentifier = "ydx93a7ass.skadnetwork" },
{ SKAdNetworkIdentifier = "w9q455wk68.skadnetwork" },
{ SKAdNetworkIdentifier = "glqzh8vgby.skadnetwork" },
{ SKAdNetworkIdentifier = "av6w8kgt66.skadnetwork" },
{ SKAdNetworkIdentifier = "cj5566h2ga.skadnetwork" },
{ SKAdNetworkIdentifier = "f38h382jlk.skadnetwork" },
{ SKAdNetworkIdentifier = "s39g8k73mm.skadnetwork" },
{ SKAdNetworkIdentifier = "v9wttpbfk9.skadnetwork" },
{ SKAdNetworkIdentifier = "n38lu8286q.skadnetwork" },
{ SKAdNetworkIdentifier = "cstr6suwn9.skadnetwork" },
{ SKAdNetworkIdentifier = "su67r6k2v3.skadnetwork" },
{ SKAdNetworkIdentifier = "n9x2a789qt.skadnetwork" },
{ SKAdNetworkIdentifier = "kbd757ywx3.skadnetwork" },
{ SKAdNetworkIdentifier = "uw77j35x4d.skadnetwork" },
{ SKAdNetworkIdentifier = "3sh42y64q3.skadnetwork" },
{ SKAdNetworkIdentifier = "5l3tpt7t6e.skadnetwork" },
{ SKAdNetworkIdentifier = "mls7yz5dvl.skadnetwork" },
{ SKAdNetworkIdentifier = "5a6flpkh64.skadnetwork" },
{ SKAdNetworkIdentifier = "578prtvx9j.skadnetwork" },
{ SKAdNetworkIdentifier = "f73kdq92p3.skadnetwork" },
{ SKAdNetworkIdentifier = "8m87ys6875.skadnetwork" },
{ SKAdNetworkIdentifier = "488r3q3dtq.skadnetwork" },
{ SKAdNetworkIdentifier = "zmvfpc5aq8.skadnetwork" },
{ SKAdNetworkIdentifier = "97r2b46745.skadnetwork" },
{ SKAdNetworkIdentifier = "6xzpu9s2p8.skadnetwork" },
{ SKAdNetworkIdentifier = "cg4yq2srnc.skadnetwork" },
{ SKAdNetworkIdentifier = "ecpz2srf59.skadnetwork" },
{ SKAdNetworkIdentifier = "238da6jt44.skadnetwork" },
{ SKAdNetworkIdentifier = "22mmun2rn5.skadnetwork" },
{ SKAdNetworkIdentifier = "lr83yxwka7.skadnetwork" },
{ SKAdNetworkIdentifier = "24t9a8vw3c.skadnetwork" },
{ SKAdNetworkIdentifier = "v79kvwwj4g.skadnetwork" },
{ SKAdNetworkIdentifier = "424m5254lk.skadnetwork" },
{ SKAdNetworkIdentifier = "44n7hlldy6.skadnetwork" },
{ SKAdNetworkIdentifier = "4dzt52r2t5.skadnetwork" },
{ SKAdNetworkIdentifier = "wzmmz9fp6w.skadnetwork" },
{ SKAdNetworkIdentifier = "bvpn9ufa9b.skadnetwork" },
{ SKAdNetworkIdentifier = "gta9lk7p23.skadnetwork" },
},
--UIApplicationExitsOnSuspend = false,
UIPrerenderedIcon = true,
UIStatusBarHidden = true,
MinimumOSVersion = "8.3",
},
},
plugins =
{
['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' },
["plugin.pollfish"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { iphone=true }
},
},
}
Any ideas?
Could it be the NSAppTransportSecurity positioning?
Should I move it after SKAdNetworkItems?