Questions tagged [dynamic-feature]
The dynamic-feature tag has no usage guidance.
dynamic-feature
72
questions
0
votes
1
answer
39
views
How to customise downloading UI for on demand instant modules in android
Currently when requesting another instant module using url deep linking, like so:
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage(applicationContext.packageName)
intent....
2
votes
0
answers
115
views
Multiple Dynamic Modules - Manifest Merger Issues
Problem Statement-
I have two dynamic modules,
one for barcode scanning - com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.0
and
one for face detection - com.google.android.gms:play-...
3
votes
1
answer
141
views
Android 14: SplitInstallStateUpdatedListener never called during installation
In my Android native application written in Java in which Dynamic features are downloaded on demand. Whilst downloading the progress is displayed with the help of com.google.android.play.core....
0
votes
0
answers
30
views
Getting UnknownPluginException for com.android.dynamic-feature
I'm trying to create a dynamic feature module and these dependencies got added by itself.
But when it try to sync gradle i'm getting this exception:
org.gradle.api.plugins.UnknownPluginException: ...
0
votes
1
answer
250
views
Hilt Error in Dynamic Feature component - Fragment does not implement GeneratedComponent or GeneratedComponentManager
I'm developing an app with a dynamic features that saves user's favorites, and I'm using Hilt for injection.
But I got this error:
java.lang.IllegalStateException: Given component holder class com....
0
votes
0
answers
157
views
How can we integrate dynamic-feature module in Cordova?
I have a project in android and wanted to integrate the Cordova module using dynamic-feature, I am able to integrate the module in Cordova via a simple library integration, but when I did the setup ...
-1
votes
1
answer
161
views
Get kotlin class failed with string but works with constant - on dynamic feature
I just call a method class through this line :
val instance = Class.forName(nameClass).kotlin.objectInstance
When I set the nameClass with a constant value (see below) it's work.
private const val ...
1
vote
0
answers
181
views
Application crashes in dynamic module
So i'm trying to implement dynamic module. I just have one fragment in the dynamic module i.e upon clicking on that fragment, it downloads the module and installs and then it is showed to the user. ...
0
votes
0
answers
327
views
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 ...
0
votes
1
answer
62
views
At most one element <fusing> 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 <fusing> with namespace
'http://schemas.android.com/apk/distribution'
was expected, but 2 were ...
-1
votes
1
answer
224
views
Can Dynamic Feature 'playmonkeys' play audio to both channels?
How can I get the audio from the DYNAMIC_FEATURES "playmonkeys" to play on both channels at the same time? Not just the opposite channel.
playmonkeys => #9,peer,Playback,tt-monkeys ;...
0
votes
0
answers
288
views
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....
0
votes
1
answer
642
views
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 ...
1
vote
0
answers
208
views
SplitInstallManager.startConfirmationDialogForResult calls deprecated onActivityResult (Dynamic feature modules)
I'm using Dynamic feature modules in my app.
onActivityResult is deprecated. However, SplitInstallManager.startConfirmationDialogForResult uses the onActivityResult callback. Is there a way around ...
0
votes
1
answer
216
views
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 ...