Version
6.16.1
What platforms are you having the problem on?
iOS
System Version
18.5.1
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
We are using RN 0.77.1 with Fabric disabled (for now).
When I play Spotify and open my App all is fine. As soon as I navigate to a screen where a Video component is implemented, the video stops.
Added this to allow for mixing (regarding the documentation)
// AppDelegate.mm
#import <AVFoundation/AVFoundation.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil];
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
And I also tried adding mixWithOthers={MixWithOthersType.MIX} in a huge variety of combinations with the following props.
ignoreSilentSwitch
focusable
disableFocus
disableAudioSessionManagement
mixWithOthers
muted
I am not able to make it continue playing the sound from Spotify. The video is even PAUSED oO
Any ideas? Anything I can provide you with?
Seems to be related to this issue: #4513
Reproduction Link
- not easily done - especially as it is for a hardware device
Reproduction
Step to reproduce this bug are:
<Video
mixWithOthers={MixWithOthersType.MIX}
muted
paused={true}
source={{ uri: "./demo.mp4" }}
/>
Version
6.16.1
What platforms are you having the problem on?
iOS
System Version
18.5.1
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
We are using RN 0.77.1 with Fabric disabled (for now).
When I play Spotify and open my App all is fine. As soon as I navigate to a screen where a Video component is implemented, the video stops.
Added this to allow for mixing (regarding the documentation)
And I also tried adding
mixWithOthers={MixWithOthersType.MIX}in a huge variety of combinations with the following props.I am not able to make it continue playing the sound from Spotify. The video is even PAUSED oO
Any ideas? Anything I can provide you with?
Seems to be related to this issue: #4513
Reproduction Link
Reproduction
Step to reproduce this bug are: