app name Befund2GO

This commit is contained in:
Artur Savitskiy 2024-06-13 13:00:34 +02:00
parent c97ef4f880
commit 0c68c5e1f3
2 changed files with 16 additions and 12 deletions

View File

@ -928,12 +928,12 @@
CODE_SIGN_IDENTITY = "Apple Development: Artur Savitskiy (J576JNSQ97)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution: Limetec Biotechnologies GmbH (W86CN3N7WD)";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = W86CN3N7WD;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W86CN3N7WD;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Befund/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Limbach Befund2Go";
INFOPLIST_KEY_CFBundleDisplayName = Befund2Go;
INFOPLIST_KEY_NSCameraUsageDescription = "Die Kamera wird verwendet, um den QR-Code des Labors zu scannen";
INFOPLIST_KEY_NSFaceIDUsageDescription = "Biometrische Daten sind notwendig um die PIN anzufordern";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -969,12 +969,12 @@
CODE_SIGN_IDENTITY = "Apple Development: Artur Savitskiy (J576JNSQ97)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution: Limetec Biotechnologies GmbH (W86CN3N7WD)";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 3;
CURRENT_PROJECT_VERSION = 4;
DEVELOPMENT_TEAM = W86CN3N7WD;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W86CN3N7WD;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Befund/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Limbach Befund2Go";
INFOPLIST_KEY_CFBundleDisplayName = Befund2Go;
INFOPLIST_KEY_NSCameraUsageDescription = "Die Kamera wird verwendet, um den QR-Code des Labors zu scannen";
INFOPLIST_KEY_NSFaceIDUsageDescription = "Biometrische Daten sind notwendig um die PIN anzufordern";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;

View File

@ -197,9 +197,10 @@ extension Core
}
}
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
/* public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
{
#if DEBUG
completionHandler(.useCredential, URLCredential(trust: challenge.protectionSpace.serverTrust!))
/*#if DEBUG
completionHandler(.useCredential, URLCredential(trust: challenge.protectionSpace.serverTrust!))
#else
if(challenge.protectionSpace.host.contains("pba-simulator.patientenbefundapp.labor-limbach-hannover.de"))
@ -210,8 +211,8 @@ extension Core
{
completionHandler(.performDefaultHandling, nil)
}
#endif
}
#endif*/
}*/
}
/**
@ -351,16 +352,19 @@ extension Core
}
}
public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
#if DEBUG
/* public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
let urlCredential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
completionHandler(.useCredential, urlCredential)
/*#if DEBUG
// Accept all certificates
let urlCredential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
completionHandler(.useCredential, urlCredential)
#else
completionHandler(.performDefaultHandling, nil)
#endif
}
#endif*/
}*/
}
/**