ios9 - iOS 9 App Transport Security for multiple services -
i using parse.com, layer.com, , my company url terms/privacy policy, other frameworks in cocoapods
google places api.
i stuck because want use correct apple transport settings
, , can't seem figure out how include things need in info.plist
. i don't want rejected app store on submission.
i have done research on stack overflow , people either passed or gave example 1 domain. still isn't clear how should add in xml.
if know how add 1 domain exceptions dictionary, same others. here's example:
<key>nsapptransportsecurity</key> <dict> <key>nsexceptiondomains</key> <dict> <key>parse.com</key> <dict> <key>nsincludessubdomains</key> <true/> <key>nsthirdpartyexceptionrequiresforwardsecrecy</key> <false/> </dict> <key>layer.com</key> <dict> <key>nsincludessubdomains</key> <true/> <key>nsthirdpartyexceptionrequiresforwardsecrecy</key> <false/> </dict> <key>my-company.com</key> <dict> <key>nsincludessubdomains</key> <true/> <key>nsthirdpartyexceptionrequiresforwardsecrecy</key> <false/> </dict> </dict> </dict>
also, full spec nsapptransportsecurity
keys can found here.
Comments
Post a Comment