ivpusic / react-native-image-crop-picker

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

IOS Camera dismiss automatically after open it the second time #1844

Open MohamedAbdeljalil-rouane opened 1 year ago

MohamedAbdeljalil-rouane commented 1 year ago

Got this error in Xcode: [Camera] Attempted to change to mode Portrait with an unsupported device (BackWideDual). Auto device for both positions unsupported, returning Auto device for same position anyway (BackAuto)

is there any solutions for this issue cuz I didn't find anything similar ?

ketanuengage commented 1 year ago

Same issue with me as well. Any solution ?

ice-hector commented 1 year ago

Same issue, any news?

priyacoder1794 commented 1 year ago

same issue any update

huanguolin commented 1 year ago

same issue here

mindgoaman commented 1 year ago

same issue facing is there any update?

MrSalei commented 1 year ago

same

0x1af2aec8f957 commented 1 year ago

Adding corresponding permissions to the info. plist in the project may solve the problem:

<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) camera description.</string>
tanishaCodebrew commented 4 months ago

is there any solution for this issue.I am also facing this issue

SugavanesanS commented 3 weeks ago

I encountered an issue on iOS where a modal provided options to open the camera or gallery. The problem was that the selection would activate while the modal was still closing. To resolve this, I used a setTimeout to delay the opening of the selected option, giving the modal time to fully close. Since my modal took 400ms to close, I set the timeout to 500ms before opening the gallery or camera.