Open martrix78 opened 2 years ago
I am trying to use this plugin with @capacitor-community/barcode-scanner But I am getting an error E/CameraService: setTorchMode: torch mode of camera 0 is not available because camera is in use Perhaps how to solve this problem?
ANDROID 11 Ionic Framework : @ionic/angular 5.9.1 @angular-devkit/build-angular : 12.1.4 @angular-devkit/schematics : 12.1.4 @angular/cli : 12.1.4 @ionic/angular-toolkit : 4.0.0 Capacitor: Capacitor CLI : 3.3.4 @capacitor/android : 3.3.4 @capacitor/core : 3.3.4
@martrix78 i fixed it in the new forked plugin https://github.com/EYALIN/community-cordova-plugin-flashlight
I am trying to use this plugin with @capacitor-community/barcode-scanner But I am getting an error E/CameraService: setTorchMode: torch mode of camera 0 is not available because camera is in use Perhaps how to solve this problem?