Questions tagged [dynamic-feature-module]

155 questions
1
vote
0 answers

Databinding Not working inside dynamic fature module

I have been recently working on the Dynamic Feature Module, inside that Databinding is not working at all and giving runtime error that cannot find class. apply plugin: "com.android.dynamic-feature" android { compileSdkVersion 29 …
1
vote
1 answer

Hilt in feature modules

I added a dynamic feature module to the android project. I know that hilt does not support this type of modules. I found a workaround for this problem in google documentation. Hilt in feature modules I have a project structure as below App - main…
1
vote
0 answers

Theme problem in dynamic features of android

First of all, I apologize for my weak english language skill. I have a problem with my project. My project uses dynamic features and has 4 modules (app,A,B,C) and my application is single activity,it means main activity is in module app and module…
1
vote
1 answer

Cannot inject object provided in AppModule to Activity in a dynamic feature module with Dagger2

With the set up below i'm not be able to inject a Singleton object to a Activity inside a dynamic feature module. I can inject to a subComponent, MainActivity, but not to an Activity that's in dynamic feature module. @Component(modules =…
Thracian
  • 43,021
  • 16
  • 133
  • 222
1
vote
2 answers

How to create modules in a features(outer) module for Dynamic Features with Android Studio

While checking out this tutorial i saw that feature modules are inside an outer module called features. Is it possible to create such a structure with Android Studio, or is it done by creating a features folder manually and adding those feature…
Thracian
  • 43,021
  • 16
  • 133
  • 222
1
vote
1 answer

Unable to add library module dependency to dynamic feature module

I have a library module and a dynamic feature module. I need the feature module to have a dependency on the library module but I get an error while doing so: Unable to resolve dependency for ':my-dynamic-feature@debug/compileClasspath': Could not…
1
vote
1 answer

How to perform Bottom Navigation in Android using dynamic loaded modules with a second navigation graph

Im trying to use the navigation component with dynamic feature modules for an app that im currently working. Recently, i've configured the main navigation graph for loading the navigation between a welcome and a home screen. When rendered the Home…
1
vote
0 answers

How to handle the back event in nested NavHostFragments?

I did take a look on the official website Nested Graph and searched related issues but have no luck on it. When the nest graph and dynamic feature module comes up, I tried to combine "dynamic feature module", "Nested NavHostFragments" and "Nested…
1
vote
0 answers

Unable to use ContributesAndroidInjector with Fragments when using DynamicFeatureModules

I've been trying to inject dependencies for my fragments using ContributesAndroidInjctor instead of creating a subcomponent but it throws an exception, java.lang.IllegalArgumentException: No injector factory bound for Class Here is…
1
vote
1 answer

Android third party library not found after using android app bundle

Important notes: App size before adding zoom-sdk: ±70mb. App size after adding zoom-sdk: ±140mb App size after using android app bundle: ±60mb Edit: (zoom-sdk) is a native library (.aar file) I am using zoom-sdk in my app, I was making the normal…
1
vote
2 answers

Class Not Found when build APK when using dynamic feature

I have menu module setup by 'com.android.dynamic-feature'. Everything working fine when I coding and run by android studio. When package apk by Build -> Build APK(s) it crash Class Not Found when I start activity in module. Notes: the activity path…
Công Hải
  • 4,961
  • 3
  • 14
  • 20
1
vote
1 answer

Modules 'base' and 'instantapp' contain entry 'assets/crashlytics-build.properties' with different content

I am generating Signed Build Bundle. Instant App Module is launching perfectly in device but when I am generating Signed Build Bundle I got this error. 'Modules 'base' and 'instantapp' contain entry 'assets/crashlytics-build.properties' with…
1
vote
1 answer

Is it possible to get an on dynamic feature module size before starting to download it?

I would like to know if it is currently possible to know the on dynamic feature module size before we start to download it. I didn't find an answer to it anywhere on the web =/.
1
vote
0 answers

Import Unity game as dynamic feature

Is there any way to make your unity project import as dynamic feature module in android studio? So user would be able to install unity game at run-time.
1
vote
0 answers

Use on-demand dynamic feature module in universal apk on device with no Play Services

We have a dynamic feature module in our app. We are going to start supplying this module on-demand. So I'm working through documentation. I see that I have to use SplitInstallManager in the Play core library. However I also need to build a universal…
tir38
  • 9,810
  • 10
  • 64
  • 107