I have a custom webview setup that works very well, but I would like to be able to:
1, change the hash of the url without refreshing the webpage (it will lose the state of my js application)
2, call some js that are inside my webpage inside android. Unfortunately, I can’t change the JS on the site, so the user cannot write any js to be placed on the site, especially for work, the only element I control is the Android application.
Can anyone think of how to do this?
Thanks in advance.
M
source
share