-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webpage update in server but not updated client side app #1049
Comments
The plugin has webViewObject.LoadURL(Url.Replace(" ", "%20") + "?_=" + (System.DateTime.UtcNow.Subtract(new System.DateTime(1970, 1, 1))).TotalSeconds); You can also utilize the following to forcibly reload the current page. webViewObject.EvaluateJS("window.location.href = window.location.href.replace(/#.*$/, '')") |
webViewObject.ClearCache(true); |
Yes, so it is better to utilize other methods. If you control the html server, you can also disable cache by apache .htaccess, for example (cf. https://stackoverflow.com/questions/22891965/how-to-disable-cache-of-apache/22892020#22892020 ). Such settings should be okay at least for debugging. |
need to update the webview then i have to clear my app data then changes are seen in our webview in unity app.
what should i do to prevent this issue.
The text was updated successfully, but these errors were encountered: