Thursday, October 18, 2018

New Android app publishing format will mean smaller app sizes, faster downloads

Mountain View search giant Google has takens steps to make it easier for developers to pack more features into their apps, while simultaneously reducing app file sizes.

According to an October 18th, 2018 blog post written by Google Play product manager Dom Elliott, Google’s new ‘Android App Bundle’ file format allows developers to package together multiple app versions for different devices and different languages into a single comprehensive file.

Once the app has been processed by Google Play, Google’s app manager splits the app bundle into individual APK files meant for “every possible device configuration and language that [developers] support.”

“When a user installs the app, Play delivers the base split APK (all the code that’s common for every device), the language split APKs (for the languages the user speaks), and the device configuration split APKs (for the device’s screen size and the CPU architecture),” wrote Elliott, in the same October 18th blog post.

“This means the device gets just what it needs without wasted space.”

Once apps have been installed on user devices, Google Play will deliver additional files depending on necessity — for example, when a user changes their device language.

Since the Android App Bundle format is modular, developers can also add more features to their apps, without needing to worry about larger app sizes.

“Any app functionality can be contained in a dynamic feature module and delivered on demand,” wrote Elliott.

“This new model results in dramatically smaller apps that take less time to download and less space on a device.”

Additionally, the new App Bundle format should allow developers to push out updates at a faster pace thanks to the new ‘In-app Updates API.’

“When an update is detected, you can either notify the user with a prompt asking them to update immediately or show a prompt for a flexible update at a time and in a way of your choosing,” wrote Elliott.

According to research gathered by Google Play, larger app sizes often lead to fewer app installations.

“Developers who are using the Android App Bundle have APK sizes that are on average 35% smaller than releasing a ‘universal APK’ (an APK packed with everything needed to support all device configurations and languages that the Android App Bundle supports),” wrote Elliott.

The Android App Bundle should serve as a way for developers to spend more time building their apps, and less time worrying about finding ways to combat Android’s device fragmentation.

The Android App Bundle format is both open-source and backwards compatible.

Source: Google

The post New Android app publishing format will mean smaller app sizes, faster downloads appeared first on MobileSyrup.



from MobileSyrup https://ift.tt/2OAhTrq

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home