What is Vungle ATS exception?

Hi guys,

My Vungle ads are showing on my iPad mini only when I block ATS by default like this:

settings = { iphone = { plist = { NSAppTransportSecurity = { NSAllowsArbitraryLoads = true }, }, }, }

Due to fact that disabling ATS is not recommended and it should only be done as a last resort, what URL should I add in below example in order to allow only Vungle (so Apple does not get mad at me for allowing all traffic) ?

Instead of [“example.com”] ?

settings = { iphone = { plist = { NSAppTransportSecurity = { NSExceptionDomains = { ["example.com"] = { NSIncludesSubdomains = true, NSThirdPartyExceptionAllowsInsecureHTTPLoads = true }, }, }, }, }, }

I am using Corona 2015.2768

Waiting your reply!

Many thanks  :smiley:

Ivan

I don’t believe you need to set up an ATS exemption for Vungle or any of the ad networks. 

Someone please correct me if I’m wrong here.

Ed,

You do… I just had to do exactly what ivan888 is talking about, with Vungle. If you don’t it will come up in the log as being blocked and mine said it was trying to connect to cydia? Idk… works again.

steve

Bummer.  I see Vungle is telling folks to use the open door ATS setting:

https://support.vungle.com/hc/en-us/articles/204430550-Get-Started-with-Vungle-iOS-SDK#addATSException

ATS is also blocking Flurry, One Signal… pretty much anything that isn’t connecting with https I’ve noticed

That’s exactly what ATS does.

In accordance with Vungle instructions we have to allow ALL traffic if I am not mistaken. Vungle does not provide specific domain(s) in those instructions…
I just hope that Apple won’t reject my game due to that :slight_smile:

Apple will likely not reject you. They gave you this feature for just this purpose. Not everything on the Internet can be reached through https:// and you have to use http://.

Obviously the more restrictive you can be, the more secure your app will be, but for this use, just open it up.

Rob

@Rob Ya, I haven’t been reading blog posts, sorry

I don’t believe you need to set up an ATS exemption for Vungle or any of the ad networks. 

Someone please correct me if I’m wrong here.

Ed,

You do… I just had to do exactly what ivan888 is talking about, with Vungle. If you don’t it will come up in the log as being blocked and mine said it was trying to connect to cydia? Idk… works again.

steve

Bummer.  I see Vungle is telling folks to use the open door ATS setting:

https://support.vungle.com/hc/en-us/articles/204430550-Get-Started-with-Vungle-iOS-SDK#addATSException

ATS is also blocking Flurry, One Signal… pretty much anything that isn’t connecting with https I’ve noticed

That’s exactly what ATS does.

In accordance with Vungle instructions we have to allow ALL traffic if I am not mistaken. Vungle does not provide specific domain(s) in those instructions…
I just hope that Apple won’t reject my game due to that :slight_smile:

Apple will likely not reject you. They gave you this feature for just this purpose. Not everything on the Internet can be reached through https:// and you have to use http://.

Obviously the more restrictive you can be, the more secure your app will be, but for this use, just open it up.

Rob

@Rob Ya, I haven’t been reading blog posts, sorry