Browser Widget and Twitter on iOS 13

Mark Waddingham mark at livecode.com
Thu Aug 13 11:15:36 EDT 2020


On 2020-08-13 13:46, Ralph DiMola via use-livecode wrote:
> When accessing Twitter via the Browser Widget on iOS 13 I get this
> error message==> "This browser is no longer supported. Please switch
> to a supported browser or disable the extension which masks you
> browser to continue using twitter.com". Is there a widget setting I
> can change to eliminate this? It works on Android and iOS 12. This is
> from the first tester. Could there be a iOS devices setting that this
> user inadvertently changed that caused this? I'm waiting for other
> testers but wanted to get on top of this. Any ideas?

Hmmm - the wording "This browser is no longer supported. Please switch 
to a supported browser or disable the extension which masks you browser 
to continue using twitter.com" suggests that twitter.com is using the 
userAgent string to determine access.

I'm pretty sure the old UIWebView (which we replaced with WKWebView in 
9.6) didn't support a custom user agent string - but the new WKWebView 
one does.

Are you setting `the userAgent` property of the browser widget anywhere?

Of course, this wouldn't explain why it works in iOS12 / Android if this 
is the problem...

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list