Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

React Native video upload using rn-fetch-blog error on iOS only

$
0
0

I'm using rn-fetch-blob to upload a video to a remote server. Everything works well in Android (camera and library).

In iOS, if I shot the video directly in the app it works and sends the video, but if I select the video in camera roll it sends a "corrupted" file - the upload works but when I try to watch the video I have a player with "Media not found" screen from the service.

I am using response.uri to get the path (found that path doesn't work for iOS) and replaced file: with '' too...

I get the response.uri from react-native-image-picker

Is there something I am missing?


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>