Camera black on first time


I’m having the following problem. I’m using the Camera exactly as it is in the docs. In both platforms (Android and iOS) it happens that the first time (after the box to grant permission is accepted) the camera is black. If I close that screen and go back, the camera works… But that first time it does not.

Any ideas?


Hey @fedealconada,

The best way to handle this is to ensure you’ve asked for permissions before the camera is ever rendered and have a conditional render to handle if the user has denied permissions. Perhaps ask for permission prior to the screen which contains the Camera module?



This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.