I am currently using an html page for a webview within my iOS and Android apps. I don't want to update the native code and was wondering if I could just refresh the homepage which is index.html every 2 mins? Is it possible?
You can try to use like this:
<meta http-equiv="refresh" content="120">
or you can use setInterval
like this:
setInterval(function() {
window.location.reload();
}, 120000);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With