Questions tagged [dynamic-feature-module]
155 questions
0
votes
0 answers
Can third-party developers write plugins for my app?
I'd like to allow specific third party developers to write plugins for my app without them accessing my app's main source code. And without me accessing their plugin code.
These plugins would extend specific classes, which the main app would scan…

Steven L
- 15,304
- 1
- 21
- 16
0
votes
0 answers
ML Kit Dynamic module feature crashed and showing resource not found on release build opened after forcefully closed app
We are developing an app that has a feature translation. We want to implement a translation feature on-demand using com.google.mlkit:playstore-dynamic-feature-support:16.0.0-beta2 with google MLkit com.google.mlkit:translate:17.0.0
It is working…

Poran
- 532
- 4
- 9
0
votes
1 answer
At most one element with namespace 'http://schemas.android.com/apk/distribution' was expected, but 2 were found
I'm getting this error because two dynamic features declare dist:fusing.
At most one element with namespace
'http://schemas.android.com/apk/distribution'
was expected, but 2 were found.
Can someone help with this?

VIN
- 6,385
- 7
- 38
- 77
0
votes
0 answers
No View Found for ID (dynamic feature module)
I have a dynamic feature module with an activity that I'm trying to launch. However, I keep getting this error:
java.lang.IllegalArgumentException: No view found for id 0x81020009 (com.example.dynamicFeatureModule/fragment_container) for fragment…

VIN
- 6,385
- 7
- 38
- 77
0
votes
1 answer
Dynamic feature: Access library drawable from dynamic feature module
I am trying to access a resource that lives in :library module (a regular android library module), from my :wrapped module, also a regular android library module.
The complicating factor is that I created a :dynamicFeatureWrapper module, which…

VIN
- 6,385
- 7
- 38
- 77
0
votes
0 answers
Android Jetpack Baseline Profile with Dynamic Feature Modules
I'm trying to implement baseline profile with macrobenchmark to speed up release build.
I based my implementation on
https://developer.android.com/studio/profile/baselineprofiles
and this commit of their jetSnack demo…

Hessesian
- 51
- 2
0
votes
1 answer
Launching fragment via ServiceLoader in Dynamic Feature (Android)
I'm trying to launch a fragment in my a dynamic feature module using a ServiceLoader as follows, but I get a crash the first time I try to launch my fragment. After the initial crash, if I try to launch the fragment again, it loads fine.
I am…

VIN
- 6,385
- 7
- 38
- 77
0
votes
0 answers
How to repleace dependency in hilt with dynamic feature module in instrumentTest?
I am working on instrument test in android studio.
My app is Dynamic Feature Module use both dagger and hilt to provide dependency.
I am following this doc
https://developer.android.com/training/dependency-injection/hilt-testing#replace-binding
As…

Sammy Freeman
- 41
- 7
0
votes
0 answers
Unable to initiate application class from dynamic module
In base app, have the Application class and declared into AndroidManifest.xml file:
public class App : SplitCompatApplication() {
override fun onCreate() {
super.onCreate()
}
}

Sandip
- 293
- 3
- 17
0
votes
2 answers
Guava in Android dynamic feature module
I have a dynamic feature module that depends on com.google.http-client:google-http-client-gson:1.40.1 which depends on com.google.guava:guava:30.1.1-android.
My base module uses several Androidx libraries that transitively depend on…

mtotschnig
- 1,238
- 10
- 30
0
votes
1 answer
install-time feature module working as on-demand feature module
We are currently working on our product and as it is a very big app in architecture, so we divided our app into feature and library modules. One such module is credit_cards which is a dynamic feature module. Here is the AndroidManifest of the…

Aayush Goyal
- 391
- 1
- 8
- 21
0
votes
1 answer
Failed to uninstall dynamic feature module
I tried to uninstall dynamic feature module, but the module still exists. No error appears during the uninstallation process. This is my configuration on module :
0
votes
1 answer
Android Dynamic Feature
I am planning to implement a on-demand dynamic feature in one of my apps.
However, I wanted to know how long will this dynamic feature live on user's phone. Will it be auto deleted after x days of no usage, or will it live forever.
Also, what…

Kamal
- 3
- 3
0
votes
1 answer
Passing data between dynamic feature modules using Navigation Component
I recently started exploring Dynamic Feature Modules in android. I just figured how to navigate between modules using navigation component but i can't figure out or find any resources/guide on how to pass data as arguments between modules using safe…

Victor Kabata
- 13
- 6
0
votes
1 answer
how upload app with dynamic feature to google play?
APks generated in my app mode debug
It generates the apk in debug mode, in release mode it sends me an abb, but how do I get the application uploaded to the play store.

cesarwillymc
- 11
- 2