kalinjul / EasyQRScan

Compose Multiplatform QR-Code Scanner
Apache License 2.0
53 stars 8 forks source link

iOS non-QR code type fix #9

Closed DevinDuricka closed 2 weeks ago

DevinDuricka commented 1 month ago

Set the UiScannerView to use the passed types CodeType variable along with making the "CodeType.toFormat" function public.

It looks like the default UiScannerView was being instantiated without referencing the user passed types, and only the QR code type.

I wasn't able to compile to mavenLocal and I didn't find an easily runnable iOS sample app to test, so this is untested. Feel free to make any modifications or let me know if I missed something.

DevinDuricka commented 1 month ago

Closes #7