From 9c36ef8a3f6081080e9acfb8e8e0eb80c48e66b9 Mon Sep 17 00:00:00 2001 From: 0xturboblitz Date: Thu, 22 Aug 2024 17:33:01 +0800 Subject: [PATCH] fix NFC reading --- app/ios/OpenPassport App Clip/Info.plist | 147 ++++++++++-------- .../OpenPassport_App_Clip.entitlements | 2 + 2 files changed, 84 insertions(+), 65 deletions(-) diff --git a/app/ios/OpenPassport App Clip/Info.plist b/app/ios/OpenPassport App Clip/Info.plist index cbacd80e7..45a660237 100644 --- a/app/ios/OpenPassport App Clip/Info.plist +++ b/app/ios/OpenPassport App Clip/Info.plist @@ -30,70 +30,87 @@ NSCameraUsageDescription - Needed to scan the passport MRZ. - NFCReaderUsageDescription - Need NFC to read Passport - NSFaceIDUsageDescription - Needed to secure the secret - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - NSExceptionDomains - - localhost - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - openpassport.app - - NSExceptionAllowsInsecureHTTPLoads - - NSIncludesSubdomains - - - - - UIViewControllerBasedStatusBarAppearance - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIAppFonts - - Inter-Black.otf - Inter-BlackItalic.otf - Inter-BoldItalic.otf - Inter-ExtraBold.otf - Inter-ExtraBoldItalic.otf - Inter-ExtraLight.otf - Inter-ExtraLightItalic.otf - Inter-Italic.otf - Inter-Light.otf - Inter-LightItalic.otf - Inter-Medium.otf - Inter-MediumItalic.otf - Inter-Regular.otf - Inter-SemiBold.otf - Inter-SemiBoldItalic.otf - Inter-Thin.otf - Inter-ThinItalic.otf - Luciole-Bold-Italic.ttf - Luciole-Bold.ttf - Luciole-Regular-Italic.ttf - Luciole-Regular.ttf - slkscr.ttf - slkscrb.ttf - Inter-Bold.otf - - UILaunchStoryboardName - LaunchScreen - + Needed to scan the passport MRZ. + NFCReaderUsageDescription + Need NFC to read Passport + NSFaceIDUsageDescription + Needed to secure the secret + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExceptionDomains + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + openpassport.app + + NSExceptionAllowsInsecureHTTPLoads + + NSIncludesSubdomains + + + + + UIViewControllerBasedStatusBarAppearance + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIAppFonts + + Inter-Black.otf + Inter-BlackItalic.otf + Inter-BoldItalic.otf + Inter-ExtraBold.otf + Inter-ExtraBoldItalic.otf + Inter-ExtraLight.otf + Inter-ExtraLightItalic.otf + Inter-Italic.otf + Inter-Light.otf + Inter-LightItalic.otf + Inter-Medium.otf + Inter-MediumItalic.otf + Inter-Regular.otf + Inter-SemiBold.otf + Inter-SemiBoldItalic.otf + Inter-Thin.otf + Inter-ThinItalic.otf + Luciole-Bold-Italic.ttf + Luciole-Bold.ttf + Luciole-Regular-Italic.ttf + Luciole-Regular.ttf + slkscr.ttf + slkscrb.ttf + Inter-Bold.otf + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + com.apple.developer.nfc.readersession.iso7816.select-identifiers + + A0000002471001 + A0000002472001 + 00000000000000 + diff --git a/app/ios/OpenPassport App Clip/OpenPassport_App_Clip.entitlements b/app/ios/OpenPassport App Clip/OpenPassport_App_Clip.entitlements index 587ccbe70..3b80b1e1a 100644 --- a/app/ios/OpenPassport App Clip/OpenPassport_App_Clip.entitlements +++ b/app/ios/OpenPassport App Clip/OpenPassport_App_Clip.entitlements @@ -2,6 +2,8 @@ + com.apple.security.device.camera + com.apple.developer.nfc.readersession.formats TAG