Add NSFaceIDUsageDescription (fix #193)

This commit is contained in:
Yishi Lin 2018-06-19 00:07:49 +08:00
parent 824b959706
commit ee92845042
2 changed files with 7 additions and 3 deletions

View file

@ -35,6 +35,8 @@
<true/> <true/>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>We need to access your camera for scanning QR code.</string> <string>We need to access your camera for scanning QR code.</string>
<key>NSFaceIDUsageDescription</key>
<string>Enable access to Face ID to unlock Pass</string>
<key>UIApplicationShortcutItems</key> <key>UIApplicationShortcutItems</key>
<array> <array>
<dict> <dict>

View file

@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>NSFaceIDUsageDescription</key>
<string>Enable access to Face ID to unlock Pass</string>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
@ -31,9 +33,9 @@
SUBQUERY ( SUBQUERY (
$extensionItem.attachments, $extensionItem.attachments,
$attachment, $attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "org.appextension.find-login-action" || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO &quot;org.appextension.find-login-action&quot; ||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" || ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO &quot;public.url&quot; ||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text" ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO &quot;public.plain-text&quot;
).@count == $extensionItem.attachments.@count ).@count == $extensionItem.attachments.@count
).@count == 1</string> ).@count == 1</string>
<key>NSExtensionJavaScriptPreprocessingFile</key> <key>NSExtensionJavaScriptPreprocessingFile</key>