Questions tagged [dynamic-feature-module]

155 questions
1
vote
0 answers

ML Kit crash with Dynamic Feature Module (conditional delivery)

I'm working on a feature that utilizes ML Kit Translation, and since this feature is only available for a specific country, I've moved the implementation for this feature along with ML Kit dependency to a dynamic feature module and set the delivery…
1
vote
1 answer

App is not able to find DynamicFeature navigation graph. Getting Resources$NotFoundException for the navigation graph

I am using Android's Dynamic delivery for one of my feature. I have separated the code for the feature. I am also using the Navigation component in my project. I can see dynamicfeature being downloaded from the progress bar and after downloading I…
1
vote
1 answer

Publishing update for only base module or to only some of the users

I wanted to ask about publishing android app bundle. I cannot find clear answers on a few topics related to dynamic feature modules. Is it possible to publish update for only base module but not for dynamic modules? In my case I have one large…
1
vote
1 answer

Android manifest merging fails for release builds after introducing dynamic feature module

When assembling a release build for my android project i am getting the following error: > Task :app:processReleaseMainManifest /Users/user/Repos/my-app/app/src/main/AndroidManifest.xml Error: Package name 'de.abc.someapp' used in:…
Ostkontentitan
  • 6,930
  • 5
  • 53
  • 71
1
vote
1 answer

Base module's bundle file in react native android is too big, causing an error

I am trying to add a dynamic feature for android in our codebase. On building with react-native run-android, I get the following error in metro: Failed to construct transformer: Error: Cannot create a string longer than 0x1fffffe8 characters at…
1
vote
0 answers

Project structure of modularized app with instant delivery

Im facing the task to add instant delivery, and thus modularization, to a pretty big monolithic app. Reading docs, articles and sample projects for a few days im kind of struggling with getting my head around this task. The app is a single module…
W3hri
  • 1,563
  • 2
  • 18
  • 31
1
vote
2 answers

minifyWithR8 issue with Dynamic feature module, release build

I am working on a dynamic feature module for the first time. I am getting issues in minify gradle task. It says ListenableFuture file exists in base.jar and alt_acco.jar below is my project configuration: mobile.gradle dynamicFeatures =…
1
vote
0 answers

How can I run an android app inside other android app?

I have seen apps like My Jio running their other apps like Jio Saavn and Jio Mart inside it. How can we achieve this?
1
vote
2 answers

"com.android.test" module for both ":app" and ":dynamicfeature" failing with "Collection has more than one element." : "testedApplicationId"

I try (in a sample app), to have one single ":test" module testing the main module ":app" and ":dynamicfeature" module. For that, I use the "com.android.test" gradle plugin. My ":app" module runs just fine. It instanciates a basic view from my…
1
vote
1 answer

Android Feature modules Confirmation dialogue testing

I am trying to test the Feature modules confirmation dialogue prompt. So as per Android docs, when the install request is made, we would get the REQUIRES_USER_CONFIRMATION state in the state listener, and then we have to invoke…
1
vote
1 answer

Dagger/Hilt 2.32-alpha Hilt Jetpack 1.0.0-alpha03 + Dynamic Feature + ViewModel + SavedStateHandle and dagger.assisted.AssistedInject

I created a sample project to use Dagger/Hilt with dynamic feature and ViewModel and everything was working great with Dagger/Hilt 2.29.1-alpha and Hilt Jetpack 1.0.0-alpha02 you can check the source code here. Now a new version of Dagger/Hilt is…
Ibrahim Disouki
  • 2,642
  • 4
  • 21
  • 52
1
vote
1 answer

how to communicate in multi module dynamice feature Application

I have project structure like app : InstantApp : library: dynamic-feature1 : dynamic-feature2 : dynamic-feature3 : Now there is some dependency between dynamic-feature1 and dynamic-feature2. Now if i add it as dependency in dynamic-feature2…
1
vote
1 answer

Dynamic Feature Navigation: Resource not found

I am using a dynamic-feature module combined with a navigation graph. After going through the SplitInstall process (the dynamic feature is successfully installed), I attempt to navigate to a fragment in the dynamic-feature, but I am consistently…
1
vote
0 answers

Android on demand dynamic-feature - for xml and image resources

When I run the Analyze App size... plugin, I am getting following in Android Studio. Place large file app/src/main/res/drawable/my_activity.xml inside an on demand dynamic-feature to avoid bundling in api Adding large files to an on demand…
1
vote
1 answer

Android App Bundle: Google Play 150MB limit seems to include the Dynamic Feature Module size?

Scenario: I have an app with a lot of high res drawable images. I would like to deliver those assets with the build as opposed to via web/http/cdn. Problem: When uploading my .aab to google, I'm told that certain configurations will result in a…