Cannot render camera in a modal in IOS
melbin97 opened this issue · comments
Bug Report
The bug is causing RNcamera not being rendered in ios devices. It is working perfectly fine in android.
I am trying to render RNCamera inside Modal tag.
Platforms
iOS (v15.2)
Throwing this error in xcode when debugged in real device and no error is being thrown by react native debugger. This is causing app to crash
[Presentation] Attempt to present <RCTModalHostViewController: 0x10575f580> on <UIViewController: 0x1051115d0> (from <UIViewController: 0x1051115d0>) which is already presenting <RCTModalHostViewController: 0x14b77a0c0>.
Expected Behaviour
Camera should be rendered on top of modal just like in android
Love react-native-camera? Please consider supporting our collective:
👉 https://opencollective.com/react-native-camera/donate
Want this issue to be resolved faster? Please consider adding a bounty to it https://issuehunt.io/repos/33218414
please ignore this bug. It was my fault