From f22e20c6b5d8404c1f52f6638d9c9544fea6a1f0 Mon Sep 17 00:00:00 2001 From: Vinicius Egidio Date: Fri, 25 Jun 2021 20:38:33 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgraded=20Appodeal=20to?= =?UTF-8?q?=20version=202.10.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/build.gradle | 13 +- .../appodeal_flutter/AppodealFlutterPlugin.kt | 10 +- example/ios/Podfile.lock | 498 +++++++++--------- example/pubspec.lock | 2 +- ios/Classes/SwiftAppodealFlutterPlugin.swift | 9 +- ios/appodeal_flutter.podspec | 40 +- pubspec.yaml | 4 +- 7 files changed, 294 insertions(+), 282 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 88a8c4f..6383e4d 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ group 'io.vinicius.appodeal_flutter' -version '0.6.0' +version '1.0.0' buildscript { ext.kotlin_version = '1.4.10' @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.0.1' + classpath 'com.android.tools.build:gradle:4.0.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -45,7 +45,12 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'com.appodeal.ads:sdk:2.9.1.+' + implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1' + + implementation 'com.appodeal.ads:sdk:2.10.1.+' + implementation 'com.appodeal.ads.sdk.networks:chartboost:2.10.1.6' + implementation 'com.appodeal.ads.sdk.networks:inmobi:2.10.1.7' + implementation 'com.appodeal.ads.sdk.networks:mopub:2.10.1.4' + implementation 'com.appodeal.ads.sdk.networks:tapjoy:2.10.1.7' implementation 'com.explorestack:consent:1.0.4' - implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0' } diff --git a/android/src/main/kotlin/io/vinicius/appodeal_flutter/AppodealFlutterPlugin.kt b/android/src/main/kotlin/io/vinicius/appodeal_flutter/AppodealFlutterPlugin.kt index 99d56c7..83ffe5a 100644 --- a/android/src/main/kotlin/io/vinicius/appodeal_flutter/AppodealFlutterPlugin.kt +++ b/android/src/main/kotlin/io/vinicius/appodeal_flutter/AppodealFlutterPlugin.kt @@ -174,10 +174,7 @@ class AppodealFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { } override fun onFailedToUpdateConsentInfo(exception: ConsentManagerException?) { - result.error( - "CONSENT_INFO_ERROR", "Failed to fetch the consent info", - exception?.reason - ) + result.error("CONSENT_INFO_ERROR", exception!!.reason, null) } } ) @@ -201,10 +198,7 @@ class AppodealFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { } override fun onConsentFormError(exception: ConsentManagerException?) { - result.error( - "CONSENT_WINDOW_ERROR", - "Error showing the consent window", exception?.reason - ) + result.error("CONSENT_WINDOW_ERROR", exception!!.reason, null) } override fun onConsentFormOpened() {} diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b03dc7d..a3fae44 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,43 +1,43 @@ PODS: - - AdColony (4.4.1.1) + - AdColony (4.6.1) - AmazonAd (3.1.0) - AmazonPublisherServicesSDK (3.3.0) - - APDAdColonyAdapter (2.9.1.1): - - AdColony (= 4.4.1.1) - - Appodeal (= 2.9.1) - - APDAmazonAdsAdapter (2.9.1.1): + - APDAdColonyAdapter (2.10.1.1): + - AdColony (= 4.6.1) + - Appodeal (= 2.10.1) + - APDAmazonAdsAdapter (2.10.1.1): - AmazonAd (= 3.1.0) - - Appodeal (= 2.9.1) - - APDAppLovinAdapter (2.9.1.1): - - AppLovinSDK (~> 6.14.11) - - Appodeal (= 2.9.1) - - APDBidMachineAdapter (2.9.1.1): - - APDBidMachineAdapter/HeaderBidding (= 2.9.1.1) - - Appodeal (= 2.9.1) - - APDBidMachineAdapter/AdColony (2.9.1.1): - - AdColony (= 4.4.1.1) + - Appodeal (= 2.10.1) + - APDAppLovinAdapter (2.10.1.2): + - AppLovinSDK (~> 10.3.0) + - Appodeal (= 2.10.1) + - APDBidMachineAdapter (2.10.1.2): + - APDBidMachineAdapter/HeaderBidding (= 2.10.1.2) + - Appodeal (= 2.10.1) + - APDBidMachineAdapter/AdColony (2.10.1.2): + - AdColony (= 4.6.1) - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - APDBidMachineAdapter/Amazon (2.9.1.1): + - Appodeal (= 2.10.1) + - APDBidMachineAdapter/Amazon (2.10.1.2): - AmazonPublisherServicesSDK (= 3.3.0) - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - APDBidMachineAdapter/AppRoll (2.9.1.1): + - Appodeal (= 2.10.1) + - APDBidMachineAdapter/AppRoll (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) + - Appodeal (= 2.10.1) - AppRollSDK (= 3.1.2) - - APDBidMachineAdapter/Core (2.9.1.1): - - Appodeal (= 2.9.1) - - BidMachine (= 1.7.0.2-Beta) - - APDBidMachineAdapter/Criteo (2.9.1.1): + - APDBidMachineAdapter/Core (2.10.1.2): + - Appodeal (= 2.10.1) + - BidMachine (= 1.7.3) + - APDBidMachineAdapter/Criteo (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) + - Appodeal (= 2.10.1) - CriteoPublisherSdk (= 4.0.1) - - APDBidMachineAdapter/Facebook (2.9.1.1): + - APDBidMachineAdapter/Facebook (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - FBAudienceNetwork (= 6.3.0) - - APDBidMachineAdapter/HeaderBidding (2.9.1.1): + - Appodeal (= 2.10.1) + - FBAudienceNetwork (= 6.4.1) + - APDBidMachineAdapter/HeaderBidding (2.10.1.2): - APDBidMachineAdapter/AdColony - APDBidMachineAdapter/Amazon - APDBidMachineAdapter/AppRoll @@ -47,143 +47,150 @@ PODS: - APDBidMachineAdapter/Smaato - APDBidMachineAdapter/Tapjoy - APDBidMachineAdapter/Vungle - - Appodeal (= 2.9.1) - - APDBidMachineAdapter/MyTarget (2.9.1.1): + - Appodeal (= 2.10.1) + - APDBidMachineAdapter/MyTarget (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - myTargetSDK (= 5.9.11) - - APDBidMachineAdapter/Smaato (2.9.1.1): + - Appodeal (= 2.10.1) + - myTargetSDK (= 5.11.2) + - APDBidMachineAdapter/Smaato (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - smaato-ios-sdk (= 21.6.8) - - APDBidMachineAdapter/Tapjoy (2.9.1.1): + - Appodeal (= 2.10.1) + - smaato-ios-sdk (= 21.6.13) + - APDBidMachineAdapter/Tapjoy (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) + - Appodeal (= 2.10.1) - TapjoySDK (= 12.7.0) - - APDBidMachineAdapter/Vungle (2.9.1.1): + - APDBidMachineAdapter/Vungle (2.10.1.2): - APDBidMachineAdapter/Core - - Appodeal (= 2.9.1) - - VungleSDK-iOS (= 6.9.1) - - APDChartboostAdapter (2.9.1.1): - - Appodeal (= 2.9.1) + - Appodeal (= 2.10.1) + - VungleSDK-iOS (= 6.9.2) + - APDChartboostAdapter (2.10.1.1): + - Appodeal (= 2.10.1) - ChartboostSDK (= 8.3.1) - - APDFacebookAudienceAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - FBAudienceNetwork (= 6.3.0) - - APDGoogleAdMobAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - Google-Mobile-Ads-SDK (~> 8.1.0) - - APDInMobiAdapter (2.9.1.1): - - Appodeal (= 2.9.1) + - APDFacebookAudienceAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - FBAudienceNetwork (= 6.4.1) + - APDGoogleAdMobAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - Google-Mobile-Ads-SDK (~> 8.5.0) + - APDInMobiAdapter (2.10.1.1): + - Appodeal (= 2.10.1) - InMobiSDK/Core (= 9.0.7) - - APDIronSourceAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - IronSourceSDK (= 7.1.0) - - APDMintegralAdapter (2.9.1.1): - - Appodeal (= 2.9.1) + - APDIronSourceAdapter (2.10.1.2): + - Appodeal (= 2.10.1) + - IronSourceSDK (= 7.1.6) + - APDMintegralAdapter (2.10.1.1): + - Appodeal (= 2.10.1) - MintegralAdSDK (= 6.6.0.0) - MintegralAdSDK/InterstitialAd (= 6.6.0.0) - MintegralAdSDK/InterstitialVideoAd (= 6.6.0.0) - MintegralAdSDK/RewardVideoAd (= 6.6.0.0) - - APDMyTargetAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - myTargetSDK (= 5.9.11) - - APDOguryAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - OguryAds (~> 1.4.10) - - APDSmaatoAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - smaato-ios-sdk (~> 21.6.8) - - APDStartAppAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - StartAppSDK (= 4.5.0) - - APDTapjoyAdapter (2.9.1.1): - - Appodeal (= 2.9.1) + - APDMyTargetAdapter (2.10.1.2): + - Appodeal (= 2.10.1) + - myTargetSDK (= 5.11.2) + - APDOguryAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - OguryAds (~> 2.3.4) + - APDSmaatoAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - smaato-ios-sdk (~> 21.6.13) + - APDStartAppAdapter (2.10.1.2): + - Appodeal (= 2.10.1) + - StartAppSDK (= 4.6.4) + - APDTapjoyAdapter (2.10.1.1): + - Appodeal (= 2.10.1) - TapjoySDK (= 12.7.0) - - APDTwitterMoPubAdapter (2.9.1.1): - - Appodeal (= 2.9.1) + - APDTwitterMoPubAdapter (2.10.1.1): + - Appodeal (= 2.10.1) - mopub-ios-sdk/Core (~> 5.11.0) - mopub-ios-sdk/NativeAds (~> 5.11.0) - - APDUnityAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - UnityAds (= 3.6.0) - - APDVungleAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - VungleSDK-iOS (= 6.9.1) - - APDYandexAdapter (2.9.1.1): - - Appodeal (= 2.9.1) - - YandexMobileAds (= 3.4.0) - - YandexMobileMetrica (< 4.0.0, >= 3.2.0) - - AppLovinSDK (6.14.11) - - Appodeal (2.9.1): + - APDUnityAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - UnityAds (= 3.7.1) + - APDVungleAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - VungleSDK-iOS (= 6.9.2) + - APDYandexAdapter (2.10.1.1): + - Appodeal (= 2.10.1) + - YandexMobileAds (= 4.1.2) + - AppLovinSDK (10.3.2) + - Appodeal (2.10.1): - Protobuf (~> 3.12) - - StackIAB (~> 1.2.0) - - StackModules (~> 1.0.3) - - appodeal_flutter (0.6.0): - - APDAdColonyAdapter (= 2.9.1.1) - - APDAmazonAdsAdapter (= 2.9.1.1) - - APDAppLovinAdapter (= 2.9.1.1) - - APDBidMachineAdapter (= 2.9.1.1) - - APDChartboostAdapter (= 2.9.1.1) - - APDFacebookAudienceAdapter (= 2.9.1.1) - - APDGoogleAdMobAdapter (= 2.9.1.1) - - APDInMobiAdapter (= 2.9.1.1) - - APDIronSourceAdapter (= 2.9.1.1) - - APDMintegralAdapter (= 2.9.1.1) - - APDMyTargetAdapter (= 2.9.1.1) - - APDOguryAdapter (= 2.9.1.1) - - APDSmaatoAdapter (= 2.9.1.1) - - APDStartAppAdapter (= 2.9.1.1) - - APDTapjoyAdapter (= 2.9.1.1) - - APDTwitterMoPubAdapter (= 2.9.1.1) - - APDUnityAdapter (= 2.9.1.1) - - APDVungleAdapter (= 2.9.1.1) - - APDYandexAdapter (= 2.9.1.1) + - StackCrashReporter (= 1.0.0-Beta) + - StackIAB (~> 1.4.1) + - StackModules (~> 1.1.0) + - appodeal_flutter (1.0.0): + - APDAdColonyAdapter (= 2.10.1.1) + - APDAmazonAdsAdapter (= 2.10.1.1) + - APDAppLovinAdapter (= 2.10.1.2) + - APDBidMachineAdapter (= 2.10.1.2) + - APDChartboostAdapter (= 2.10.1.1) + - APDFacebookAudienceAdapter (= 2.10.1.1) + - APDGoogleAdMobAdapter (= 2.10.1.1) + - APDInMobiAdapter (= 2.10.1.1) + - APDIronSourceAdapter (= 2.10.1.2) + - APDMintegralAdapter (= 2.10.1.1) + - APDMyTargetAdapter (= 2.10.1.2) + - APDOguryAdapter (= 2.10.1.1) + - APDSmaatoAdapter (= 2.10.1.1) + - APDStartAppAdapter (= 2.10.1.2) + - APDTapjoyAdapter (= 2.10.1.1) + - APDTwitterMoPubAdapter (= 2.10.1.1) + - APDUnityAdapter (= 2.10.1.1) + - APDVungleAdapter (= 2.10.1.1) + - APDYandexAdapter (= 2.10.1.1) - Flutter - StackConsentManager (= 1.0.1) - AppRollSDK (3.1.2) - - BidMachine (1.7.0.2-Beta): - - BidMachine/Core (= 1.7.0.2-Beta) - - BidMachine/Core (1.7.0.2-Beta): + - BidMachine (1.7.3.0): + - BidMachine/Core (= 1.7.3.0) + - BidMachine/Core (1.7.3.0): - Protobuf (~> 3.9) - - StackModules (~> 1.0.0) + - StackModules (~> 1.1.0) - ChartboostSDK (8.3.1) - CriteoPublisherSdk (4.0.1): - CriteoPublisherSdk/Sdk (= 4.0.1) - CriteoPublisherSdk/Sdk (4.0.1) - - FBAudienceNetwork (6.3.0): + - FBAudienceNetwork (6.4.1): - FBSDKCoreKit/Basics (>= 7.0.1) - - FBSDKCoreKit/Basics (9.1.0) + - FBSDKCoreKit/Basics (9.3.0) - Flutter (1.0.0) - - Google-Mobile-Ads-SDK (8.1.0): - - GoogleAppMeasurement (~> 7.0) - - GoogleUserMessagingPlatform (~> 1.1) - - GoogleAppMeasurement (7.9.0): - - GoogleUtilities/AppDelegateSwizzler (~> 7.0) - - GoogleUtilities/MethodSwizzler (~> 7.0) - - GoogleUtilities/Network (~> 7.0) - - "GoogleUtilities/NSData+zlib (~> 7.0)" - - nanopb (~> 2.30907.0) - - GoogleUserMessagingPlatform (1.4.0) - - GoogleUtilities/AppDelegateSwizzler (7.3.1): + - Google-Mobile-Ads-SDK (8.5.0): + - GoogleAppMeasurement (< 9.0, >= 7.0) + - GoogleUserMessagingPlatform (>= 1.1) + - GoogleAppMeasurement (8.2.0): + - GoogleAppMeasurement/AdIdSupport (= 8.2.0) + - GoogleUtilities/AppDelegateSwizzler (~> 7.4) + - GoogleUtilities/MethodSwizzler (~> 7.4) + - GoogleUtilities/Network (~> 7.4) + - "GoogleUtilities/NSData+zlib (~> 7.4)" + - nanopb (~> 2.30908.0) + - GoogleAppMeasurement/AdIdSupport (8.2.0): + - GoogleUtilities/AppDelegateSwizzler (~> 7.4) + - GoogleUtilities/MethodSwizzler (~> 7.4) + - GoogleUtilities/Network (~> 7.4) + - "GoogleUtilities/NSData+zlib (~> 7.4)" + - nanopb (~> 2.30908.0) + - GoogleUserMessagingPlatform (2.0.0) + - GoogleUtilities/AppDelegateSwizzler (7.4.3): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - - GoogleUtilities/Environment (7.3.1): + - GoogleUtilities/Environment (7.4.3): - PromisesObjC (~> 1.2) - - GoogleUtilities/Logger (7.3.1): + - GoogleUtilities/Logger (7.4.3): - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (7.3.1): + - GoogleUtilities/MethodSwizzler (7.4.3): - GoogleUtilities/Logger - - GoogleUtilities/Network (7.3.1): + - GoogleUtilities/Network (7.4.3): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (7.3.1)" - - GoogleUtilities/Reachability (7.3.1): + - "GoogleUtilities/NSData+zlib (7.4.3)" + - GoogleUtilities/Reachability (7.4.3): - GoogleUtilities/Logger - InMobiSDK/Core (9.0.7) - - IronSourceSDK (7.1.0.0) + - IronSourceSDK (7.1.6.0) - MintegralAdSDK (6.6.0.0): - MintegralAdSDK/NativeAd (= 6.6.0.0) - MintegralAdSDK/InterstitialAd (6.6.0.0): @@ -196,112 +203,119 @@ PODS: - mopub-ios-sdk/Core (5.11.0) - mopub-ios-sdk/NativeAds (5.11.0): - mopub-ios-sdk/Core - - myTargetSDK (5.9.11) - - nanopb (2.30907.0): - - nanopb/decode (= 2.30907.0) - - nanopb/encode (= 2.30907.0) - - nanopb/decode (2.30907.0) - - nanopb/encode (2.30907.0) - - OguryAds (1.4.10): - - OguryAds/OMID (= 1.4.10) - - OguryAds/OMID (1.4.10) + - myTargetSDK (5.11.2) + - nanopb (2.30908.0): + - nanopb/decode (= 2.30908.0) + - nanopb/encode (= 2.30908.0) + - nanopb/decode (2.30908.0) + - nanopb/encode (2.30908.0) + - OguryAds (2.3.5): + - OguryAds/OMID (= 2.3.5) + - OguryAds/OMID (2.3.5) - PromisesObjC (1.2.12) - - Protobuf (3.14.0) - - smaato-ios-sdk (21.6.8): - - smaato-ios-sdk/Full (= 21.6.8) - - smaato-ios-sdk/Banner (21.6.8): + - Protobuf (3.17.0) + - smaato-ios-sdk (21.6.13): + - smaato-ios-sdk/Full (= 21.6.13) + - smaato-ios-sdk/Banner (21.6.13): - smaato-ios-sdk/Modules/Banner - smaato-ios-sdk/Modules/Core - smaato-ios-sdk/Modules/RichMedia - - smaato-ios-sdk/Full (21.6.8): + - smaato-ios-sdk/Full (21.6.13): - smaato-ios-sdk/Banner - smaato-ios-sdk/Interstitial - smaato-ios-sdk/Native - smaato-ios-sdk/RewardedAds - - smaato-ios-sdk/Interstitial (21.6.8): + - smaato-ios-sdk/Interstitial (21.6.13): - smaato-ios-sdk/Modules/Interstitial - smaato-ios-sdk/Modules/RichMedia - smaato-ios-sdk/Modules/Video - - smaato-ios-sdk/Modules/Banner (21.6.8): + - smaato-ios-sdk/Modules/Banner (21.6.13): - smaato-ios-sdk/Modules/Core - - smaato-ios-sdk/Modules/Core (21.6.8) - - smaato-ios-sdk/Modules/Interstitial (21.6.8): + - smaato-ios-sdk/Modules/Core (21.6.13) + - smaato-ios-sdk/Modules/Interstitial (21.6.13): - smaato-ios-sdk/Modules/Core - - smaato-ios-sdk/Modules/Native (21.6.8): + - smaato-ios-sdk/Modules/Native (21.6.13): - smaato-ios-sdk/Modules/Core - - smaato-ios-sdk/Modules/OpenMeasurement (21.6.8): + - smaato-ios-sdk/Modules/OpenMeasurement (21.6.13): - smaato-ios-sdk/Modules/Core - - smaato-ios-sdk/Modules/RewardedAds (21.6.8): + - smaato-ios-sdk/Modules/RewardedAds (21.6.13): - smaato-ios-sdk/Modules/Core - - smaato-ios-sdk/Modules/RichMedia (21.6.8): + - smaato-ios-sdk/Modules/RichMedia (21.6.13): - smaato-ios-sdk/Modules/Core - smaato-ios-sdk/Modules/OpenMeasurement - - smaato-ios-sdk/Modules/Video (21.6.8): + - smaato-ios-sdk/Modules/Video (21.6.13): - smaato-ios-sdk/Modules/Core - smaato-ios-sdk/Modules/OpenMeasurement - - smaato-ios-sdk/Native (21.6.8): + - smaato-ios-sdk/Native (21.6.13): - smaato-ios-sdk/Modules/Core - smaato-ios-sdk/Modules/Native - - smaato-ios-sdk/RewardedAds (21.6.8): + - smaato-ios-sdk/RewardedAds (21.6.13): - smaato-ios-sdk/Modules/RewardedAds - smaato-ios-sdk/Modules/Video - StackConsentManager (1.0.1) - - StackIAB (1.2.0): - - StackIAB/StackIABAssets (= 1.2.0) - - StackIAB/StackMRAIDKit (= 1.2.0) - - StackIAB/StackNASTKit (= 1.2.0) - - StackIAB/StackRichMedia (= 1.2.0) - - StackIAB/StackVASTAssets (= 1.2.0) - - StackIAB/StackVASTKit (= 1.2.0) - - StackIAB/StackVideoPlayer (= 1.2.0) - - StackIAB/StackXML (= 1.2.0) - - StackModules (~> 1.0.0) - - StackIAB/StackIABAssets (1.2.0): - - StackModules (~> 1.0.0) - - StackIAB/StackMRAIDKit (1.2.0): + - StackCrashReporter (1.0.0-Beta) + - StackIAB (1.4.3): + - StackIAB/StackIABAssets (= 1.4.3) + - StackIAB/StackMRAIDKit (= 1.4.3) + - StackIAB/StackNASTKit (= 1.4.3) + - StackIAB/StackOpenMeasure (= 1.4.3) + - StackIAB/StackRichMedia (= 1.4.3) + - StackIAB/StackVASTAssets (= 1.4.3) + - StackIAB/StackVASTKit (= 1.4.3) + - StackIAB/StackVideoPlayer (= 1.4.3) + - StackIAB/StackXML (= 1.4.3) + - StackModules (~> 1.1.0) + - StackIAB/StackIABAssets (1.4.3): + - StackModules (~> 1.1.0) + - StackIAB/StackMRAIDKit (1.4.3): - StackIAB/StackIABAssets - - StackModules (~> 1.0.0) - - StackIAB/StackNASTKit (1.2.0): + - StackIAB/StackOpenMeasure + - StackModules (~> 1.1.0) + - StackIAB/StackNASTKit (1.4.3): - StackIAB/StackVASTKit - - StackModules (~> 1.0.0) - - StackIAB/StackRichMedia (1.2.0): + - StackModules (~> 1.1.0) + - StackIAB/StackOpenMeasure (1.4.3): + - StackModules (~> 1.1.0) + - StackIAB/StackRichMedia (1.4.3): - StackIAB/StackIABAssets - StackIAB/StackVASTAssets - StackIAB/StackVideoPlayer - - StackModules (~> 1.0.0) - - StackIAB/StackVASTAssets (1.2.0): + - StackModules (~> 1.1.0) + - StackIAB/StackVASTAssets (1.4.3): - StackIAB/StackIABAssets - StackIAB/StackXML - - StackModules (~> 1.0.0) - - StackIAB/StackVASTKit (1.2.0): + - StackModules (~> 1.1.0) + - StackIAB/StackVASTKit (1.4.3): - StackIAB/StackMRAIDKit - StackIAB/StackVASTAssets - StackIAB/StackVideoPlayer - - StackModules (~> 1.0.0) - - StackIAB/StackVideoPlayer (1.2.0): - - StackModules (~> 1.0.0) - - StackIAB/StackXML (1.2.0): - - StackModules (~> 1.0.0) - - StackModules (1.0.7): - - StackModules/StackUIKit (= 1.0.7) - - StackModules/StackFoundation (1.0.7) - - StackModules/StackUIKit (1.0.7): + - StackModules (~> 1.1.0) + - StackIAB/StackVideoPlayer (1.4.3): + - StackModules (~> 1.1.0) + - StackIAB/StackXML (1.4.3): + - StackModules (~> 1.1.0) + - StackModules (1.1.3): + - StackModules/StackProductPresentation (= 1.1.3) + - StackModules/StackFoundation (1.1.3) + - StackModules/StackProductPresentation (1.1.3): + - StackModules/StackUIKit + - StackModules/StackUIKit (1.1.3): - StackModules/StackFoundation - - StartAppSDK (4.5.0) + - StartAppSDK (4.6.4) - TapjoySDK (12.7.0) - - UnityAds (3.6.0) - - VungleSDK-iOS (6.9.1) - - YandexMobileAds (3.4.0): - - YandexMobileAds/Static (= 3.4.0) - - YandexMobileAds/Static (3.4.0): - - YandexMobileMetrica (< 4.0.0, >= 3.2.0) - - YandexMobileMetrica (3.14.1): - - YandexMobileMetrica/Static (= 3.14.1) - - YandexMobileMetrica/Static (3.14.1): - - YandexMobileMetrica/Static/Core (= 3.14.1) - - YandexMobileMetrica/Static/Crashes (= 3.14.1) - - YandexMobileMetrica/Static/Core (3.14.1) - - YandexMobileMetrica/Static/Crashes (3.14.1): + - UnityAds (3.7.1) + - VungleSDK-iOS (6.9.2) + - YandexMobileAds (4.1.2): + - YandexMobileAds/Static (= 4.1.2) + - YandexMobileAds/Static (4.1.2): + - YandexMobileMetrica (< 4.0.0, >= 3.14.1) + - YandexMobileMetrica (3.17.0): + - YandexMobileMetrica/Static (= 3.17.0) + - YandexMobileMetrica/Static (3.17.0): + - YandexMobileMetrica/Static/Core (= 3.17.0) + - YandexMobileMetrica/Static/Crashes (= 3.17.0) + - YandexMobileMetrica/Static/Core (3.17.0) + - YandexMobileMetrica/Static/Crashes (3.17.0): - YandexMobileMetrica/Static/Core DEPENDENCIES: @@ -355,6 +369,7 @@ SPEC REPOS: - Protobuf - smaato-ios-sdk - StackConsentManager + - StackCrashReporter - StackIAB - StackModules - StartAppSDK @@ -371,61 +386,62 @@ EXTERNAL SOURCES: :path: Flutter SPEC CHECKSUMS: - AdColony: a655685ae4a62eb8d6ddffa5fc1436858872a9e7 + AdColony: 957c975fa756fcdb10a91e8a7d6de4cf5bfc4f78 AmazonAd: 9adf416ea36ca2325ce2040c0cf124f071089904 AmazonPublisherServicesSDK: 12ec8a797b49796f2714d5f99235370e24bf93e6 - APDAdColonyAdapter: dd20edf1bc525037f72ca1e0bc6e316a704e3d19 - APDAmazonAdsAdapter: 110dfc7678552b8d20e912b02cbd5366a125bf9a - APDAppLovinAdapter: 8773a2a71ae1017a651134628e9cfe21a9de65db - APDBidMachineAdapter: 83ab68fd37ad1554bea9bf3ffbddb53c6e9533e7 - APDChartboostAdapter: bd6ea558d777cc78d1419c3f62a4bf7766f86565 - APDFacebookAudienceAdapter: 12ffc53656513851ff550ebce3c3d2812be183e1 - APDGoogleAdMobAdapter: 9278be77a7d48a4b801e44e9744674ec2f02da5d - APDInMobiAdapter: c00709a0a5e01907fdede02c76aec2d144c9e0df - APDIronSourceAdapter: c14de550d8080c65f5334fe1ccd614769b555072 - APDMintegralAdapter: d7671424e46dee0415d4fe694672aebeb4bf16f1 - APDMyTargetAdapter: 6375f31b0b67ad28587ce70cce4535d29c96abd3 - APDOguryAdapter: 94059e7f8ff27eb068b350077728db25af797b59 - APDSmaatoAdapter: e928e7593efbda8d3988d585a701b97c2e3f1d0d - APDStartAppAdapter: 545942037cc18d9eae7b403ccdf38bf7b07440c4 - APDTapjoyAdapter: 97cdea906cc1ddaf19d31d9486bc8853f9d3d44b - APDTwitterMoPubAdapter: b1a6ef12b2bb0b9445965f277bfbf7678ee2ca7e - APDUnityAdapter: d15218c301a077264c9971019bfbf1a801ed1d4d - APDVungleAdapter: 4e0c0bf51936c584ada9e6a8b4354e178edfd463 - APDYandexAdapter: d81b84a390016b333fa5f5e300a4f38d3af5fecc - AppLovinSDK: 768397bbd5cb5ec1179ba32a17f06ff119ebcffe - Appodeal: 3a7741d2bd3e7a1960f659c05e040c60b43d0904 - appodeal_flutter: 3cfd06a64650218b8c2bcc93f9447819b5e9eed3 + APDAdColonyAdapter: 7cba313e456abb7e35ab043aff5198b66ef7a8d4 + APDAmazonAdsAdapter: b8fd0277d75d2ec54fd82b19a4e6389db2fcd9be + APDAppLovinAdapter: f6111bdb990caa836f0262fad466a1f3e2ae1fba + APDBidMachineAdapter: 81118394e9dfefb4812ba9fa95da565190b8bc71 + APDChartboostAdapter: fb4baba5b4e35999524b0e2dc2e71aae1b5543b7 + APDFacebookAudienceAdapter: 7985c9001d8d6e4a08fc9f9d6a280ef6bd3d967f + APDGoogleAdMobAdapter: 5d5079be9fb525b9781a4642a141da1af9677e50 + APDInMobiAdapter: 33496530d739c74714bc7ccda7ebbdfbcc3ea899 + APDIronSourceAdapter: c3c89469706dd380cd29d14c683be1a4db473906 + APDMintegralAdapter: a279418e548b4fe5325562579b2727d98cb83963 + APDMyTargetAdapter: 7e3f0ce04ea3a4fbb6dbcc8c449b8dd3582d25c0 + APDOguryAdapter: 1e3be26a3ae206ed527a8ab3ef58fc93024db00f + APDSmaatoAdapter: fca79d8e8d8be3fdbe8b2dfbb69819f6f0e67908 + APDStartAppAdapter: e87b01a28b17937d1ae069b1fdebd22455b8640a + APDTapjoyAdapter: 804ead41c38c18d84307bdcd25722e35892eb91f + APDTwitterMoPubAdapter: 4850bd4ec223407c982ebf56103a2c685cd380ad + APDUnityAdapter: bc41596c5e59c168ca2900c088cc6448e73e2764 + APDVungleAdapter: eb59e56d758da1fd325b39753c669998db450e9d + APDYandexAdapter: bdfe05e2bb796d3bca08adf890fcf8edc781dff8 + AppLovinSDK: 3bbfef1e3ac84d85f556fda26e50f5a70230b970 + Appodeal: 1bb4a1d29eff4c30deab00ec04103ee0bf4279c1 + appodeal_flutter: a195a97aa259f60a78795cd2c0298a098ddabb03 AppRollSDK: bd9e96ad026dd51ad07714a35d43da95bb882d5f - BidMachine: 5aff266fee79f0aa49cf41bae86ae280df1a0974 + BidMachine: e1cfa7f47a51ec6afbc62949d12274f61c04c1bf ChartboostSDK: df785becfd574915aeb8704818fa57679c099711 CriteoPublisherSdk: a7551daf9235203a040703504ae549e842b5eebf - FBAudienceNetwork: 58b4d0f2359783e5bc9ee59f138b4fda43173ac4 - FBSDKCoreKit: a00fe2efd780c195a5e09201bf51c56106245b40 + FBAudienceNetwork: 1974ec59ef88102f284c29941d73d0cbec3f2874 + FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3 Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c - Google-Mobile-Ads-SDK: efb7fb74595668fbbe680f0d1c06f9a8ff694c7c - GoogleAppMeasurement: 120eec8803fe65a4a7475fb3d3d59a61d0e1a866 - GoogleUserMessagingPlatform: b168e8c46cd8f92aa3e34b584c4ca78a411ce367 - GoogleUtilities: e1d9ed4e544fc32a93e00e721400cbc3f377200d + Google-Mobile-Ads-SDK: 6f5c41bf73db1656e5b203ba9c31e3d0899a128d + GoogleAppMeasurement: b52eafc9dff542d580700e708216568bd2fbf168 + GoogleUserMessagingPlatform: ab890ce5f6620f293a21b6bdd82e416a2c73aeca + GoogleUtilities: 45dbb24a7f351d69d0a601482b39ad6c32e30dab InMobiSDK: c3ec3fed998d8431ba31ad16565d102159e3f9e3 - IronSourceSDK: f090f9be30cc8c9d31d4d5b98847f98e80de59a6 + IronSourceSDK: 3cd80081469b1228cfaacb516eedb02f022745ea MintegralAdSDK: 2e37e32cdfbf5f7d8399cad67f0271e92da098d5 mopub-ios-sdk: 292b8e9a55a2e72a34afc04ec01e85486af46240 - myTargetSDK: cbb26c0882128ac2fdf084083d37e98c8e59b42e - nanopb: 59221d7f958fb711001e6a449489542d92ae113e - OguryAds: feeea310861385799026e9292b2734b1324d8159 + myTargetSDK: edbafedbd3c86f88366d738cae9adee9e6c2359b + nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96 + OguryAds: 8dccce073aea7e11ddb83f1122e8ee65bf33f3c3 PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 - Protobuf: 0cde852566359049847168e51bd1c690e0f70056 - smaato-ios-sdk: b697f500a7d62e7fca9894df7d767cb35017feba + Protobuf: 7327d4444215b5f18e560a97f879ff5503c4581c + smaato-ios-sdk: 700f044b161581a3396072d01ce48c81c09a9fa3 StackConsentManager: 2e7c7512d4c1b5dddf248e7e9f78931d8d0142e8 - StackIAB: 39e22a69660851170aa4696c678242b79bfe88b7 - StackModules: dc5ee5fc4a86e6f1b4b55e93a4a6d7e3616f7aa0 - StartAppSDK: d4680feb85ffb81d42b247f1a68affb56625ba7e + StackCrashReporter: 855bc6d59c5ab0a8103b1428e1d5d25abe61ed30 + StackIAB: 0229259e7616ea48da76466a325cf7c53ea860cd + StackModules: 9cf0d50a595e49191211cfe22fe4fd0f443097cc + StartAppSDK: cb5a43363fc10ee4977b42f77d81b995d73262f0 TapjoySDK: e863ea0d0f5d3ab3f8f12d9a9af737789d9dab6d - UnityAds: 3f88cf3d3b11991de1025fcf0e3109fd86035fba - VungleSDK-iOS: 09abfadbcc04e0748ce33c6bd02282e9961125ba - YandexMobileAds: 5a22616824fb108e19e521a9051f6393e2c92b9d - YandexMobileMetrica: 072fc59d216c8824d83d1d54bdc6e96d9cfcc59c + UnityAds: 5b17b608ddb50ec7705b17e7884aa516be118938 + VungleSDK-iOS: f9dbcb5dde6036d424c29fbdd43159b1be19bdbd + YandexMobileAds: 8bc89fe89d5e26e67c74492adcf6b40f97985da2 + YandexMobileMetrica: 9e713c16bb6aca0ba63b84c8d7b8b86d32f4ecc4 PODFILE CHECKSUM: fe0e1ee7f3d1f7d00b11b474b62dd62134535aea diff --git a/example/pubspec.lock b/example/pubspec.lock index 3ed50b8..266d865 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "0.6.0" + version: "1.0.0" async: dependency: transitive description: diff --git a/ios/Classes/SwiftAppodealFlutterPlugin.swift b/ios/Classes/SwiftAppodealFlutterPlugin.swift index b11a1ff..c069098 100644 --- a/ios/Classes/SwiftAppodealFlutterPlugin.swift +++ b/ios/Classes/SwiftAppodealFlutterPlugin.swift @@ -127,8 +127,7 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin { "zone": STKConsentManager.shared().regulation.rawValue, ]) } else { - result(FlutterError(code: "CONSENT_INFO_ERROR", message: "Failed to fetch the consent info", - details: error)) + result(FlutterError(code: "CONSENT_INFO_ERROR", message: error!.localizedDescription, details: nil)) } } } @@ -141,8 +140,7 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin { if error == nil { result(STKConsentManager.shared().shouldShowConsentDialog == .true) } else { - result(FlutterError(code: "CONSENT_CHECK_ERROR", message: "Failed to check if consent is needed", - details: error)) + result(FlutterError(code: "CONSENT_CHECK_ERROR", message: error!.localizedDescription, details: nil)) } } } @@ -154,8 +152,7 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin { STKConsentManager.shared().showConsentDialog(fromRootViewController: controller!, delegate: nil) result(nil) } else { - result(FlutterError(code: "CONSENT_WINDOW_ERROR", message: "Error showing the consent window", - details: error)) + result(FlutterError(code: "CONSENT_WINDOW_ERROR", message: error!.localizedDescription, details: nil)) } } } diff --git a/ios/appodeal_flutter.podspec b/ios/appodeal_flutter.podspec index 93aae17..3fb9437 100644 --- a/ios/appodeal_flutter.podspec +++ b/ios/appodeal_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'appodeal_flutter' - s.version = '0.6.0' + s.version = '1.0.0' s.summary = 'A Flutter plugin to display ads from Appodeal.' s.description = <<-DESC A Flutter plugin to display ads from Appodeal; it supports the new reqs for iOS 14+ and GDPR/CCPA consent. @@ -19,25 +19,25 @@ A Flutter plugin to display ads from Appodeal; it supports the new reqs for iOS s.static_framework = true # Appodeal Dependencies - s.dependency 'APDAdColonyAdapter', '2.9.1.1' - s.dependency 'APDAmazonAdsAdapter', '2.9.1.1' - s.dependency 'APDAppLovinAdapter', '2.9.1.1' - s.dependency 'APDBidMachineAdapter', '2.9.1.1' - s.dependency 'APDChartboostAdapter', '2.9.1.1' - s.dependency 'APDFacebookAudienceAdapter', '2.9.1.1' - s.dependency 'APDGoogleAdMobAdapter', '2.9.1.1' - s.dependency 'APDInMobiAdapter', '2.9.1.1' - s.dependency 'APDIronSourceAdapter', '2.9.1.1' - s.dependency 'APDMintegralAdapter', '2.9.1.1' - s.dependency 'APDMyTargetAdapter', '2.9.1.1' - s.dependency 'APDOguryAdapter', '2.9.1.1' - s.dependency 'APDSmaatoAdapter', '2.9.1.1' - s.dependency 'APDStartAppAdapter', '2.9.1.1' - s.dependency 'APDTapjoyAdapter', '2.9.1.1' - s.dependency 'APDTwitterMoPubAdapter', '2.9.1.1' - s.dependency 'APDUnityAdapter', '2.9.1.1' - s.dependency 'APDVungleAdapter', '2.9.1.1' - s.dependency 'APDYandexAdapter', '2.9.1.1' + s.dependency 'APDAdColonyAdapter', '2.10.1.1' + s.dependency 'APDAmazonAdsAdapter', '2.10.1.1' + s.dependency 'APDAppLovinAdapter', '2.10.1.2' + s.dependency 'APDBidMachineAdapter', '2.10.1.2' + s.dependency 'APDChartboostAdapter', '2.10.1.1' + s.dependency 'APDFacebookAudienceAdapter', '2.10.1.1' + s.dependency 'APDGoogleAdMobAdapter', '2.10.1.1' + s.dependency 'APDInMobiAdapter', '2.10.1.1' + s.dependency 'APDIronSourceAdapter', '2.10.1.2' + s.dependency 'APDMintegralAdapter', '2.10.1.1' + s.dependency 'APDMyTargetAdapter', '2.10.1.2' + s.dependency 'APDOguryAdapter', '2.10.1.1' + s.dependency 'APDSmaatoAdapter', '2.10.1.1' + s.dependency 'APDStartAppAdapter', '2.10.1.2' + s.dependency 'APDTapjoyAdapter', '2.10.1.1' + s.dependency 'APDTwitterMoPubAdapter', '2.10.1.1' + s.dependency 'APDUnityAdapter', '2.10.1.1' + s.dependency 'APDVungleAdapter', '2.10.1.1' + s.dependency 'APDYandexAdapter', '2.10.1.1' # Consent Manager Dependency s.dependency 'StackConsentManager', '1.0.1' diff --git a/pubspec.yaml b/pubspec.yaml index 4358786..f14d81b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: appodeal_flutter -description: A Flutter plugin to display ads from Appodeal; it supports the new reqs for iOS 14+ and GDPR/CCPA consent. -version: 0.6.0 +description: A Flutter plugin to display ads from Appodeal; it supports consent dialog to track users. +version: 1.0.0 homepage: https://github.com/vegidio-flutter/appodeal environment: