问题描述
我已经尝试过 react-native-fs 但是当我尝试下面的代码时我得到 Error: Attempt to get length of null array
:
RNFS.readDir(
RNFS.DownloadDirectoryPath
).then(res => console.log(res))
或者我应该使用原生 android 代码?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)