xamarin-fingerprint
xamarin-fingerprint copied to clipboard
App becomes unresponsive when using plugin.fingerprint on net8-pre5
Steps to reproduce
- Open the attached repro (very similar to maui sample app)
- Build in Release and launch the app
- Tap on Authenticate (it should check fingerprint and then navigate to a page full of text).
- Do that a few times (Authenticate, Navigate to page full of text, Back).
- At some point, the app becomes unresponsive. UI is totally frozen, you have to kill it.
This is on Android. I have not tested iOS. It only happens in Release. No issue in Debug. It only happens with net8-pre5. No issue with net7. It seems to happen only if the page is full of text. No issue (it seems) if there is only one row of labels.
Here is the repro.
Expected behavior
The app should not become unresponsive.
Actual behavior
The app becomes unresponsive.
Crashlog
No crash. Nothing special in the log.
Configuration
Version of the Plugin: 3.0.0-beta.1
Platform: Android 33
Framework net8-pre5
Device: Xiaomi Redmi 7 (not important)
Hi @tranb3r,
I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
I've managed to workaround the issue by disabling marshal methods:
<AndroidEnableMarshalMethods>false</AndroidEnableMarshalMethods>
https://github.com/xamarin/xamarin-android/issues/8147