+ 6
Why we cant use "localStorge (JS) " in soloLearn App?
Why we cant use "localStorge (JS) " or Cookies in soloLearn App ?
4 ответов
+ 16
Because the codes you write have the same domain as SoloLearn servers and by accessing cookies/data you can access other accounts.
+ 4
It's simply because your code it being hosted on a different subdomain of SL everytime. The browser cannot access it again.
Also, standard WebView doesnt support LocalStorage.
+ 4
If you have your own server you could use iframes to route to your own site and use local storage from there. If you only do this for one particular element (say, a button) you can still include most of the code for people to look at it as well.
- 1
So how do i read it