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 6b6d068 commit abf7466Copy full SHA for abf7466
packages/react-native-audio-api/src/core/AudioDecoder.ts
@@ -92,7 +92,11 @@ class AudioDecoder {
92
? stringSource.replace('file://', '')
93
: stringSource;
94
95
- if (Platform.OS === 'android' && !__DEV__) {
+ if (
96
+ Platform.OS === 'android' &&
97
+ !__DEV__ &&
98
+ !stringSource.startsWith('file://')
99
+ ) {
100
filePath = NativeAudioAPIModule.resolveAndroidReleaseAsset(filePath);
101
if (!filePath) {
102
throw new AudioApiError(
0 commit comments