Sfoglia il codice sorgente

update: create params updated

hwh97 5 anni fa
parent
commit
4da376466b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)