-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
At first thx for your awesome libraries and great effort.
I'm using Biometry Auth in my KMP app and worked fine until I added Desktop support. I get this error
No matching variant of dev.icerock.moko:biometry-compose:0.4.0 was found. The consumer was configured to find a library for use during compile-time, preferably optimized for standard JVMs, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
- Variant 'debugApiElements-published' capability dev.icerock.moko:biometry-compose:0.4.0 declares a library for use during compile-time:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm'
I know that Desktop has no touch or face ID but is there a way to exclude JVM targets from using this library or we can provide a custom auth screen for Desktop with pin number or even let the user provides his own implementation for it when isBiometricAvailable returns false?
Metadata
Metadata
Assignees
Labels
No labels