Browser Widget question
waprothero at gmail.com
Thu Jul 26 16:07:36 CEST 2018
Thanks, that cleared up one of my problems.
I have two buttons, each of which launches a different URL. The http one launches first. This works as expected when I, for test purposes, block ATS. The second button launches an https site, but when I do “set the URL of widget “Browser” to “https://myURL <https://myurl/>here”, it fails to load. I get the “browserdocumentloadbegin” message, but the site doesn’t load. It works fine in the IDE, though.
> On Jul 26, 2018, at 12:08 AM, panagiotis merakos via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi Bill,
> On iOS http URL are blocked by ATS (App Transport Security). You can
> disable ATS in the iOS standalone settings, but it is not recommended.
> Another way is to add a whitelist of URLs that should not be blocked by
> ATS. This requires using a custom plist.
> On Thu, Jul 26, 2018 at 5:27 AM, William Prothero via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>> I am using the browser widget on iOS. I can load and display one URL. But,
>> if I set another URL, it doesn’t load. Are there commands I should give to
>> unset the old URL and refresh to the new one? I have it working in the IDE,
>> but on IOS, only the first URL will load. Another one has now effect.
>> I wonder, will the browser load http: URL’s? It works in the IDE, but in
>> iOS, I need to use https.
>> Thanks for any hints on this. I’ve spend enough time dicking around.
>> William A. Prothero
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode