[BUG] Browser widget implemented without access to localStorage API

Andre Garzia andre at andregarzia.com
Tue May 15 17:39:18 EDT 2018


Panos,

Thanks a lot for reaching out so fast. I will test this shortly and get
back to you and the bug report. In the meanwhile, are you aware of any
"javascriptHandlers" bug in Android?

om om
andre

On Tue, May 15, 2018 at 6:35 PM, panagiotis merakos via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi Andre,
>
> Have you tested with LC 8.1.10 rc1 (or rc2)? We added support for local
> storage on Android browser in this PR:
>
> https://github.com/livecode/livecode/pull/6362
>
> Best,
> Panos
> --
>
> On Tue, May 15, 2018 at 8:56 PM, Andre Garzia via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > Reported as https://quality.livecode.com/show_bug.cgi?id=21281
> >
> > On Tue, May 15, 2018 at 4:47 PM, Andre Garzia <andre at andregarzia.com>
> > wrote:
> >
> > > LocalStorage is a web api which is standard everywhere, you can read
> more
> > > about it at:
> > >
> > > https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
> > >
> > > It is part of the W3C Web Storage Spec and implemented in every single
> > > browser and webview everywhere but on Android default WebView it is
> > > disabled unless you enable it in the code that creates the webview as
> can
> > > be seen in:
> > >
> > > https://stackoverflow.com/questions/33079762/android-
> > > webview-uncaught-typeerror-cannot-read-property-getitem-of-null
> > >
> > > So, any code using the browser widget on Android can't save or retrieve
> > > data from localStorage. And it is even worse since localStorage is set
> to
> > > null in those cases, the whole app will stop and freeze.
> > >
> > > --
> > > http://www.andregarzia.com -- All We Do Is Code.
> > > http://fon.nu -- minimalist url shortening service.
> > >
> >
> >
> >
> > --
> > http://www.andregarzia.com -- All We Do Is Code.
> > http://fon.nu -- minimalist url shortening service.
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the Use-livecode mailing list