Closed jbickerton closed 1 year ago
What is the model ID of your iPad? (example: iPad8,1) Maybe the list in this method needs to be updated. +[YubiKitDeviceCapabilities supportsMFIAccessoryKey] https://github.com/Yubico/yubikit-ios/blob/main/YubiKit/YubiKit/YubiKitDeviceCapabilities.m
or the model mapping needs to be updated https://github.com/Yubico/yubikit-ios/blob/main/YubiKit/YubiKit/Helpers/Additions/UIDeviceAdditions.m (i see the file is missing the current M2 iPads: iPad14,3 , iPad14,4 , iPad14,5 , iPad14,6 )
Does this mean you are seeing issues when your app tries to call startAccessoryConnection()?
FYI both startAccessoryConnection()
and startSmartCardConnection()
are safe to be called even if the device doesn't support them. startAccessoryConnection()
will hit an Assert in debug builds on unsupported devices though but not in production.
YubiKitDeviceCapabilities.supportsMFIAccessoryKey is returning true for latest iPad device, when the device does not provide support for this (has USB-C not lightning).