app transport security error
dautermann opened this issue · comments
If somebody tries to launch this app out of the box, they'll see a blank web page and this App Transport Security error in the console:
2017-03-02 03:09:44.183 FLWebView[61199:3566130] failed to load http://www.floatlearning.com/ with error The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
The easiest fix is to simply change the URL that's loaded to be https
.
For example, in your ViewController.m file
// Just to show *something* on load, we go to our favorite site.
[[self webView] loadRequestFromString:@"https://gowithfloat.com/"];
(the original website of www.floatlearning.com doesn't have a valid & matching certificate for the domain)
I hope this info helps you!