I have a bunch of responsive navigation tabs, and one of them opens the camera. The problem is when the application loads, the navigation reaction instantly displays all the pages at once, so the camera is turned on even if I do not see it. The router file is just a bunch of StackNavigator objects representing each page loaded into the TabNavigator object.
How can I display only the page on which I am going so that the camera does not turn on when it is not needed?
source
share