smstuebe / xamarin-fingerprint

Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

tranb3r opened this issue · 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)

Hi @tranb3r,

I'm the friendly issue checker.
Thanks for using the issue template 🌟
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>