71 questions
Advice
0
votes
0
replies
48
views
How to execute the executables (packed as shared lib) from dynamic module on Android 10+?
I'm working on a IDE that runs on Android and includes SDK (actually GCC toolchains for various MCUs). To workaround Google Play 200Mb aab file size limitation i decided to pack every SDK as a dynamic ...
0
votes
1
answer
87
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
262
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
333
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
1
answer
293
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
203
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
183
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
223
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
407
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
102
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 ...
0
votes
0
answers
300
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
719
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
288
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
266
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 ...
3
votes
1
answer
1k
views
Dynamic feature: Unable to instantiate fragment : make sure class name exists
I'm trying to load my fragment that lives in a dynamic feature module. However, I keep getting a crash:
val f = FragmentFactory().instantiate(classLoader,
"com.myapp.customviewdynamicfeature....