I'm making an android application with some features, but I think some people didn't need some features available, so I want to make this app with some main features and some downloadable features. Example : I have 10 features in my app, 5 features is main features, so it will available for all users app, and 5 other features is downloadable features, only users who download this features can use this features.
So is there any way to do this? From what I was thinking is maybe :
I really hope no.3 is possible, can we do this? if yes, can you share some tutorial about it. From what I know, desktop apps can use this method, especially for open-source apps. Thank you.
You might want to take a look at Dynamic Delivery with split APKs.
With that you can deliver a Base APK (your main features) and several Feature APKs!
" Dynamic feature APKs: Each of these APKs contains code and resources for a feature of your app that you modularize using dynamic feature modules. Through Dynamic Delivery, you can then customize how and when that feature is downloaded onto a device. For example, using the Play Core Library, dynamic APKs may be installed on demand after the base APK is installed on the device to provide additional functionality to the user. Consider a chat app that downloads and installs the ability to capture and send photos only when the user requests to use that functionality. Because dynamic features may not be available at install time, you should include any common code and resources in the base APK. That is, your dynamic feature should assume that code and resources of only the base APK are available at install time. Google Play generates dynamic feature APKs for your app from your project’s dynamic feature modules. "
(From Android Developers)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With