Activate Face ID automatically as soon as the lock view appears in extensions (#492)

This commit is contained in:
Danny Mösch 2021-08-27 01:10:44 +02:00 committed by GitHub
parent a83acd096a
commit 545186da96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -49,7 +49,7 @@ class PasscodeExtensionDisplay {
return return
} }
passcodeLockVC.modalPresentationStyle = .fullScreen passcodeLockVC.modalPresentationStyle = .fullScreen
extensionVC.present(passcodeLockVC, animated: false) { extensionVC.parent?.present(passcodeLockVC, animated: false) {
extensionVC.view.isHidden = false extensionVC.view.isHidden = false
} }
} }

View file

@ -20,6 +20,8 @@
<string>$(MARKETING_VERSION)</string> <string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0</string> <string>0</string>
<key>NSFaceIDUsageDescription</key>
<string>Enable access to Face ID to unlock Pass.</string>
<key>NSExtension</key> <key>NSExtension</key>
<dict> <dict>
<key>NSExtensionMainStoryboard</key> <key>NSExtensionMainStoryboard</key>