You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I'm sorry my English skills are not good.)
I looked at the example and made the code exactly as it was. But it doesn't work.
let result = await DocumentPicker.getDocumentAsync({
type:'*/*',
copyToCacheDirectory: false,
});
//const uri = FileSystem.documentDirectory+result.assets[0].name;
setSrc(result.assets[0].uri);
I think setSrc(result.assets[0].uri); is not correct.
What should I do?
(uri returns content://com.android.externalstorage.documents/document/primary%3ADownload%2Ffailing-forward%20(1).epub)
Summary
(I'm sorry my English skills are not good.)
I looked at the example and made the code exactly as it was. But it doesn't work.
I think
setSrc(result.assets[0].uri);
is not correct.What should I do?
(uri returns
content://com.android.externalstorage.documents/document/primary%3ADownload%2Ffailing-forward%20(1).epub
)thank you for your response.
What platform(s) does this occur on?
Android
What workflow(s) does this occur on?
Expo Workflow, Bare Workflow
Environment (or package.json)
Your .epub file
any
Minimal reproducible example
No response
I confirm that i have
The text was updated successfully, but these errors were encountered: