How to get realpath after getting res.uri ? #235
Replies: 9 comments 3 replies
-
|
try { |
Beta Was this translation helpful? Give feedback.
-
|
@subhamchatterjee I tried your approach but it always give Error: ENOENT: no such file or directory, |
Beta Was this translation helpful? Give feedback.
-
|
Facing the same issue here. Tried rn-fetch-blob (fs.stat) and react-native-fs (fs.stat) but none of them are working. Any solution? |
Beta Was this translation helpful? Give feedback.
-
|
you got any solution? |
Beta Was this translation helpful? Give feedback.
-
|
this may help you https://stackoverflow.com/a/62720645/9894200 |
Beta Was this translation helpful? Give feedback.
-
|
Try this, maybe it will help you https://www.npmjs.com/package/react-native-file-share-for-android |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem. None of the solutions helped. Any idea? |
Beta Was this translation helpful? Give feedback.
-
|
Hey, Guys, I found a solution for this after 3 hours I found this First, you have call this method its very important Then try this code it should work |
Beta Was this translation helpful? Give feedback.
-
|
a fucking violent solution |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Please Help me!
How to get realpath after getting res .uri?
try {DocumentPicker.pick({type: [DocumentPicker.types.plainText],}).then(res => {RNFS.readFile(res.uri, 'base64').then(con => {console.log(con);});});I can't get the output from `console.log(con)'.Please give any solution.
Beta Was this translation helpful? Give feedback.
All reactions