Procházet zdrojové kódy

update: create params updated

hwh97 před 5 roky
rodič
revize
4da376466b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      ios/Classes/AliCameraViewFactory.swift

+ 1 - 1
ios/Classes/AliCameraViewFactory.swift

@@ -62,7 +62,7 @@ public class AliCameraView : NSObject, FlutterPlatformView, AliyunIRecorderDeleg
         switch call.method {
         case "create":
             let recordOptions = args?["recordOption"] as? [String: Any]
-            let taskPath = args?["taskPath"] as! String
+            let taskPath = args?["iosTaskPath"] as! String
             do {
                 try setUpCameraView(recordOption: recordOptions!, taskPath: taskPath)
                 result(true)