Questions tagged [dynamic-feature]
69 questions
4
votes
1 answer
Android Split Install Error(-2): Module_Unavailable Error
I am trying to implement on demand delivery feature in my android app. Now I am working on examples to understand how it works but when I try to install a dynamic module it shows an error message "Split Install Error(-2): A requested module is not…

vinayak
- 75
- 1
- 10
4
votes
3 answers
How do you share images via an intent in an instant app?
We are building a quiz instant app, where the user can complete the quiz and then share their result. We share some text with a link, and also an image that shows the user's quiz result. There is no problem when we go through this flow in the…

Jamie Adkins
- 43
- 2
4
votes
2 answers
Updates to Dynamic Features
I'm introducing dynamic features in my Android app and want to know the scenario if I upload a new version to the store that contains updates in the dynamic feature module ONLY? Will all the users see that there is an update? Or will only the ones…

SarahEhabM
- 75
- 1
- 4
4
votes
2 answers
Call dynamic feature code from base module
im trying to implement a dynamic feature where from my base module i should call some methods in the feature, buts its only possible to call base methods from the feature, is there any way to make feature code accessible from base module? (i…

Tarcisio Wensing
- 422
- 1
- 3
- 13
3
votes
0 answers
Android dynamic feature access fragment from main app with proguard enabled
I have one dynamic feature. And when i enable proguard and i try to access fragment
if (splitManager.installedModules.contains(name)) {
val fragment = "com.xxx.xxx.xxxx.AAFragment"
val fr =…

msevgi
- 4,828
- 2
- 24
- 30
3
votes
1 answer
Dynamic Feature Module not getting installed
I am adding an on demand dynamic feature module on my app, but I am having a problem.
When I install that feature module
val request = SplitInstallRequest.newBuilder()
.addModule("ondemandfeature")
…

Augusto Carmo
- 4,386
- 2
- 28
- 61
3
votes
1 answer
Dynamic Feature with third party library that has an activity in its manifest with a custom theme - Resource not found
I have a module in my app that acts as a dynamic feature.
This dynamic feature module uses a third party library where this third party library has in its AndroidManifest an Activity that uses a custom theme.
With the described configurations, the…

Augusto Carmo
- 4,386
- 2
- 28
- 61
3
votes
1 answer
How to fix 'Title for on-demand module is missing' when build android app bundle?
I'm try to split a feature in my app project into some dynamic modules. I've move some layout, drawable, and java class to dynamic feature module. I follow this instruction, and success to build the project to my android devices. It's success to…

Chandra Ari Gunawan
- 143
- 1
- 1
- 10
3
votes
1 answer
Dynamic feature release build failed with duplicate resources
I am creating one sample to check dynamic feature delivery provided by android. I have project structure in following way. Base project app and one dynamic feature sample_dynamic_feature. All the setup required for dynamic feature delivery is in…

nilkash
- 7,408
- 32
- 99
- 176
3
votes
5 answers
Activity in dynamic feature not found(ClassNotFound)
done:
generate a release a.abb
use bundletool to convert a.abb to a.apks.
deploy it to device.
problem:
the activity in dynamic feature no found.(but in debug, it's ok)
2019-02-25 20:48:58.429 11164-11164/? E/AndroidRuntime: FATAL EXCEPTION:…

yiping yang
- 31
- 3
3
votes
2 answers
Android App Link to Dynamic Feature Shows the Application Chooser Dialog Showing Same App Twice
I am trying to open an Activity using Android App Links. Activity is in a dynamic feature module, in the Google's Sample project.
I haven't uploaded the project to the Google Play, so I am testing using the debug build type, with a run configuration…

Mustafa Berkay Mutlu
- 1,929
- 1
- 25
- 37
2
votes
1 answer
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,
…

VIN
- 6,385
- 7
- 38
- 77
2
votes
0 answers
Uploading Firebase Crashlytics native symbols for a dynamic module
I have an Android app using Firebase Crashlytics, that is now distributed as Android App Bundle (AAB), and consists of the main, base app (module A), and dynamically loaded on demand module B. Additionally the activities and services in module B run…

gregko
- 5,642
- 9
- 49
- 76
2
votes
2 answers
Using Firebase Libraries in a Dynamic Feature Module
I'm trying to use FirebaseAuth in a dynamic feature module but I'm getting a:
java.lang.AbstractMethodError: abstract method "com.google.android.gms.common.api.Api$Client…

Kurt Acosta
- 2,407
- 2
- 14
- 29
2
votes
0 answers
Get Assets Storage Location in Dynamic Feature Module
I am working on Dynamic Feature Module, In which I am putting my sqlte.zip file under feature->res->database->sqlte.zip.
In my base app module, I want the database path of sqlte.zip as a String path after the zip is downloaded. The download is…

Shubham Agrawal
- 1,252
- 12
- 29