From ee928450429e8629bb5a561ffb8f72fae9a4da80 Mon Sep 17 00:00:00 2001 From: Yishi Lin Date: Tue, 19 Jun 2018 00:07:49 +0800 Subject: [PATCH] Add NSFaceIDUsageDescription (fix #193) --- pass/Info.plist | 2 ++ passExtension/Info.plist | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pass/Info.plist b/pass/Info.plist index 91cfc02..05f71c7 100644 --- a/pass/Info.plist +++ b/pass/Info.plist @@ -35,6 +35,8 @@ NSCameraUsageDescription We need to access your camera for scanning QR code. + NSFaceIDUsageDescription + Enable access to Face ID to unlock Pass UIApplicationShortcutItems diff --git a/passExtension/Info.plist b/passExtension/Info.plist index e7dcbc1..d3f7613 100644 --- a/passExtension/Info.plist +++ b/passExtension/Info.plist @@ -2,6 +2,8 @@ + NSFaceIDUsageDescription + Enable access to Face ID to unlock Pass CFBundleDevelopmentRegion en CFBundleDisplayName @@ -31,9 +33,9 @@ SUBQUERY ( $extensionItem.attachments, $attachment, - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" || - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" || - ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" || + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" || + ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" ).@count == $extensionItem.attachments.@count ).@count == 1 NSExtensionJavaScriptPreprocessingFile