@Michael, sure but what’s the best way to make a sample project for iOS if I need certificates, do I need to generate a new ad hoc certificate?
Perhaps I am misunderstanding. The claim is that: [lua]system.openURL(“https://www.facebook.com/IckityGames/”)[/lua] does not work, correct?
I just tried that and it works just fine, building with Xcode 7 and running on iOS 9. Opening that URL should require no ATS configurations.
Yes, that’s the claim – at least for my project. Ugh, why doesn’t it work for me? This is what I hate about programming lol
The code above worked fine when I was running iOS 8 then when I upgraded to iOS 9 it doesn’t work.
Are you sure that is the line that is failing for you? Make a simple project with only that one line of code in it. The app should start, then open the browser to the page you requested.
Yea, I made a simple app project with only this in the main. It doesn’t open the browser. I reset the network connections on my phone and it didn’t help.
system.openURL("https://www.facebook.com/IckityGames")
It works in the simulator. What the heck is screwing this up for me? Ugh
What device are you using? What Xcode are you building with? What is the version number in the settings of the device? Still using 2722?
I tested on iPhone 5s and iPad mini . iOS 9.0.1
build 2722 and Xcode Version 7 (7A220)
How far can I go back on a the daily builds without needing to install Xcode 6?
I can’t use the public release because I have Xcode 7. I tested all the way back to build 2718 – still doesn’t work.
I installed Xcode 6.4 and used build 2700 – build for iOS 8.4 and it worked
Any clues as to what might be going on in my case?
I’ve been tearing my hair out for hours over this - and much gnashing of teeth. I was just about to roll with burnsj002 suggestion and roll back.
No need! I have the solution. This:
https://coronalabs.com/blog/2015/09/17/about-app-transport-security-ats/
did nothing for me. Whitelisting or ATS disabling did not work. This does:
https://docs.coronalabs.com/daily/plugin/facebook-v4/index.html
Those build settings are needed for iOS9.
I can now do: system.openURL("https://www.facebook.com/etc") for a FB like button!
@burnsj002, iOS 9 requires you to use a different Facebook plugin (v4) and you have to include additional things in your build settings for it to work. This is why iOS 8.4 isn’t giving you issues. The ATS issue is an iOS 9 issue only.
Rob