Chaintech-Network / QRKitComposeMultiplatform

148 stars 11 forks source link

Exception thrown when running on an iPad that does not have FlashLight #1

Closed DeRuDev closed 3 months ago

DeRuDev commented 5 months ago

When the scan Button is clicked on an iPad that does not have flashlight, the below exception is thrown:

Exception NSException * "*** -[AVCaptureDevice setTorchMode:] The passed torchMode 0 is not supported - use -isTorchModeSupported: to discover valid torch modes"

above issue replicated on iPad Mini 5 above issue not appearing on iPhone 12

ctn-mobile-innovation commented 4 months ago

Noted! we will fix this in next release. Thanks For reporting.

ctn-mobile-innovation commented 3 months ago

It has been fixed in Latest version