Can´t upload image fetched from CameraRoll
See original GitHub issueHey there!
I am using React Natives Camera Roll to get my photos. When i upload this to my server from iOS device everything is fine. On Android this won´t work. Is there something additional i have to do, beside adding permissions maybe?
This is how my image looks like before i send it to the server:
'content://media/external/images/media/142'
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Can´t upload image fetched from CameraRoll #153 - GitHub
I am using React Natives Camera Roll to get my photos. When i upload this to my server from iOS device everything is...
Read more >Cannot upload images captured from camera using react ...
I had used react-native-image-crop-picker npm package to get images from Camera Roll and Photo Gallery. And then upload it to AWS S3 Server....
Read more >Solved: Uploading photos from camera roll - the Etsy Community
Re: Uploading photos from camera roll ... Go to setting , click Sell on Etsy, click Photos, Click All photos. Then you may...
Read more >[Fixed] Photos and Videos Not Loading on iPhone - iMobie
If the photos and videos are not fully loading in camera roll on your iPhone, the following guide offers some of the fixes...
Read more >7 Reasons Why Images Are Not Loading on Your Website
Website images fail to load for one of these seven common reasons.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yfuks maybe we should provide a little helper method on the Android side to get the url from a uri. This isn’t the first time someone has had trouble with it.
Something like…
ImagePickerManager.getUrl(response.uri)
Thoughts?
First of all how did you upload your image on iOS ? Then
content://media/external/images/media/142
is an URI so you need to use a module that support URI for upload or you need to use the file in base64