You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after enabling card scanning on an iOS 14.3 device, the feature is not available. This is due to the way cardScanningAvailableCameraHasUsageDescription is implemented: it only looks for NSCameraUsageDescription in Bundle.main.infoDictionary.
Bundle.main.localizedInfoDictionary should be checked too.
Code to reproduce
Any project using a localised info.plist file instead of having NSCameraUsageDescription hardcoded in info.plist.
iOS version
14.3
Installation method
Carthage
SDK version
21.2.0
The text was updated successfully, but these errors were encountered:
Summary
Even after enabling card scanning on an iOS 14.3 device, the feature is not available. This is due to the way
cardScanningAvailableCameraHasUsageDescription
is implemented: it only looks forNSCameraUsageDescription
inBundle.main.infoDictionary
.Bundle.main.localizedInfoDictionary
should be checked too.Code to reproduce
Any project using a localised
info.plist
file instead of havingNSCameraUsageDescription
hardcoded ininfo.plist
.iOS version
14.3
Installation method
Carthage
SDK version
21.2.0
The text was updated successfully, but these errors were encountered: