mirror of
https://github.com/tooot-app/app
synced 2024-12-22 07:34:06 +01:00
Merge pull request #507 from de1acr0ix/workaround-ios-background-stop-other-audio
Patch expo-av to fix audio issue when switched to background on iOS
This commit is contained in:
commit
8d0a58b975
14
patches/expo-av+13.0.2.patch
Normal file
14
patches/expo-av+13.0.2.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/node_modules/expo-av/ios/EXAV/EXAudioSessionManager.m b/node_modules/expo-av/ios/EXAV/EXAudioSessionManager.m
|
||||
index 81dce13..8664b90 100644
|
||||
--- a/node_modules/expo-av/ios/EXAV/EXAudioSessionManager.m
|
||||
+++ b/node_modules/expo-av/ios/EXAV/EXAudioSessionManager.m
|
||||
@@ -168,9 +168,6 @@ - (void)moduleDidBackground:(id)backgroundingModule
|
||||
// compact doesn't work, that's why we need the `|| !pointer` above
|
||||
// http://www.openradar.me/15396578
|
||||
[_foregroundedModules compact];
|
||||
-
|
||||
- // Any possible failures are silent
|
||||
- [self _updateSessionConfiguration];
|
||||
}
|
||||
|
||||
- (void)moduleDidForeground:(id)module
|
Loading…
Reference in New Issue
Block a user