react-native-documents/document-picker

Zip file selection not giving proper path

Closed this issue · 0 comments

I have React native app android to select zip file from external storage but i am not getting proper path. When I select image getting proper path of it.
for image selection, path as below
content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2FMask.png

For zip selection, path as below
content://com.android.providers.downloads.documents/document/msf%3A35

Due to this improper path, not able to unzip it and getting error like
[React-native-fs moveFile: ENOENT: no such file or directory, even though file exists]

Please help to solve this issue or suggest any other library to select zip and extract it.