Problem with torch mode on camera, only works for first capture


#1

I’m using the torch mode for taking pictures, but it only works the first time. The second time I enter the camerascreen the flash (torch) flickers and then turns off.

I use stack navigation, first using navigate() to navigate to the camera screen, then goBack() when an image is captured. The second time I navigate to the camera screen the torch mode doesn’t work. I suspect this has to do with the navigation involved, but as the component seems to unmount so I’m not sure how to solve this problem?


closed #2

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