Replies: 5 comments 1 reply
-
We have a similar problem, and adding WRITE_EXTERNAL_STORAGE, and MANAGE_EXTERNAL_STORAGE to AndroidManifest did not work. We also added android:requestLegacyExternalStorage="true" (though it should not work anymore according to docs.) Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
Did anyone find a solution in that? |
Beta Was this translation helpful? Give feedback.
-
This error showed up due to me using react-native-pdf where I was accessing the wrong file URI. Instead of using the fileCopyURI, I was using fileURI and that threw this error. |
Beta Was this translation helpful? Give feedback.
-
In case you are facing this issue while using react-native-document-picker, Try adding " copyTo: 'cachesDirectory'" to parameter and use copyFileUri instead of uri. Below is an example of usage const res = await DocumentPicker.pick({ |
Beta Was this translation helpful? Give feedback.
-
Hello, Otherwise you need to use import mode together with keepLocalCopy: https://react-native-documents.github.io/docs/sponsor-only/picker/import-mode#keepLocalCopy Hope this helps 🙂 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Facing a very bizarre issue and have searched the web all day looking for a solution, there seems to be an issue with the permissions or something, running android 13.
**
[storage/unknown] Permission
Denial: reading com.google.and roid.apps.docs.storagebackend.
StorageBackendContentProvider ur content://com.google.android.apps.docs.storage/document /acc=1;doc=encoded=f9h3OMI GHAUUAHHAIUhhsjsjsuu282892hhssjj== from pid=4351, uid=10157 requires that vou obtain access using ACTION_OPEN_DOCUMENT or related APIs
**
This particular error showed when the file was picked from google storage but the same error is happening when I pick the same file from the file system storage.
Tried converting it using both RnFetchBlob and react-native-fs
Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions