Friends, I’m doing my Mobile Web page with Framework 7. But I have encountered a problem. Using localstorage, I can’t keep color themes and Google Chrome Mobile tabs theme-color in memory at the same time.
My examples are below
Looks like a problem with special characters, try use encodeURIComponent and decodeURIComponent to solve this issue.
@Overman Bro,
I’m sorry, I don’t know what you mean.
I’m new in web development I don’t know much.
Can you be more explanatory
I changed the problem with the Fiddle above. It is stored in Local Storage on the computer, but it is reinstalled on mobile. So I didn’t understand. Am I using a code that doesn’t work in mobile?
Your code wrong work,I rewrote the code,try this
https://codepen.io/anon/pen/gZBYjZ?editors=1011
iOS stores Local Storage data in a location that may be cleaned out by the OS when space is required and some mobile browsers have an option to erase browser history cleaned Local Storage on exit
In my APP i use cordova sql storage https://github.com/litehelpers/Cordova-sqlite-storage#readme
Thank you. Inside the code. I got it.
I tried a different method.