diff --git a/RELEASENOTES.md b/RELEASENOTES.md index bf7b6ee9..5a9bdbde 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,3 +1,7 @@ +## 6.15.11 + Release date: *2024-09-03* +- Cordova >> Fix chartboost adrevenue enum typo in ios side + ## 6.15.1 Release date: *2024-09-02* diff --git a/package.json b/package.json index f2f417a6..0888b74a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cordova-plugin-appsflyer-sdk", - "version": "6.15.1", + "version": "6.15.11", "description": "Cordova AppsFlyer SDK Plugin", diff --git a/src/android/com/appsflyer/cordova/plugin/AppsFlyerPlugin.java b/src/android/com/appsflyer/cordova/plugin/AppsFlyerPlugin.java index 5cc81b6f..3b6d9627 100644 --- a/src/android/com/appsflyer/cordova/plugin/AppsFlyerPlugin.java +++ b/src/android/com/appsflyer/cordova/plugin/AppsFlyerPlugin.java @@ -206,7 +206,7 @@ private boolean logAdRevenue(JSONArray args) { for(MediationNetwork mediationNetworkEnum: MediationNetwork.values()){ if(mediationNetworkEnum.getValue().equals(mediationNetwork)){ mediationNetworkEnumVal = mediationNetworkEnum; - continue; + break; } } } diff --git a/src/ios/AppsFlyerPlugin.m b/src/ios/AppsFlyerPlugin.m index 796ccc79..b7a2d6f3 100755 --- a/src/ios/AppsFlyerPlugin.m +++ b/src/ios/AppsFlyerPlugin.m @@ -208,7 +208,7 @@ - (AppsFlyerAdRevenueMediationNetworkType)getEnumValueFromString:(NSString *)med @"Topon": @(AppsFlyerAdRevenueMediationNetworkTypeTopon), @"Tradplus": @(AppsFlyerAdRevenueMediationNetworkTypeTradplus), @"Yandex": @(AppsFlyerAdRevenueMediationNetworkTypeYandex), - @"Saturchartboostday": @(AppsFlyerAdRevenueMediationNetworkTypeChartBoost), + @"chartboost": @(AppsFlyerAdRevenueMediationNetworkTypeChartBoost), @"Unity": @(AppsFlyerAdRevenueMediationNetworkTypeUnity), @"toponpte": @(AppsFlyerAdRevenueMediationNetworkTypeToponPte), @"customMediation": @(AppsFlyerAdRevenueMediationNetworkTypeCustom),