I'm using localStorage.setItem() for setting the data in the localstorage of my browser
but I don't know what is happening in my android browser the data is not getting saved in localstorage
localStorage.setItem("mytime", Date.now());
Yeah. The mobile browser also has localStorage & sessionStorage. Check Mozilla docs
Refer Can I Use? too...
If your data is not getting stored in localStorage of mobile devices. You could debug mobile devices by