Medium Link : https://medium.com/@gbisano/understanding-android-dynamic-features-new-meta-992ed1470caf
Pokedex application that implements Dynamic Feature. This app consist of 3 functionality:
- See Pokemon List (Dummy data)
- See Pokemon Detail (Dummy data)
- See Onboarding page from Dynamic Feature
Install Android Studio 4.+ Clone Project
- Kotlin
- Koin (Dependency Injection)
- Navigation Architecture Component
You have 2 option for deploy your Dynamic Feature app.
- Upload your AAB to Playstore. Or,
- Build an AAB, placed you AAB to
app > build > outputs > apk > debug
, then execute this commandgradlew installApkSplitsForTestDebug
.
When you use the second option, bundletool will create an APK from your AAB then install that base apk to your device and save feature module to SD Card. In result, when the app need feature module, then the app will search that feature module in SD card (it's the same with the app searching for feature module in playstore).
You may create an issue if you found any or create a pull request.