Question about Non HTTPS setting ("Allow arbitrary Loads" /"App Transport Security Settings" )

2,783 views
Skip to first unread message

Idea nJazz

unread,
Jul 1, 2022, 6:56:26 AM7/1/22
to Interactive Media Ads SDK
Hi there.
I'm integrating the IMA SDK for iOS.

When building BasicExample or AdvancedExample without any modification,
I found the value of  "Allow arbitrary Loads" key  is “YES” under "App Transport Security Settings" in info.file.

Should this value be "YES" to support IMA SDK for IOS?

If I changed this value to "NO", I could see the log as below :
***********************
2022-07-01 19:35:16.098704+0900 BasicExample[8483:299937] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>

2022-07-01 19:35:46.080149+0900 BasicExample[8483:299749] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service

2022-07-01 19:37:25.117411+0900 BasicExample[8483:301084] [connection] nw_read_request_report [C7] Receive failed with error "Operation timed out"
**************************

Pre-roll ads played properly even when the log was visible.

As you know, the default behavior of "APP Transport Security Settings" is to prevent non-HTTPS.
It means that the default value of "Allow arbitrary Loads" is "NO".

I  am wondering if I have to set "YES" to the "Allow arbitrary Loads" key for my IOS APP supporting IMA.
If I set it to "NO", then is there any problem using IMA and google ads platform?

Thanks in advance.

My testing environments:
1) MAC OS : Version 12.4
2) XCode : version 13.3.1 / Swift
3) Devices : IPad Air (IOS 15.4) / IPhone 12 mini (IOS 15.4)

IMA SDK

unread,
Jul 1, 2022, 11:55:30 AM7/1/22
to idea...@gmail.com, ima...@googlegroups.com
Hi there,

I reproduced the first 2 logged messages in the basic example on a simulator and raised your question with my team. We will get back to you as soon as possible.

Regards,

Google Logo
Aryeh
IMA SDK Team
 


ref:_00D1U1174p._5004Q2cFKrg:ref

IMA SDK

unread,
Sep 6, 2022, 5:20:06 PM9/6/22
to ima...@googlegroups.com, idea...@gmail.com
Hi Idea nJazz,

The warnings that you are seeing shouldn't hamper the core functionality of the IMA SDK. You should be able to keep working with Allow Arbitrary Loads set to  NO, without issue.

Thanks,

Greg Schoppe
Reply all
Reply to author
Forward
0 new messages