ammarahm-ed / react-native-scoped-storage

MIT License
58 stars 10 forks source link

getPersistedUriPermissions returned is difference from openDocumentTree value #41

Open srochan opened 1 year ago

srochan commented 1 year ago

Value returned from await ScopedStorage.getPersistedUriPermissions() ["content://com.android.externalstorage.documents/tree/primary%3ADownload%2FMyCompany"]

Value returned from await ScopedStorage.openDocumentTree(true) {"lastModified":1674134539000,"name":"MyCompany","type":"directory","uri":"content://com.android.externalstorage.documents/tree/primary%3ADownload%2FMyCompany/document/primary%3ADownload%2FMyCompany"}

The /primary%3ADownload%2FMyCompany is added additionally

leoderigo commented 1 year ago

Any updates? I'm having the same issue

Izocel commented 1 year ago

U P UP UP UP

 //content://com.android.externalstorage.documents/tree/primary%3ADownload%2FViridem
//content://com.android.externalstorage.documents/tree/primary%3ADownload%2FViridem/document/primary%3ADownload%2FViridem
rajesh-rt commented 7 months ago

Any update on this issue?