Skip to content

clear webview cache option in config.xml #44

Open
@makc

Description

@makc

I was looking for the way to clear webview cache in phonegap app, and they give me this:

   @Override
    public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            super.init();
            super.clearCache();
            super.loadUrl("file:///android_asset/www/index.html");
    }

in your Java class that extends DroidGap.java. 

Nice, but will not work with build server. So why don't you guys add something like

if (Config.shouldClearCache())super.clearCache();

to standard phonegap app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions