SetDomStorageEnabled in App Inventor... is it possible?

103 views
Skip to first unread message

Attilio Scullari

unread,
May 2, 2019, 7:47:23 AM5/2/19
to MIT App Inventor Forum
I can't find the option to SetDomStorageEnabled to TRUE, instead of FALSE.
Can you please help me? I tried searching on internet with no luck

Thanks

SteveJG

unread,
May 2, 2019, 8:21:10 AM5/2/19
to MIT App Inventor Forum
Please explain what you want to do.  Are you referring to Web Storage (the common name for DomStorage) https://en.wikipedia.org/wiki/Web_storage 

You may want to use this with the WebViewer and an html?     I expect you cannot do that with App Inventor.   What you can do with the WebVIewer is described here WebViewer

Manipulating DomStorage is not an option.

Regards,
Steve

Attilio Scullari

unread,
May 2, 2019, 8:50:19 AM5/2/19
to MIT App Inventor Forum
Thanks,
Yes, I want to use it with WebViewer.
I installed WebViewTools extension wich has so many methods but not the one described.
I need to enable this option to make OPENCART  works on webviewer. Many post on the web state that in this case putting a 
setDomStorageEnabled(true) in MainActivity.java would solves the problem.
But they don't refer to APP INVENTOR of course.
I'm looking for a solution, in the meanwhile, thanks for your answer.

Taifun

unread,
May 4, 2019, 3:55:40 PM5/4/19
to MIT App Inventor Forum
you might want to ask the author of that extension to add that functionality
Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Reply all
Reply to author
Forward
0 new messages