ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.13k stars 1.56k forks source link

iOS Application crashes when capture video from Camera. #1562

Open lohithananda opened 3 years ago

lohithananda commented 3 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

When i capture video in iOS get the data of the video

Actual behaviour

When i capture video in iOS Camera application crashes. ImagePicker.openCamera({ mediaType: 'video', }).then((image) => { ......... });

Steps to reproduce

  1. Click on the camera with media type 'video'.

2.Opens up camera to capture video.

  1. Click in the record button application crashes.

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

DEVfancybear commented 3 years ago

+1

arochedy commented 3 years ago

+1

Limoer96 commented 3 years ago

check the info.plist file! we must config NSCameraUsageDescription and NSMicrophoneUsageDescription when camera with {mediaType: 'video'}, don't forget microphone permission.

shahanshah87 commented 3 years ago

use videoQuality as high or medium. In low in crash.

howsy-jego commented 3 years ago

up still encountering the issue