The intention of the default location is for developers to start prototyping WebView2 solutions with the least amount of resistance, but as a best practice (WebView2 development best practices - Microsoft Edge Development | Microsoft Docs), we recommend developers specify their own user data folder path and own the folder lifetime for production apps. This case is used when the developer has not specified the user directory folder. MWebView.loadUrl(mSocialProxy.getSignInURL()+"?time="+time.The current implementation of WebView2 User Data Folder default handling is to create a directory alongside the WebView2 hosting application and use that for runtime content. WebSettings webSettings = mWebView.getSettings() MWebView.getSettings().setJavaScriptEnabled(true) tWebViewClient(new SignInFBWebViewClient(mUIHandler)) Public void onProgressChanged(WebView view, int progress) I've also followed the suggestion here: How to empty cache for WebView?īut none of this works, does anyone have any ideas of I can overcome this problem because it is a vital part of my application. I've tried setting the WebView not to use cache and clear the cache and history of the WebView. What I'm seeing though, is the page displayed in the application is the same on each time the app is opened and refreshed. ![]() I have a WebView in one of my Activities, and when it loads a webpage, the page gathers some background data from Facebook.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |