Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
Android App Bundle is a new app publishing format or upload formatĀ . It is improved way to package your app. It includes all your appās compiled code and resources, but defers APK generation and signing to Google Play. The Android App Bundle letās you more easily deliver a great experience in smaller app size, allowing for the HUGE variety of devices. No refactoring of code is required for a smallerĀ app.
Wow! that really soundās amazing, right? Letās dive a bit deeper to understand.Before understanding what really the Android App Bundle is, you should know WHY to use this new publishing format instead of publishing multi APKs(traditional method)Ā ?
Why to use Android App BundleĀ ?
There are plenty of benefits of using Android App Bundle, but weāll mainly check out the important one.
- Dynamic Delivery
- No more MultiĀ APKs
- Reduced APKĀ size
- Dynamic FeatureĀ Module
Although itās clear from the names but weāll go through each ofĀ them.
The above gif explains everything about Dynamic Delivery offered by Android AppĀ Bundle.
Android App Bundleās new publishing format, called Dynamic Delivery, uses your app bundle to generate and serve more optimised APKs according to each userās device configuration, so that they download only the code and resources they need to run your app. For example, you donāt need other languages strings if you have set English as your defaultĀ language
No more MultiĀ APKs
Earlier, we used to build multiple APKs and manage different versions and the process was so meshy and NOT Efficient. Now, with the Android App Bundle, you build one artifact that includes all of your appās compiled code, resources, and native libraries for your app. You no longer need to build, sign, upload, and manage version codes for multipleĀ APKs.
Dynamic FeatureĀ Module
These modules contain features and assets that you can decide not to include when users first download and install your app. Using the Play Core Library, your app can later request to download those modules as dynamic feature APKs. For example, video calling feature and camera filters can be downloaded later onĀ demand.
Dynamic Feature Module actually contains features and assets that we can decide if we want to include it or not in first download and install of our app. Users can request the download of those features or modules as dynamic feature APKs by using the Play CoreĀ Library.
Letās take an example of a CAMERA APP, which also contains Filters. at the very first download of the app, only camera module will be installed, but if user require some filters then those filters module can be downloaded as Dynamic FeatureĀ APKs.
Reduced APKĀ Size
Google Play uses Split APK mechanism, it can break up a large app into smaller, discrete packages that are installed on a userās device as required. On average, apps published with app bundles are 20% smaller in size. Hereās some data, youāll be amazed toĀ see
Till now, You might have got the IDEA of Android AppĀ Bundles.
UPDATEWill be publishing a whole another blog on HOW TO IMPLEMENT ANDROID APPĀ BUNDLES.
If you are already excited about this or the next blog, add š and show some love.Ā š
Android App Bundle was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.