-
Notifications
You must be signed in to change notification settings - Fork 27
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
Crash initializing NFC #36
Comments
@BillisC Maybe the custom rom does not support NFC and thats why it crash. |
What's strange is that redmi note 8 does not have NFC unlike redmi note 8T. So I used an app that shows support and it indeed showed that it supports. I bet it's because the build is also made for 8T(It's mainly for 8) so it's probably a rom issue. Maybe it could also be what you said about old code. EDIT: Looks like another app fails to detect it |
@BillisC |
Wow everything works fine now. Small issue that it shows a random crash when i change between scripts. But the app doesn't crash and i can continue using it. |
I just uploaded a new APK in the same link as before (1.2.6-alpha-2) I will keep this issue open until it the NFC stuff can be tested with some real NFC tags :) |
wait! I was too fast :) |
Alpha 3 works perfectly 👍 |
One thing I noticed is that the nfc example led to an app crash but would it be possible to show a text like "Unsupported" or similar instead? |
Yes, that would be good. |
sure thing, right hardware you mean no nfc hardware right? |
Hi @BillisC |
The nfc is fixed and the app works. Not sure if you changed the example nfc since it crashes the app |
Hi @BillisC |
Let me explain, |
Oh, I see! :) |
My phone is also a Xiaomi, model Mi A2 Lite (Redmi 6 Pro); it does not support NFC, and the Phonk example shows a proper alert ("This device does not support NFC"), very probably because my ROM (LineageOS) correctly detects that NFC is not supported. |
Thanks @marclava for checking it out |
Well this indeed looks like a rom issue. This should conclude the nfc problems the app had. |
@BillisC ok! thanks for your initial report, I made me help improving and fixing a bunch of NFC related stuff :) |
Problem description
Crash on script launching
https://pastebin.com/acSt8gJW
Device model / Android Version
Redmi Note 8 (Android 10 custom rom)
Steps to reproduce the bug
Launch a script from the device or the Web Editor
The text was updated successfully, but these errors were encountered: