Expansion Files work then ... disappear from some users phones

My app grew past the magical 50 Meg boundary so I went down the expansion file path … (rant … 50 meg limit so 2010 … ).  For most users this is working just fine.

However, i have some users that have installs that stop working.  Not exactly sure what they are doing to cause the install to stop working but reading google i am wondering if the Corona support is checking for the expansion file and reloading it if it is no longer there … indications are that it is not doing this yet the Google documentation on expansion files indicates that this is a required element of support.

From Google http://developer.android.com/google/play/expansion-files.html

“Most of the time, Google Play downloads and saves your expansion files at the same time it downloads the APK to the device. However, in some cases Google Play cannot download the expansion files or the user might have deleted previously downloaded expansion files. To handle these situations, your app must be able to download the files itself when the main activity starts, using a URL provided by Google Play.”

Because the expansion file can be stored to external memory, and the app is in device memory there are cases where the expansion file might “disappear”.  For example if the user removes the external memory card.

So my question is … Does CoronaLabs execute the recommended technique of checking for the expansion file and redownloading it if it is missing?

It appears that this is not the case currently but …

Please to let me know.

Cheers,

m

Please can i get a read on this issue the Corona developer responsible for the Android Expansion files.  I am finding a few users that are having issues with the expansion file.  Seems that the expansion facility in Corona may not be doing the proper check and reload of the expansion file if it is missing.

Engineering: Yes we do check to see if the expansion file exists.  If it doesn’t then we present a download screen that you can use to redownload the expansion file.

Rob

Please can i get a read on this issue the Corona developer responsible for the Android Expansion files.  I am finding a few users that are having issues with the expansion file.  Seems that the expansion facility in Corona may not be doing the proper check and reload of the expansion file if it is missing.

Engineering: Yes we do check to see if the expansion file exists.  If it doesn’t then we present a download screen that you can use to redownload the expansion file.

Rob

So back to this a bit … Rob here is what i have done and I am not seeing the application attempt to redownload the expansion file.

  1. Make sure that the app is not running

  2. Delete the expansion file from the android device

Using something like: ES File Explorer on my android device i browse to the file directory with the expansion file in it:

 

<shared-storage>/Android/obb/com.missingmarble.archerzupshot/

 

Delete this directory.

 

  1. Try starting the app 

 

At #3 i would expect that it would try to download the expansion file again but no joy … just get an app crash because it cannot find a graphic resource.

 

Any ideas?

So back to this a bit … Rob here is what i have done and I am not seeing the application attempt to redownload the expansion file.

  1. Make sure that the app is not running

  2. Delete the expansion file from the android device

Using something like: ES File Explorer on my android device i browse to the file directory with the expansion file in it:

 

<shared-storage>/Android/obb/com.missingmarble.archerzupshot/

 

Delete this directory.

 

  1. Try starting the app 

 

At #3 i would expect that it would try to download the expansion file again but no joy … just get an app crash because it cannot find a graphic resource.

 

Any ideas?