moust / phonegap-xapkreader

Cordova plugin to access files in APK Expansion Files
13 stars 17 forks source link

When we upload a new APK to production can we reuse the previous expansion file? #20

Open mirzabros opened 9 years ago

mirzabros commented 9 years ago

Hi there.

When we upload a new APK to production (e.g. Version code: 10 and version number: 1.0.10) can we reuse the previous expansion file (version 1.0.9)? Or do we need to reupload the same expansion file each time?

If we can reuse the previous version expansion file, then should I be using main_version = 9? Currently I keep increment both my app version number as well as the expansion version and upload the same expansion file every time.

`<?xml version='1.0' encoding='utf-8'?>

Downloading assets… (80.08 MB) Preparing assets… Download failed. Please restart app. Error Close 10 10 83973142 ` Last question: If we reuse previous version expansion file, does that mean that the users dont need to re-download the full 80mb expansion file each time we roll out an update? Thanks so much! Asfahaan
lumierephoto commented 9 years ago

Good question! I keep uploading new ones, because the version number changes and I want it to match my APK version.

psyon commented 8 years ago

Yes, you can use a previously uploaded expansion file. When you upload a new SDK it will ask you which one you want to use. Pick the one that matches the version you specified when installing the plugin.