Terminate app if protected data not available

This commit is contained in:
ismailgulek
2021-05-10 15:28:57 +03:00
parent cefaa890f6
commit 2ff736aa80
@@ -389,6 +389,11 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
NSLog(@"[AppDelegate] didFinishLaunchingWithOptions: isProtectedDataAvailable: %@", @([application isProtectedDataAvailable]));
if (![application isProtectedDataAvailable])
{
exit(0);
}
_configuration = [AppConfiguration new];
// Log app information