android - cordova Update files and reload updated index.html? -


i working in plugin update of html files.

the default location cordova fetches files assests directory directory read only, cannot update files in directory.

so moved assests directory files(/data/data/packagename/files) directory, whenever there update occurred able download zip bundle server , extract bundle using zip extractor , able show updated index.html updated bundle.

the problem how can set start page location programmatically updated bundle when app starts again likewise ios "startpage()" method.

i not want achieved updating config.xml or loadurl() in default cordovaapp.java.

thanks


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -