We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f264bf0 commit 87b32c5Copy full SHA for 87b32c5
package/expo-package/src/handlers/Sound.ts
@@ -3,6 +3,9 @@ import { AudioComponent } from '../optionalDependencies/Video';
3
export const Sound = {
4
initializeSound: AudioComponent
5
? async (source, initialStatus, onPlaybackStatusUpdate: (playbackStatus) => void) => {
6
+ await AudioComponent.setAudioModeAsync({
7
+ playsInSilentModeIOS: true,
8
+ });
9
const { sound } = await AudioComponent.Sound.createAsync(
10
source,
11
initialStatus,
0 commit comments