kalinjul / EasyQRScan

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

Support compose 1.7.X #10

Closed radomartinec closed 5 days ago

radomartinec commented 1 month ago

Please is there any plan to support compose 1.7.x ? Thanks!

kalinjul commented 1 month ago

Yes, of course. There is no stable release of compose multiplatform 1.7 at this Point.

radomartinec commented 2 weeks ago

Reminder, 1.7.0 is released as stable now

kalinjul commented 1 week ago

Did you try it out using 1.7 and if so, die you encounter any incompatibilites?

kotlin-compose-multiplatform commented 1 week ago

Uncaught Kotlin exception: kotlin.native.internal.IrLinkageError: Function 'UIKitView' can not be called: No function found for symbol 'androidx.compose.ui.interop/UIKitView|UIKitView(kotlin.Function0<0:0>;androidx.compose.ui.Modifier;kotlin.Function1<0:0,kotlin.Unit>?;androidx.compose.ui.graphics.Color;kotlin.Function1<0:0,kotlin.Unit>?;kotlin.Function2<0:0,kotlinx.cinterop.CValue,kotlin.Unit>?;kotlin.Boolean;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§}[0]'

radomartinec commented 6 days ago

I have the same as the error above:

kotlin.native.internal.IrLinkageError: Function 'UIKitView' can not be called: No function found for symbol 'androidx.compose.ui.interop/UIKitView|UIKitView(kotlin.Function0<0:0>;androidx.compose.ui.Modifier;kotlin.Function1<0:0,kotlin.Unit>?;androidx.compose.ui.graphics.Color;kotlin.Function1<0:0,kotlin.Unit>?;kotlin.Function2<0:0,kotlinx.cinterop.CValue<platform.CoreGraphics.CGRect>,kotlin.Unit>?;kotlin.Boolean;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§<platform.UIKit.UIView>}[0]'

Uncaught Kotlin exception:     at 0   iosApp.debug.dylib                  0x10b52bd57        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 119 

    at 1   iosApp.debug.dylib                  0x10b525093        kfun:kotlin.Error#<init>(kotlin.String?){} + 115 

    at 2   iosApp.debug.dylib                  0x10b55f97f        kfun:kotlin.native.internal.IrLinkageError#<init>(kotlin.String?){} + 115 

    at 3   iosApp.debug.dylib                  0x10b55fa37        kfun:kotlin.native.internal#ThrowIrLinkageError(kotlin.String?){}kotlin.Nothing + 163 

    at 4   iosApp.debug.dylib                  0x10ca6f5b7        kfun:org.publicvalue.multiplatform.qrcode#UiScannerView(androidx.compose.ui.Modifier?;kotlin.collections.List<kotlin.String?>?;kotlin.Function1<kotlin.String,kotlin.Boolean>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 2743 

    at 5   iosApp.debug.dylib                  0x10ca6cbd7        kfun:org.publicvalue.multiplatform.qrcode#Scanner(androidx.compose.ui.Modifier?;kotlin.Function1<kotlin.String,kotlin.Boolean>;kotlin.collections.List<org.publicvalue.multiplatform.qrcode.CodeType>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 1787 

    at 6   iosApp.debug.dylib                  0x10ca68d97        kfun:org.publicvalue.multiplatform.qrcode#ScannerWithPermissions(androidx.compose.ui.Modifier?;kotlin.Function1<kotlin.String,kotlin.Boolean>;kotlin.collections.List<org.publicvalue.multiplatform.qrcode.CodeType>;kotlin.Function3<org.publicvalue.multiplatform.qrcode.CameraPermissionState,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 1123 

    at 7   iosApp.debug.dylib                  0x10ca687f7        kfun:org.publicvalue.multiplatform.qrcode#ScannerWithPermissions(androidx.compose.ui.Modifier?;kotlin.Function1<kotlin.String,kotlin.Boolean>;kotlin.collections.List<org.publicvalue.multiplatform.qrcode.CodeType>;kotlin.String?;kotlin.String?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} + 1191 

Tested with 0.1.5, 0.1.6

peter-kalata-cf commented 6 days ago

I have the same problem

radomartinec commented 5 days ago

Thank you!