NordicID / nur_tools_rfiddemo_android

Nordic ID RFIDDemo sources
MIT License
6 stars 8 forks source link

Not compatible with Android 12 #2

Closed cvalcke closed 1 year ago

cvalcke commented 2 years ago

This application seems not to be compatible with android 12. No usb device was detected (tested on samsung galaxy tab a7) and no authorisation popin is raised Permissions management has changed and it may be related to this

hehannul commented 1 year ago

What kind of environment is used that is not working?

I tested with my environment and didn't get any errors. Maybe I have not noticed something?

I used OnePlus Nord CE 3 Lite 5G with Android 13 for testing. I used Android Studio for building the code.

1= I installed latest Nordic ID RFID Demo from Google Play and it works without errores. 2) I build nur_tools_rfiddemo_android code and tested and it works without errors. 3) I used latest NurApi and NurApiAndroid (API 33 compiled) and it works without errors.

I set OTG connection emabled, and allow all permission when prompted. I set that Nordic ID RF Demo is openend, when USB device is connected. Attaching reader to USB and detaching reader from USB is shiwn in RFID demo statusbar correctly.

Is this issue still valid?

hehannul commented 1 year ago

Tested with OnePlus Nord CE 3 Lite 5G (Android 13) and works. Used Stix reader for testing.

What reader is used,?

hehannul commented 1 year ago

I have tested it wrongly and that's reason why it was working in my envrionment. USB connection is fixed in NurApiAndroid v.2.0.50 and after that fix, USB connection can be made without errors. Tested with NurApiAndroid v.20.50, Adnroid 13 device (OnePlus= and Stix

Please use v1.91 for Android 12 or higher

hehannul commented 1 year ago

Bug fixed in NurApiAndroid v.2.0.50. Use RFID Demo v1.9.1 which contains this fix. Tested with latest fixes in Android 13 with Stix => wrokds