我正在寻找react-native中的文件选择器,该选择器返回我选择的文件的绝对路径。我目前正在使用react-native-document-picker,但它以的格式提供了相对路径content://com.android.providers.media.documents/document/......。当我要压缩视频文件时,像react-native-ffmpeg和react-native-video-processing这样的库都需要文件的绝对路径。
content://com.android.providers.media.documents/document/......
react-native react-native-android
react-native ×1
react-native-android ×1