|
|
@@ -94,7 +94,7 @@ class FlutterMethodChannelManager: NSObject {
|
|
|
self.initAttribution()
|
|
|
case "addASAPayReport":
|
|
|
if let args = call.arguments as? [String: Any],
|
|
|
- let price = args["price"] as? Float {
|
|
|
+ let price = args["price"] as? Double {
|
|
|
AsaManager.shared.addEventAttribution(eventDict: ["event_name": "pay", "event_val": price])
|
|
|
} else {
|
|
|
result(FlutterError(code: "INVALID_ARGUMENTS", message: "无效的参数", details: nil))
|