Parcourir la source

ios flutter openProfile openNotificationCenter

tama il y a 1 an
Parent
commit
5f5c00108e
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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)
         }