hyochan / react-native-audio-recorder-player

react-native native module for audio recorder and player.
MIT License
715 stars 213 forks source link

Local files wont play if filename missing extension #312

Open tfsjohan opened 3 years ago

tfsjohan commented 3 years ago

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

hyochan commented 3 years ago

How to reproduce this?

tfsjohan commented 3 years ago

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.

hyochan commented 3 years ago

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