Skip to content

Commit

Permalink
Release 1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Str4tos committed Dec 16, 2020
1 parent 1e1257e commit ea204d2
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Clever Ads Solutions Unity Plugin Change Log

## [1.8.2] - 2020-12-16
### Dependencies
- [Android] Wraps [1.8.2 SDK](https://github.com/cleveradssolutions/CAS-Android/releases)
- [iOS] Wraps [1.8.2 SDK](https://github.com/cleveradssolutions/CAS-iOS/releases)
- External Dependency Manager for Unity [1.2.162](https://github.com/googlesamples/unity-jar-resolver/releases/tag/v1.2.162)
### Features
- [iOS] Added more flexibility in advanced dependency integration.

## [1.8.1] - 2020-12-07
### Dependencies
- [Android] Wraps [1.8.1 SDK](https://github.com/cleveradssolutions/CAS-Android/releases)
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ Modify `Packages/manifest.json` to the following form:
],
"dependencies": {
"com.cleversolutions.ads.unity"
: "https://github.com/cleveradssolutions/CAS-Unity.git#1.8.1",
...
: "https://github.com/cleveradssolutions/CAS-Unity.git#1.8.2"
}
}
```
Expand Down
6 changes: 6 additions & 0 deletions Runtime/Android/CASJavaProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ internal static AndroidJavaObject GetJavaListObject( List<string> csTypeList )
}
return javaTypeArrayList;
}

internal static AndroidJavaObject GetUnityActivity()
{
AndroidJavaClass playerClass = new AndroidJavaClass( UnityActivityClassName );
return playerClass.GetStatic<AndroidJavaObject>( "currentActivity" );
}
}

internal class InitializationListenerProxy : AndroidJavaProxy
Expand Down
3 changes: 1 addition & 2 deletions Runtime/Android/CASMediationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ public void CreateManager( AdFlags enableAd, InitCompleteAction initCompleteActi
if (initCompleteAction != null)
initializationListener = new InitializationListenerProxy( this, initCompleteAction );

AndroidJavaClass playerClass = new AndroidJavaClass( CASJavaProxy.UnityActivityClassName );
AndroidJavaObject activity = playerClass.GetStatic<AndroidJavaObject>( "currentActivity" );
AndroidJavaObject activity = CASJavaProxy.GetUnityActivity();

_managerBridge = new AndroidJavaObject( CASJavaProxy.NativeBridgeClassName,
activity,
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Common/MobileAds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class MobileAds
/// <summary>
/// CAS Unity wrapper version
/// </summary>
public const string wrapperVersion = "1.8.1";
public const string wrapperVersion = "1.8.2";

/// <summary>
/// Get singleton instance for configure all mediation managers.
Expand Down
2 changes: 1 addition & 1 deletion Templates/CASAndroidMediation.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"simple":[{"name":"MixedAudience","version":"1.8.1","require":"","url":"","filter":-1,"dependencies":["com.cleversolutions.ads:cas-sdk-teen:1.8.1","tv.superawesome.sdk.publisher:superawesome:7.2.15+"],"contains":["Base","Additional","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","FacebookAN","YandexAds","SuperAwesome"],"source":[],"beta":false},{"name":"FamiliesAds","version":"1.8.1","require":"","url":"","filter":2,"dependencies":["com.cleversolutions.ads:cas-sdk-general:1.8.1"],"contains":["Base","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","SuperAwesome"],"source":[],"beta":false},{"name":"NotChildrenAds","version":"1.8.1","require":"","url":"","filter":0,"dependencies":["com.cleversolutions.ads:cas-sdk-teen:1.8.1"],"contains":["Base","Additional","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","FacebookAN","YandexAds"],"source":[],"beta":false}],"advanced":[{"name":"Base","version":"1.8.1","require":"","url":"https://cleveradssolutions.com/","filter":1,"dependencies":["com.cleversolutions.ads:cas-sdk:1.8.1"],"contains":[],"source":["https://dl.bintray.com/cleveradssolutions/CAS-Android"],"beta":false},{"name":"Additional","version":"1.8.1","require":"Base","url":"https://cleveradssolutions.com/","filter":0,"dependencies":["com.cleversolutions.ads:mediation-teen:1.8.1"],"contains":[],"source":[],"beta":false},{"name":"CrossPromotion","version":"1.8.1","require":"Base","url":"https://github.com/cleveradssolutions/CAS-Unity#cross-promotion-enabled","filter":1,"dependencies":["com.cleversolutions.ads:cas-promo:1.8.1"],"contains":[],"source":[],"beta":false},{"name":"GoogleAds","version":"19.6.0","require":"Base","url":"https://admob.google.com/home/","filter":1,"dependencies":["com.google.android.gms:play-services-ads:19.6.0"],"contains":[],"source":[],"beta":false},{"name":"UnityAds","version":"3.5.0","require":"Base","url":"https://unity.com/solutions/unity-ads","filter":1,"dependencies":["com.unity3d.ads:unity-ads:3.5.0"],"contains":[],"source":[],"beta":false},{"name":"IronSource","version":"7.0.4","require":"Base","url":"https://www.ironsrc.com","filter":1,"dependencies":["com.ironsource.sdk:mediationsdk:7.0.4+"],"contains":[],"source":["https://dl.bintray.com/ironsource-mobile/android-sdk"],"beta":false},{"name":"AdColony","version":"4.3.0","require":"Base","url":"https://www.adcolony.com/","filter":1,"dependencies":["com.adcolony:sdk:4.3.0"],"contains":[],"source":["https://adcolony.bintray.com/AdColony"],"beta":false},{"name":"Vungle","version":"6.8.1","require":"Base","url":"https://vungle.com/","filter":1,"dependencies":["com.vungle:publisher-sdk-android:6.8.1+"],"contains":[],"source":[],"beta":false},{"name":"AppLovin","version":"9.14.10","require":"Base","url":"https://www.applovin.com/","filter":1,"dependencies":["com.applovin:applovin-sdk:9.14.10+"],"contains":[],"source":[],"beta":false},{"name":"InMobi","version":"9.1.1","require":"Base","url":"https://www.inmobi.com/","filter":1,"dependencies":["com.inmobi.monetization:inmobi-ads:9.1.1+"],"contains":[],"source":[],"beta":false},{"name":"Chartboost","version":"8.2.0","require":"Base","url":"https://www.chartboost.com/","filter":1,"dependencies":["com.chartboost:chartboost-sdk:8.2.0"],"contains":[],"source":["https://chartboostmobile.bintray.com/Chartboost"],"beta":false},{"name":"StartApp","version":"4.7.5","require":"Base","url":"https://www.startapp.com/","filter":1,"dependencies":["com.chartboost:chartboost-sdk:8.2.0"],"contains":[],"source":[],"beta":false},{"name":"Kidoz","version":"0.8.8.8","require":"Base","url":"https://kidoz.net/","filter":1,"dependencies":["com.kidoz.sdk:KidozSDK:0.8.8.8+"],"contains":[],"source":[],"beta":false},{"name":"SuperAwesome","version":"7.2.15","require":"Base","url":"https://www.superawesome.com/","filter":2,"dependencies":["tv.superawesome.sdk.publisher:superawesome:7.2.15+"],"contains":[],"source":["http://dl.bintray.com/gabrielcoman/maven","http://dl.bintray.com/superawesome/SuperAwesomeSDK"],"beta":false},{"name":"FacebookAN","version":"6.2.0","require":"Additional","url":"https://www.facebook.com/business/marketing/audience-network","filter":0,"dependencies":["com.facebook.android:audience-network-sdk:6.2.0"],"contains":[],"source":[],"beta":false},{"name":"YandexAds","version":"3.1.1","require":"Additional","url":"https://yandex.ru/dev/mobile-ads","filter":0,"dependencies":["com.yandex.android:mobileads:3.1.1+","com.yandex.android:mobmetricalib:3.14.3"],"contains":[],"source":[],"beta":false},{"name":"MyTarget","version":"5.11.6","require":"Additional","url":"https://target.my.com/","filter":0,"dependencies":["com.my.target:mytarget-sdk:5.11.6+"],"contains":[],"source":[],"beta":true},{"name":"Verizon","version":"1.8.1","require":"Additional","url":"https://www.verizonmedia.com/advertising/solutions#/mobile","filter":0,"dependencies":["com.verizon.ads:android-vas-standard-edition:1.8.1+"],"contains":[],"source":[],"beta":true},{"name":"MobFox","version":"4.3.2","require":"Additional","url":"https://www.mobfox.com/","filter":0,"dependencies":["com.github.mobfox:mfx-android-sdk:4.3.2+","com.android.volley:volley:1.1.1"],"contains":[],"source":["https://jitpack.io"],"beta":true},{"name":"AmazonAds","version":"6.0.0","require":"Additional","url":"https://advertising.amazon.com/","filter":0,"dependencies":["com.amazon.android:mobile-ads:6.0.0"],"contains":[],"source":[],"beta":true}]}
{"simple":[{"name":"MixedAudience","version":"1.8.2","require":"","url":"","filter":-1,"dependencies":["com.cleversolutions.ads:cas-sdk-teen:1.8.2","tv.superawesome.sdk.publisher:superawesome:7.2.16+"],"contains":["Base","Additional","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","FacebookAN","YandexAds","SuperAwesome"],"source":[],"beta":false},{"name":"FamiliesAds","version":"1.8.2","require":"","url":"","filter":2,"dependencies":["com.cleversolutions.ads:cas-sdk-general:1.8.2"],"contains":["Base","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","SuperAwesome"],"source":[],"beta":false},{"name":"NotChildrenAds","version":"1.8.2","require":"","url":"","filter":0,"dependencies":["com.cleversolutions.ads:cas-sdk-teen:1.8.2"],"contains":["Base","Additional","GoogleAds","UnityAds","IronSource","AdColony","Vungle","AppLovin","InMobi","Chartboost","StartApp","Kidoz","FacebookAN","YandexAds"],"source":[],"beta":false}],"advanced":[{"name":"Base","version":"1.8.2","require":"","url":"https://cleveradssolutions.com/","filter":1,"dependencies":["com.cleversolutions.ads:cas-sdk:1.8.2"],"contains":[],"source":["https://dl.bintray.com/cleveradssolutions/CAS-Android"],"beta":false},{"name":"Additional","version":"1.8.2","require":"Base","url":"https://cleveradssolutions.com/","filter":0,"dependencies":["com.cleversolutions.ads:mediation-teen:1.8.2"],"contains":[],"source":[],"beta":false},{"name":"CrossPromotion","version":"1.8.2","require":"Base","url":"https://github.com/cleveradssolutions/CAS-Unity#step-1-add-the-cas-package-to-your-project","filter":1,"dependencies":["com.cleversolutions.ads:cas-promo:1.8.2"],"contains":[],"source":[],"beta":false},{"name":"GoogleAds","version":"19.6.0","require":"Base","url":"https://admob.google.com/home/","filter":1,"dependencies":["com.google.android.gms:play-services-ads:19.6.0"],"contains":[],"source":[],"beta":false},{"name":"UnityAds","version":"3.5.0","require":"Base","url":"https://unity.com/solutions/unity-ads","filter":1,"dependencies":["com.unity3d.ads:unity-ads:3.5.0"],"contains":[],"source":[],"beta":false},{"name":"IronSource","version":"7.0.4.1","require":"Base","url":"https://www.ironsrc.com","filter":1,"dependencies":["com.ironsource.sdk:mediationsdk:7.0.4.1+"],"contains":[],"source":["https://dl.bintray.com/ironsource-mobile/android-sdk"],"beta":false},{"name":"AdColony","version":"4.3.1","require":"Base","url":"https://www.adcolony.com/","filter":1,"dependencies":["com.adcolony:sdk:4.3.1"],"contains":[],"source":["https://adcolony.bintray.com/AdColony"],"beta":false},{"name":"Vungle","version":"6.8.1","require":"Base","url":"https://vungle.com/","filter":1,"dependencies":["com.vungle:publisher-sdk-android:6.8.1+"],"contains":[],"source":[],"beta":false},{"name":"AppLovin","version":"9.14.10","require":"Base","url":"https://www.applovin.com/","filter":1,"dependencies":["com.applovin:applovin-sdk:9.14.10+"],"contains":[],"source":[],"beta":false},{"name":"InMobi","version":"9.1.1","require":"Base","url":"https://www.inmobi.com/","filter":1,"dependencies":["com.inmobi.monetization:inmobi-ads:9.1.1+"],"contains":[],"source":[],"beta":false},{"name":"Chartboost","version":"8.2.0","require":"Base","url":"https://www.chartboost.com/","filter":1,"dependencies":["com.chartboost:chartboost-sdk:8.2.0"],"contains":[],"source":["https://chartboostmobile.bintray.com/Chartboost"],"beta":false},{"name":"StartApp","version":"4.7.5","require":"Base","url":"https://www.startapp.com/","filter":1,"dependencies":["com.chartboost:chartboost-sdk:8.2.0"],"contains":[],"source":[],"beta":false},{"name":"Kidoz","version":"0.8.8.8","require":"Base","url":"https://kidoz.net/","filter":1,"dependencies":["com.kidoz.sdk:KidozSDK:0.8.8.8+"],"contains":[],"source":[],"beta":false},{"name":"SuperAwesome","version":"7.2.16","require":"Base","url":"https://www.superawesome.com/","filter":2,"dependencies":["tv.superawesome.sdk.publisher:superawesome:7.2.16+"],"contains":[],"source":["http://dl.bintray.com/gabrielcoman/maven","http://dl.bintray.com/superawesome/SuperAwesomeSDK"],"beta":false},{"name":"FacebookAN","version":"6.2.0","require":"Additional","url":"https://www.facebook.com/business/marketing/audience-network","filter":0,"dependencies":["com.facebook.android:audience-network-sdk:6.2.0"],"contains":[],"source":[],"beta":false},{"name":"YandexAds","version":"3.1.1","require":"Additional","url":"https://yandex.ru/dev/mobile-ads","filter":0,"dependencies":["com.yandex.android:mobileads:3.1.1+","com.yandex.android:mobmetricalib:3.14.3"],"contains":[],"source":[],"beta":false},{"name":"MyTarget","version":"5.11.8","require":"Additional","url":"https://target.my.com/","filter":0,"dependencies":["com.my.target:mytarget-sdk:5.11.8+"],"contains":[],"source":[],"beta":true},{"name":"Verizon","version":"1.8.2","require":"Additional","url":"https://www.verizonmedia.com/advertising/solutions#/mobile","filter":0,"dependencies":["com.verizon.ads:android-vas-standard-edition:1.8.2+"],"contains":[],"source":[],"beta":true},{"name":"MobFox","version":"4.3.2","require":"Additional","url":"https://www.mobfox.com/","filter":0,"dependencies":["com.github.mobfox:mfx-android-sdk:4.3.2+","com.android.volley:volley:1.1.1"],"contains":[],"source":["https://jitpack.io"],"beta":true},{"name":"AmazonAds","version":"6.0.0","require":"Additional","url":"https://advertising.amazon.com/","filter":0,"dependencies":["com.amazon.android:mobile-ads:6.0.0"],"contains":[],"source":[],"beta":true}]}
Loading

0 comments on commit ea204d2

Please sign in to comment.