You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering the exception io.flutter.plugins.nfcmanager.TranslatorKt.getTagMap sometimes when reading an NFC card, in Google Play Console. The problem is that the application crashes when this error occurs. Although I added try-catch and runZonedGuarded to catch the error, it ignores it and the application still closes.
The error type is java.lang.RuntimeException and the stack trace is:
Exception java.lang.RuntimeException:
at android.nfc.tech.MifareClassic.<init> (MifareClassic.java:200)
at android.nfc.tech.MifareClassic.get (MifareClassic.java:138)
at io.flutter.plugins.nfcmanager.TranslatorKt.getTagMap (Translator.kt)
at io.flutter.plugins.nfcmanager.NfcManagerPlugin.handleNfcStartSession$lambda-3$lambda-2 (NfcManagerPlugin.java)
at android.os.Handler.handleCallback (Handler.java:958)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8893)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
How can I resolve this to prevent the error from occurring, or capture it so that the application does not close?
Thank you for your assistance.
The text was updated successfully, but these errors were encountered:
markHamilton34
changed the title
io.flutter.plugins.nfcmanager.TranslatorKt.getTagMap
I got error io.flutter.plugins.nfcmanager.TranslatorKt.getTagMap
May 9, 2024
Hello,
I'm encountering the exception
io.flutter.plugins.nfcmanager.TranslatorKt.getTagMap
sometimes when reading an NFC card, in Google Play Console. The problem is that the application crashes when this error occurs. Although I addedtry-catch
andrunZonedGuarded
to catch the error, it ignores it and the application still closes.The error type is
java.lang.RuntimeException
and the stack trace is:How can I resolve this to prevent the error from occurring, or capture it so that the application does not close?
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: