Open cweise opened 11 months ago
Try using the path instead of sourceURL
const file = Platform.select({
ios: `file://${values.profilePhoto.path}`,
android: values.profilePhoto.path,
}),
I also am facing the same error, but for around 4-5 videos
"react-native": "0.71.7", "react-native-image-crop-picker": "^0.40.2", when i upload the video greater then 2 minutes app crash with out any error
Getting the same issue, works on videos less than around 200mb, but crashes if the video size is larger, anyone got any solution ?
videos
Getting the same issue, works on videos less than around 200mb, but crashes if the video size is larger, anyone got any solution ?
You can use alternative like react-native-image -picker to get the large size video or images
has any one got the chance to solve this issue??
I'm getting negative file size when larger than 1GB, the reason might be temporary data type allocated for media buffer, media file might exceeding the size limit of that variable and hence getting negative size and app is getting freeze/crash
Version
Tell us which versions you are using:
Platform
Expected behaviour
Actual behaviour
Steps to reproduce
Attachments
https://github.com/ivpusic/react-native-image-crop-picker/assets/2069576/ade3a5e3-5c67-409f-8685-9ae720801c12
https://github.com/ivpusic/react-native-image-crop-picker/assets/2069576/b0c90358-65f9-4117-985a-49920993704e