xamarin-fingerprint icon indicating copy to clipboard operation
xamarin-fingerprint copied to clipboard

App becomes unresponsive when using plugin.fingerprint on net8-pre5

Open tranb3r opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Open the attached repro (very similar to maui sample app)
  2. Build in Release and launch the app
  3. Tap on Authenticate (it should check fingerprint and then navigate to a page full of text).
  4. Do that a few times (Authenticate, Navigate to page full of text, Back).
  5. 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)

tranb3r avatar Jun 25 '23 07:06 tranb3r

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.

smsissuechecker avatar Jun 25 '23 07:06 smsissuechecker

I've managed to workaround the issue by disabling marshal methods:

<AndroidEnableMarshalMethods>false</AndroidEnableMarshalMethods>

tranb3r avatar Jun 26 '23 19:06 tranb3r

https://github.com/xamarin/xamarin-android/issues/8147

tranb3r avatar Jun 27 '23 12:06 tranb3r