Questions tagged [dynamic-feature]

69 questions
0
votes
1 answer

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 launch the fragment again, it loads fine. I am…
0
votes
0 answers

Unable to initiate application class from dynamic module

In base app, have the Application class and declared into AndroidManifest.xml file: public class App : SplitCompatApplication() { override fun onCreate() { super.onCreate() } }
Sandip
  • 293
  • 3
  • 17
0
votes
1 answer

Android navigation and activities in separate dynamic features

It looks like for reasons difficult to understand in my android app that supports Navigation and Dynamic Features, when I navigate from an activity declared in the base app to an activity inside a separate Dynamic Features with a different…
Sergiob
  • 838
  • 1
  • 13
  • 28
0
votes
2 answers

Can't find Android dynamic feature module to download

My app is already in the Playstore. I want to add a dynamic feature to it. Whenever I try to test and see if it works with internal tests, it gives me error -2 and says that it can't find the feature's module. Which is weird because the bundle I…
DaPoox
  • 139
  • 4
  • 16
0
votes
1 answer

Getting SplitInstallErrorCode.MODULE_UNAVAILABLE for dynamic module

I am getting the following error SplitInstallErrorCode.MODULE_UNAVAILABLE trying to install a dynamic module. I am already using Google play internal app sharing to test the aab file but still getting it. Here is the dynamic feature manifest file: …
0
votes
1 answer

How to Cast a video using ExoPlayer cast extension from a Dynamic Feature Module

I have a crash when I am trying to cast a HLS video from my app to a chromecast. I use the ExoPlayer cast extension. I am using exoplayer version 2.11.1 & play services cast framework version 18.0.0. The code is called from a dynamic module (apply…
0
votes
0 answers

How to fix "Program type already present" error when dynamic feature is using an external aar dependency

We have a 3rd party aar file that due to size considerations we decided to split to a separate dynamic-feature (module). Both main app and dynamic module are using com.google.code.gson:gson when they were in the same module we removed our dependency…
-1
votes
1 answer

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 PROVIDER_CLASS =…
-1
votes
1 answer

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 ;Allow both the caller and callee to play tt-monkeys to the…
asdf3
  • 1
1 2 3 4
5