kevinresol / react-native-sound-recorder

Simplest Sound Recorder for React Native
MIT License
119 stars 36 forks source link

how can i get the full path #26

Closed chinavane closed 5 years ago

chinavane commented 5 years ago

result.path return path like /data/user/0/XXXXX,but i want to get the path like file:///storage/emulated/0/Pictures/images/image-0b1ae10a-d598-4f6d-aba5-f3212c4dd10f.jpg,whether to directly add the string file://

kevinresol commented 5 years ago

It is returning the full path already.

omkar-asort commented 4 years ago

@chinavane just prepend the path with "file://". This will give you the uri that you require.