Yubico / yubikit-android

Yubico Mobile Android SDK - YubiKit
Apache License 2.0
109 stars 40 forks source link

Provide extensible approach to configure NFC and USB discovery #6

Closed imakhalova closed 4 years ago

imakhalova commented 4 years ago

Created UsbConfiguration and NfcConfiguration classes that need to be passed when start discovery of YubiKey connection. Added ability to turn off sound for NFC tag discovery. And also Skipping NDEF check (for most of YubiKey connections we don't need NDEF tag, so skipping it's check might optimize the speed of discovery of NFC tag) Added onRequestPermissionsResult callback for usbManager that will be invoked when permissions were granted or denied by user (addressing https://github.com/Yubico/yubikit-android/issues/8)