Explorar o código

log when keychain is available for access

cyberta %!s(int64=3) %!d(string=hai) anos
pai
achega
9134cc606a
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      deltachat-ios/AppDelegate.swift

+ 8 - 0
deltachat-ios/AppDelegate.swift

@@ -192,6 +192,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         }
     }
 
+    func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) {
+        logger.info("➡️ applicationProtectedDataDidBecomeAvailable")
+    }
+
+    func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) {
+        logger.info("➡️ applicationProtectedDataWillBecomeUnavailable")
+    }
+
     func openAccounts(_ dcAccounts: DcAccounts) {
         let accountIds = dcAccounts.getAll()
         for accountId in accountIds {