react-native-audio-recorder-player icon indicating copy to clipboard operation
react-native-audio-recorder-player copied to clipboard

Local files wont play if filename missing extension

Open tfsjohan opened this issue 4 years ago • 3 comments

Please fill the template to help you out. Also, please try the Example project compare before submiting the issue when you have certain issue with your project setup.

Version of react-native-audio-recorder-player

3

Version of React Native

0.64

Platforms you faced the error (IOS or Android or both?)

iOS

Expected behavior

Local file should play regardless of file extension

Actual behavior

Nothing plays

Steps to reproduce the behabior

tfsjohan avatar May 22 '21 22:05 tfsjohan

How to reproduce this?

hyochan avatar May 24 '21 11:05 hyochan

Place an audio file without an extension if the apps caches folder. Try to play it using the normal API. Works fine for files with an extension, does not work for files without extensions.

tfsjohan avatar May 24 '21 13:05 tfsjohan

I am not sure about this. Should the file play without extension? Is this the normal behavior in iOS?

hyochan avatar May 25 '21 03:05 hyochan