【文件属性】:
文件名称:react-native-get-real-path:将文件uri转换为真实路径
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-26 14:38:04
Java
React本机得到真实路径
从文件uri获取真实文件路径
安装(iOS)
目前不支持
安装(Android)
npm i react-native-get-real-path@https://github.com/Wraptime/react-native-get-real-path.git --save
对以下文件进行更改:
android/settings.gradle
.. .
include ' :react-native-get-real-path '
project( ' :react-native-get-real-path ' ) . projectDir = new File (settingsDir, ' ../node_modules/react-native-get-real-path/android ' )
android/app/build.grad
【文件预览】:
react-native-get-real-path-master
----jsconfig.json(88B)
----GRP.common.js(823B)
----android()
--------src()
--------build.gradle(910B)
----LICENSE(1KB)
----README.md(3KB)
----package.json(662B)