AD listener error: Request Error: A network error occurred.

Hi

Two weeks ago I started to notice my on-developing-game stop delivering ads to my iPhone testing device.

My ad  event listener is catching the following error:

error Request Error: A network error occurred.

and no ads is being shown in device.

When the ad pluging is initialized, the following info is thrown:

<Warning>: <Google> To get test ads on this device, call: request.testDevices = @[@“6482cf439d5a86efb278c85322abfca9”];

<Warning>: -canOpenURL: failed for URL: “kindle://home” - error: “This app is not allowed to query for scheme kindle”

<Error>: App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.

<Warning>: -canOpenURL: failed for URL: “kindle://home” - error: “This app is not allowed to query for scheme kindle”

<Warning>: error Request Error: A network error occurred.

<Warning>: <Google:HTML> You are currently using version 6.12.2 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.

I’m using Corona SDK v 2015.2731.

Any idea?

Thanks

The short answer is to bypass the error by including this in the iphone section:

NSAppTransportSecurity =
{
NSAllowsArbitraryLoads = true,
},

you can read the entire documentation here:

https://docs.coronalabs.com/guide/hardware/appleATS/index.html

Thanks. I’m going to try that. Is there any way to whitelist admob delivering ads servers? I mean someone knows the domain for those server. so they can be whitelisted in the build settings file.

The short answer is to bypass the error by including this in the iphone section:

NSAppTransportSecurity =
{
NSAllowsArbitraryLoads = true,
},

you can read the entire documentation here:

https://docs.coronalabs.com/guide/hardware/appleATS/index.html

Thanks. I’m going to try that. Is there any way to whitelist admob delivering ads servers? I mean someone knows the domain for those server. so they can be whitelisted in the build settings file.