Skip to content
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

Cleare Cache #24

Open
RanveerSidhu opened this issue May 27, 2022 · 2 comments
Open

Cleare Cache #24

RanveerSidhu opened this issue May 27, 2022 · 2 comments

Comments

@RanveerSidhu
Copy link

Is there any way to clear cache?

@vsimplea
Copy link

I have the same question. Did you find a solution @RanveerSidhu ?

@tulgaab
Copy link

tulgaab commented Apr 26, 2023

+1
I need to clear the cache too.

Implement this please:

protected override void OnElementChanged(ElementChangedEventArgs<WebView> e)
    {
        base.OnElementChanged(e);

        Control.Settings.SetAppCacheEnabled(false);
        Control.Settings.CacheMode = Android.Webkit.CacheModes.NoCache;
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants