Google Play store supports application of any size with an additional developer work for applications larger than 50 MB in size. This is done via expansion file support documented here. This post is not a tutorial as to how expansion file support can be enabled in an application, instead is just about verifying if the expansion file download works as expected upon installation from the play store.
Games typically are of huge size with images, video and audio files. One such application is The Walking Dead: Season One from Telltale Games, with an application size of 1.15 GB. So how do we go about testing this? The fact that the Play store can download the expansion file as a part of the apk downloaded makes it difficult to test. The application has everything it needs during the first launch and the code flow to download expansion files explicitly isn't executed. And its not worth the time testing in different devices hoping to hit the scenario.
The other quick alternative is just to download and install the application as usual on any device and delete the expansion file before launching the application. Of course, deletion is necessary only when play store had already downloaded the expansion file. In case of walking dead, the expansion file can be found in external storage,
adb shell ls /sdcard/Android/obb/com.telltalegames.walkingdead100
main.10420.com.telltalegames.walkingdead100.obb
adb shell
$ cd /sdcard/Android/obb/com.telltalegames.walkingdead100
$ rm main.10420.com.telltalegames.walkingdead100.obb
Now, launching the application would force it to download the expansion file and the relevant code flow can be verified with ease. This app just failed 100% with a failed exception.
Games typically are of huge size with images, video and audio files. One such application is The Walking Dead: Season One from Telltale Games, with an application size of 1.15 GB. So how do we go about testing this? The fact that the Play store can download the expansion file as a part of the apk downloaded makes it difficult to test. The application has everything it needs during the first launch and the code flow to download expansion files explicitly isn't executed. And its not worth the time testing in different devices hoping to hit the scenario.
The other quick alternative is just to download and install the application as usual on any device and delete the expansion file before launching the application. Of course, deletion is necessary only when play store had already downloaded the expansion file. In case of walking dead, the expansion file can be found in external storage,
adb shell ls /sdcard/Android/obb/com.telltalegames.walkingdead100
main.10420.com.telltalegames.walkingdead100.obb
adb shell
$ cd /sdcard/Android/obb/com.telltalegames.walkingdead100
$ rm main.10420.com.telltalegames.walkingdead100.obb
Now, launching the application would force it to download the expansion file and the relevant code flow can be verified with ease. This app just failed 100% with a failed exception.
No comments:
Post a Comment