浏览代码

ios flutter openProfile openNotificationCenter

tama 1 年之前
父节点
当前提交
5f5c00108e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      NexilisSampleCodeFlutter-iOS/ios/Runner/AppDelegate.swift

+ 4 - 0
NexilisSampleCodeFlutter-iOS/ios/Runner/AppDelegate.swift

@@ -64,6 +64,10 @@ import NexilisLite
                 pwd = param1
             }
             APIS.signInAdmin(password: pwd ?? "")
+        else if call.method == "openProfile" {
+            APIS.openProfile()
+        } else if call.method == "openNotificationCenter" {
+            APIS.openNotificationCenter()
         } else {
             result(FlutterMethodNotImplemented)
         }