From 23e029d836f15927d8fc4ff9431af33cebd75366 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Thu, 5 Oct 2023 18:15:02 -0300 Subject: [PATCH] add the { androidImplementation: 'MediaPlayer' } --- app/lib/methods/audioPlayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/methods/audioPlayer.ts b/app/lib/methods/audioPlayer.ts index a46eb84fa..0de735693 100644 --- a/app/lib/methods/audioPlayer.ts +++ b/app/lib/methods/audioPlayer.ts @@ -24,7 +24,7 @@ class AudioPlayer { if (this.audioQueue[uri]) { return this.audioQueue[uri]; } - const { sound } = await Audio.Sound.createAsync({ uri }); + const { sound } = await Audio.Sound.createAsync({ uri }, { androidImplementation: 'MediaPlayer' }); this.audioQueue[uri] = sound; return sound; }