I found solution by myself. We need "file://" prefix in front
to the absolute file path. I'll add this on documentation.
ps:https://github.com/react-native-audio-toolkit/react-native-audio-toolkit/issues/18
I found solution by myself. We need "file://" prefix in front
to the absolute file path. I'll add this on documentation.
ps:https://github.com/react-native-audio-toolkit/react-native-audio-toolkit/issues/18
本文标题:react-native iOS在播放本地文件时需要加file:
本文链接:https://www.haomeiwen.com/subject/thgoljtx.html
网友评论