Discussion Forums  >  WebViews and HTML for Mobile

Replies: 3    Views: 367

Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
10/16/15 05:30 PM (9 years ago)

WebView

I'm using the Pop Up Webview plugin and it is not recognizing the link I submitted. I get this notice, "Invalid Internet Address." I see there's an issue with the App Transport Security and assuming this is my issue, I changed buzztouch.com to my self-hosted url and I'm receiving the same error. The best fix would be a Pop Up HTMLview Plugin but that's probably asking for too much :) Any help with a fix is appreciated.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
10/16/15 07:24 PM (9 years ago)
This plugin will work. (its my plugin) https://www.buzztouch.com/plugins/plugin.php?pid=73194DD9E8A6D2ECCBBF345 No need to mess with ATS. The SFSafariViewController which this plugin is based on gets a pass from apple regarding ATS. Only problem is its iOS 9+ http://stackoverflow.com/questions/31065204/ios-9-are-webviews-exempt-from-the-app-transport-security-exceptions-ats
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
10/16/15 07:28 PM (9 years ago)
This might also work for you. The snippet you add to the plist basically tells ios to ignore the ats rules regarding https. http://googleadsdeveloper.blogspot.com/2015/08/handling-app-transport-security-in-ios-9.html Using this is not a good long term strategy because at some point apple isn't going to allow this to be used.
 
Becky
I hate code!
Profile
Posts: 269
Reg: Aug 08, 2012
NYC
6,140
like
10/25/15 03:01 PM (9 years ago)
Sorry for my delayed response, I went off the grid for an end-of-season camping trip. Now back to the grind... I went ahead and purchased your plugin and just came up with the idea to use the Alert View. I think I can fit the info I need on that. Anyways, thank you so much for your advice, I will definitely find good use for the Safari plugin in the future. Oh, and I tried that snippet you suggested previously and it didn't work on my end.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.