Google Teaches App Developers How To Disable Apple’s Ad-Blocking Security Feature

With the impending rollout of iOS 9, Apple will be implementing its App Transport Security (ATS) feature which brings in new standards for apps to ensure they are safe to run on iPhones. Problem is that it takes time for developers to comply with the ATS standards. As such, ATS will block in-apps ads for those that don’t meet the new standards, which will impact revenue for developers. Google has now come out with a short-term fix for this.

ATS essentially does not allow apps to connect through HTTP and wants them to go through HTTPS instead, which is the more secure option. Google does recommend that apps should either be developed on or transition to HTTPS, but apparently a lot of developers have asked the company for advice on how to unblock their ads on iOS 9. Developers just need some breathing room during the transition process for existing apps and don’t want to lose out on ad revenue.

So here’s Googles answer. App publishers can add an exception to their Info.plist to allow any insecure connections through the app, effectively bypassing ATS. Here’s the code for the exception:

NSAppTransportSecurity

NSAllowsArbitraryLoads

This will allow apps to connect through HTTP on iOS 9. As mentioned, HTTPS is the more secure option and Google recommends that “developers should only consider disabling ATS if other approaches to comply with ATS standards are unsuccessful”.

iOS 9 is still in public beta and will be rollout widely in the coming weeks.

[Via Google Ads Developer Blog]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


2 responses to “Google Teaches App Developers How To Disable Apple’s Ad-Blocking Security Feature”