react-native-imagepicker icon indicating copy to clipboard operation
react-native-imagepicker copied to clipboard

Couldn't able to upload image from asset library file path

Open sw-tt-keyurprajapati opened this issue 8 years ago • 1 comments

From library or picker, i get image asset url like: "assets-library://asset/asset.JPG?id=AC072879-DA36-4A56-8A04-4D467C878877&ext=JPG". I am able to view image in <Image> tag source, but when i try to upload on server using code like : var fd = new FormData(); fd.append('photo', { uri: imageUri, type: 'image/jpeg', name: 'photo.jpg' }); image unable to upload on server.

sw-tt-keyurprajapati avatar Jun 13 '17 06:06 sw-tt-keyurprajapati

@sw-tt-keyurprajapati were you able to solve this problem?

MrHubble avatar Apr 04 '18 23:04 MrHubble