Yubico / yubikit-android

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

Close connection in case if application was not selected #5

Closed imakhalova closed 4 years ago

imakhalova commented 4 years ago

Since we create connection and selecting YubiKey applet in constructor of application (to avoid user calling extra select() method). We need to close connection if selection failed. So that user can reuse connection for another applet. Also small improvements on demo: