[BUG] Browser widget implemented without access to localStorage API

panagiotis merakos merakosp at gmail.com
Tue May 15 17:35:14 EDT 2018


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
>



More information about the use-livecode mailing list