From d379e9b92f6ebd7a3a21cf62c10c748f11843a14 Mon Sep 17 00:00:00 2001 From: KulArtsiom Date: Tue, 16 Nov 2021 14:33:52 +0300 Subject: [PATCH] Update SwiftAppodealFlutterPlugin.swift --- ios/Classes/SwiftAppodealFlutterPlugin.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/SwiftAppodealFlutterPlugin.swift b/ios/Classes/SwiftAppodealFlutterPlugin.swift index 65f641f..7f7eef1 100644 --- a/ios/Classes/SwiftAppodealFlutterPlugin.swift +++ b/ios/Classes/SwiftAppodealFlutterPlugin.swift @@ -277,7 +277,7 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin { let hasConsent = args["hasConsent"] as! Bool let adTypes = AppodealAdType(rawValue: types.reduce(0) { $0 | getAdType(adId: $1).rawValue }) setCallbacks() - Appodeal.setFramework(APDFramework.flutter, version: "1.0.5-beta") + Appodeal.setFramework(APDFramework.flutter, version: "1.0.4-beta") Appodeal.initialize(withApiKey: appKey, types: adTypes, hasConsent: hasConsent) result(nil) } @@ -289,7 +289,7 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin { let consent = args["consent"] as! String let adTypes = AppodealAdType(rawValue: types.reduce(0) { $0 | getAdType(adId: $1).rawValue }) setCallbacks() - Appodeal.setFramework(APDFramework.flutter, version: "1.0.5-beta") + Appodeal.setFramework(APDFramework.flutter, version: "1.0.4-beta") if(!consent.isEmpty){ let report = STKConsentManager.shared().consent! Appodeal.initialize(withApiKey: appKey, types: adTypes, consentReport: report)