-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Desktop support #27
Comments
@omarzer0 were you able to solve this issue, I mean were you able to use moko-biometry while supporting desktop app? Any update on this issue? tried to work around for many hours but ending up with "@composable invocations can only happen from the context of a @composable function" no matter what I do, either I support desktop app or biometry, not a great choice either way.
|
I was able to solve this issue with this work around. https://stackoverflow.com/questions/78659556/composable-invocations-can-only-happen-from-the-context-of-a-composable-functi/78665157#78665157b |
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
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?
The text was updated successfully, but these errors were encountered: