I've just recenty gotten into using expansion files for Android apps. In 
the example the app needs to know the final size of the expansion as well 
as the version number. This is annoying as heck for development and I have 
temporarily commented out the code responsible. 

I imagine for a release build I should re-enable it, but why is this good 
practice? Are we concerned that perhaps the file might be corrupt and we 
could tell this because it would be the wrong size?

It also seems rather annoying that we have to update the entire apk just 
because we've updated some assets and want to change a version and/or file 
size number. Why don't we instead ask the google servers what the file name 
is to get the version, and the size, so that we know if we have the right 
size? Is this impossible? Too complicated? Or perhaps we're so concerned 
about androids corrupting their data that we need some way to check 
integrity even when we do not have an internet connection or permission to 
use it?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to