Android embedded h5, return key problem

app homepage Click a module to enter the h5 page, how to use to clear the cache (localstorage), when exiting the h5 project
or when entering the localstorage

Apr.11,2021

then you can use sessionStorage. If you exit into app, h5 should not be able to monitor. If you have just entered the entry page, you can clear it by yourself. LocalStorage.clear ()


either use sessionStorage, or encapsulate h5 as mentioned upstairs, interact with h5 when you exit, and call his method

.
Menu