Questions tagged [dynamic-feature]

69 questions
2
votes
1 answer

Split install requested but the app is not owned

I meet a very weird issue about installing dynamic feature module. It shows these error: ? W/Finsky: [1947] wiz.a(70): Split install requested but the app is not owned, package: xxx ? I/PlayCore: UID: [10165] PID: [29261] SplitInstallService :…
2
votes
0 answers

Modules 'base' and 'player' contain entry 'res/layout/exo_playback_control_view.xml' with different content

I work on an app with multiple Dynamic Modules. In order to add the video download's feature to my app, I need to add the ExoPlayer UI dependency (com.google.android.exoplayer:exoplayer-ui:2.11.1) to my base module. Since I already have this…
2
votes
1 answer

MODULE_UNAVAILABLE Error in Dynamic Module in Android

Recently in 2018, Google has announced new feature in Android called Dynamic Feature Module I tried same feature from this link http://www.tellmehow.co/know-android-dynamic-delivery-module/# In my project, I got module app which is my application…
Lucifer
  • 29,392
  • 25
  • 90
  • 143
2
votes
1 answer

How to Access Java Code/Lib from Dynamic Feature Module in Base Module in Android?

In Documentation mentioned Access code and resources from installed modules & there is a function to load native library. SplitInstallHelper.loadLibrary(newContext, “my-cpp-lib”); But How can I access Java/Kotlin Class Or Java Library from…
Elias Fazel
  • 2,093
  • 16
  • 20
2
votes
2 answers

Android: Gradle error while migrating to dynamic-feature module

I have been following the steps to migrate my multi-module app to the new dynamic-feature modules as mentioned here as the former has been deprecated. I followed all steps and reviewed them too. But I am still getting the below errors which I am…
Michael Hathi
  • 1,933
  • 2
  • 17
  • 27
2
votes
4 answers

How to delete dynamic feature module after uninstall?

My application has 2 features: "base" and "extend". manifest extend feature: download feature with…
2
votes
1 answer

Converting a Unity Android Studio project into a Dynamic Feature without having to copy its assets into the base project from the start

Usually one has to turn it into a Library to embed it into another app. However, now I want to convert it into a Dynamic Feature instead. I've put this in the Unity project's manifest:
Gensoukyou1337
  • 1,507
  • 1
  • 13
  • 31
1
vote
0 answers

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. So far the application is downloading and…
Aagam Shah
  • 125
  • 3
  • 11
1
vote
0 answers

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…
VIN
  • 6,385
  • 7
  • 38
  • 77
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
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
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

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
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

How do you inject object into an AuthFilter which requires @context for Jersey / Dropwizard

I'm trying to figure out how to inject an object when registering a AuthDynamicFilter in jersey. public class CustomApplication extends Application { public void run(Configuration configuration, Environment environment) throws…
darewreck
  • 2,576
  • 5
  • 42
  • 67