Ionic Native Flashlight Plugin is not working with Camera

Why flashlight is not working with the camera? When I’m opening it, I can’t use the Flashlight Plugin anymore. Now I’m using @ionic-native/barcode-scanner and it has a flashlight switcher (in a separated native app), but there are issues with other plugins working in my app with the camera.