Widget browser

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
robcal
Posts: 2
Joined: Sun Oct 04, 2020 8:05 pm

Widget browser

Post by robcal » Mon Oct 05, 2020 9:21 am

Good morning,

I did some tests with the browser widget, using the latest version of LC (9-6-1).
In particular, I wanted to know if the browser widget, in the case of an application intended for android, requires a minimum version of android: I tried with android 10 and the browser widget works, while with android 6 it doesn't work. Is the minimum android 7?
On android 6 I have no problems creating the browser via MobileControl: the remote web page is displayed correctly. But in this case it is still possible to use the javascript handler to call LC from the web page (as with browser widget)?

Thanks for your help.

Roberto

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7391
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Widget browser

Post by jacque » Mon Oct 05, 2020 6:52 pm

It kind of depends on what you mean by "doesn't work." I had a crash to the launcher on iOS versions earlier than 10 if a browser widget was included in the build. Without the widget, my app ran okay in those very early versions of iOS. I've set the minimum version to iOS 10 for now because I don't have a test device with that version, but it may be that iOS 11 is required.

Here's a quote from the team:
Unfortunately both iOS 8 and iOS 9 builds will crash if a browser widget
is included - these very old versions of iOS (whilst they have WKWebView)
don't seem to like modern uses of it (they also have problems with the
replacement player implementation!).
We kept the min version to allow as low as 8 as apps not using the
browser widget work fine (although I wonder if that actually provides false
information in a way so might have been an error - perhaps we should just remove
those options from the S/B).
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

robcal
Posts: 2
Joined: Sun Oct 04, 2020 8:05 pm

Re: Widget browser

Post by robcal » Mon Oct 05, 2020 9:31 pm

Thanks for your reply.
"doesn't work.":
- on android 6 -> no web page displayed
- same apk on android 10 -> all is ok.

I'll try the other android versions with the emulator. My question was to know if there was any minimum requirement, I had not found any information about it.

Many thanks

Roberto

simon.schvartzman
Posts: 665
Joined: Tue Jul 29, 2014 12:52 am

Re: Widget browser

Post by simon.schvartzman » Tue Oct 06, 2020 1:49 pm

Hi, I've one App using the Browser Widget to load very simple fixed pages developed by myself. I've set the minimum version of Android to 6.0 and for iOS to 8.

They both work reasonably well (meaning the pages are shown as expected) except one problem with Android as reported on this bug report:https://quality.livecode.com/show_bug.cgi?id=22924.

@Elanor has seen the bug but the status remains as "UNCONFIRMED".
Simon
________________________________________
To ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7391
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Widget browser

Post by jacque » Tue Oct 06, 2020 7:44 pm

robcal wrote:
Mon Oct 05, 2020 9:31 pm
Thanks for your reply.
"doesn't work.":
- on android 6 -> no web page displayed
- same apk on android 10 -> all is ok.
I had a similar problem with a blank brower but in my case it was fixed in LC 9.6. You can look at the bug report though and see if any of the workarounds apply to your app. However, I have a feeling that Android 6 is simply too old to be compatible.
https://quality.livecode.com/show_bug.cgi?id=22543
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply