diff options
author | Hailey <me@haileyok.com> | 2024-08-09 03:25:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 11:25:54 +0100 |
commit | dd0d50a6f0f69d8b58f7dd26303b6b89528d2d04 (patch) | |
tree | 0bd8bc61efb8120b52937e2f6d3094009a760ad9 /src/App.native.tsx | |
parent | 0f993a09c2ac7147f9a555cb243c1aff8fc2e48c (diff) | |
download | voidsky-dd0d50a6f0f69d8b58f7dd26303b6b89528d2d04.tar.zst |
[Video] Prevent pausing of background audio with `expo-video` on iOS (#4908)
* audio mixing pref * lint * patch expo video to add enter/exit fullscreen events * rm logs * fix audio problems * toggle mute when enter/exiting fullscreen --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'src/App.native.tsx')
-rw-r--r-- | src/App.native.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx index d2c20fc8e..29a6a738c 100644 --- a/src/App.native.tsx +++ b/src/App.native.tsx @@ -61,6 +61,7 @@ import {Provider as PortalProvider} from '#/components/Portal' import {Splash} from '#/Splash' import {Provider as TourProvider} from '#/tours' import {BackgroundNotificationPreferencesProvider} from '../modules/expo-background-notification-handler/src/BackgroundNotificationHandlerProvider' +import {PlatformInfo} from '../modules/expo-bluesky-swiss-army' SplashScreen.preventAutoHideAsync() @@ -157,6 +158,7 @@ function App() { const [isReady, setReady] = useState(false) React.useEffect(() => { + PlatformInfo.setAudioMixWithOthers(true) initPersistedState().then(() => setReady(true)) }, []) |