localStorage does not save/modify data (HYBRID app, GEAR S2)

localStorage does not save/modify data (HYBRID app, GEAR S2)

BY 01 Sep 2016 Web Application Development

I got a strange situation. I have a hybrid application. When I launch a wearable web UI app, it works with localStorage fine: it is possible to create keys with data and after closing UI app, it is possible to retrieve them back at next launch. BUT!!!  Sometimes I need to launch my UI app. from native service app using appcontol feature, and when I do that, localStorage in web UI app. begin to work like session storage, i.e. localStorage data and keys which were created by UI app(after launching it from service) are available until UI app would be closed. 

P.S.: Tizen SDK v.2.4.0_Rev8

Written by