'RNCamera crashes in iOS
I'm developing a video recording app in React Native and I'm using 'react-native-camera' package. Of course, I used RNCamera and the thing is it's fine in android but crashes in iOS. When I open the screen where RNCamera is used, the app just crashes and turn off. I can't get information why this issue occurs. If anyone has experience with this problem, I beg your help. Thank you.
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-camera": "3.15.0"
<RNCamera
ref={ref => {
this.camera = ref;
}}
style={{ flex: 1 }}
type={RNCamera.Constants.Type.front}
/>
Solution 1:[1]
key to me was to follow that part of the instructions: You may also need to reset your simulator data after adding those permissions Device -> Erase All Content and Settings... It then stopped crashing the simulator on iOS
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Marek |
