浏览代码

log when keychain is available for access

cyberta 3 年之前
父节点
当前提交
9134cc606a
共有 1 个文件被更改,包括 8 次插入0 次删除
  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 {