diff --git a/IronSource/CHANGELOG.md b/IronSource/CHANGELOG.md new file mode 100644 index 00000000..7f0254fd --- /dev/null +++ b/IronSource/CHANGELOG.md @@ -0,0 +1,236 @@ +## IronSource Unity Mediation Plugin Changelog + +#### [Version 3.2.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.2.1.zip) +- Renamed `DummyClient` to `PlaceholderClient`. +- Supports [IronSource Android adapter version 8.2.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8210). +- Supports [IronSource iOS adapter version 8.2.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-82000). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.2.0. + +#### [Version 3.2.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.2.0.zip) +- Supports [IronSource Android adapter version 8.2.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8200). +- Supports [IronSource iOS adapter version 8.2.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-82000). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.1. + +#### [Version 3.1.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.1.1.zip) +- Supports [IronSource Android adapter version 8.1.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8100). +- Supports [IronSource iOS adapter version 8.1.1.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-81100). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.1. + +#### [Version 3.1.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.1.0.zip) +- Supports [IronSource Android adapter version 8.1.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8100). +- Supports [IronSource iOS adapter version 8.1.0.0.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-81001). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.0. + +#### [Version 3.0.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.0.1.zip) +- Supports [IronSource Android adapter version 8.0.0.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8001). +- Supports [IronSource iOS adapter version 8.0.0.0.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-80001). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.1.0. + +#### [Version 3.0.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-3.0.0.zip) +- Supports [IronSource Android adapter version 8.0.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-8000). +- Supports [IronSource iOS adapter version 8.0.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-80000). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.0.0. + +#### [Version 2.6.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.6.1.zip) +- Supports [IronSource Android adapter version 7.9.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7900). +- Supports [IronSource iOS adapter version 7.9.1.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-79100). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.0.0. + +#### [Version 2.6.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.6.0.zip) +- Supports [IronSource Android adapter version 7.9.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7900). +- Supports [IronSource iOS adapter version 7.9.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-79000). +- Built and tested with the Google Mobile Ads Unity Plugin version 9.0.0. + +#### [Version 2.5.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.5.0.zip) +- Supports [IronSource Android adapter version 7.6.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7600). +- Supports [IronSource iOS adapter version 7.6.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7600). +- Built and tested with the Google Mobile Ads Unity Plugin version 8.6.0. + +#### [Version 2.4.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.4.0.zip) +- Supports [IronSource Android adapter version 7.5.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7520). +- Supports [IronSource iOS adapter version 7.5.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7510). +- Built and tested with the Google Mobile Ads Unity Plugin version 8.6.0. + +#### [Version 2.3.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.3.1.zip) +- Supports [IronSource Android adapter version 7.3.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7310). +- Supports [IronSource iOS adapter version 7.3.1.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-73100). +- Built and tested with the Google Mobile Ads Unity Plugin version 8.3.0. + +#### [Version 2.3.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.3.0.zip) +- Moved adapter content to `GoogleMobileAds/Mediation/IronSource/`. +- Refactored adapter namespace to use `GoogleMobileAds.Mediation.IronSource`. +- Supports [IronSource Android adapter version 7.3.0.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-73010). +- Supports [IronSource iOS adapter version 7.3.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-73000). +- Built and tested with the Google Mobile Ads Unity Plugin version 8.1.0. + +#### [Version 2.2.7](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.7.zip) +- Supports [IronSource Android adapter version 7.2.7.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7270). +- Supports [IronSource iOS adapter version 7.2.7.0.1](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72701). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.4.1. + +#### [Version 2.2.6](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.6.zip) +- Supports [IronSource Android adapter version 7.2.6.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7260). +- Supports [IronSource iOS adapter version 7.2.6.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72600). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.3.1. + +#### [Version 2.2.5](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.5.zip) +- Supports [IronSource Android adapter version 7.2.5.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7250). +- Supports [IronSource iOS adapter version 7.2.5.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72510). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.3.0. + +#### [Version 2.2.4](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.4.zip) +- Added the `IronSource.SetMetaData(string, string)` method. +- Supports [IronSource Android adapter version 7.2.3.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-72310). +- Supports [IronSource iOS adapter version 7.2.4.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7240). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.2.0. + +#### [Version 2.2.3](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.3.zip) +- Supports [IronSource Android adapter version 7.2.3.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-72310). +- Supports [IronSource iOS adapter version 7.2.3.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72310). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.1.0. + +#### [Version 2.2.2](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.2.zip) +- Supports [IronSource Android adapter version 7.2.2.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-72210). +- Supports [IronSource iOS adapter version 7.2.2.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72210). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.2. + +#### [Version 2.2.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.1.zip) +- Supports [IronSource Android adapter version 7.2.1.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-72110). +- Supports [IronSource iOS adapter version 7.2.1.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-72120). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.0. + +#### [Version 2.2.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.2.0.zip) +- Supports [IronSource Android adapter version 7.2.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7210). +- Supports [IronSource iOS adapter version 7.2.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7210). +- Built and tested with the Google Mobile Ads Unity Plugin version 7.0.0. + +#### [Version 2.1.5](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.5.zip) +- Supports [IronSource Android adapter version 7.1.14.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-71140). +- Supports [IronSource iOS adapter version 7.1.14.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-71140). + +#### [Version 2.1.4](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.4.zip) +- Supports [IronSource Android adapter version 7.1.13.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-71130). +- Supports [IronSource iOS adapter version 7.1.13.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-71130). + +#### [Version 2.1.3](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.3.zip) +- Supports [IronSource Android adapter version 7.1.12.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-71120). +- Supports [IronSource iOS adapter version 7.1.12.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-71120). + +#### [Version 2.1.2](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.2.zip) +- Supports [IronSource Android adapter version 7.1.11.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-711110). +- Supports [IronSource iOS adapter version 7.1.11.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-711110). + +#### [Version 2.1.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.1.zip) +- Supports [IronSource Android adapter version 7.1.8.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7180). +- Supports [IronSource iOS adapter version 7.1.8.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7180). + +#### [Version 2.1.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.1.0.zip) +- Supports [IronSource Android adapter version 7.1.6.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7160). +- Supports [IronSource iOS adapter version 7.1.6.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-71610). + +#### [Version 2.0.3](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.0.3.zip) +- Supports [IronSource Android adapter version 7.0.3.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-70310). +- Supports [IronSource iOS adapter version 7.0.3.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7030). + +#### [Version 2.0.2](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.0.2.zip) +- Supports [IronSource Android adapter version 7.0.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7020). +- Supports [IronSource iOS adapter version 7.0.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7020). + +#### [Version 2.0.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.0.1.zip) +- Supports [IronSource Android adapter version 7.0.1.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-70110). +- Supports [IronSource iOS adapter version 7.0.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7010). + +#### [Version 2.0.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-2.0.0.zip) +- Supports [IronSource Android adapter version 7.0.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-7000). +- Supports [IronSource iOS adapter version 7.0.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-7000). + +#### [Version 1.10.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.10.0.zip) +- Supports [IronSource Android adapter version 6.18.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61800). +- Supports [IronSource iOS adapter version 6.18.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61800). + +#### [Version 1.9.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.9.1.zip) +- Supports [IronSource Android adapter version 6.17.0.1](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61701). +- Supports [IronSource iOS adapter version 6.17.0.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-617010). + +#### [Version 1.9.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.9.0.zip) +- Supports [IronSource Android adapter version 6.17.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61700). +- Supports [IronSource iOS adapter version 6.16.3.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61630). + +#### [Version 1.8.2](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.8.2.zip) +- Supports [IronSource Android adapter version 6.16.2.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61620). +- Supports [IronSource iOS adapter version 6.16.2.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61620). + +#### [Version 1.8.1](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.8.1.zip) +- Supports [IronSource Android adapter version 6.16.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61610). +- Supports [IronSource iOS adapter version 6.16.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61610). + +#### [Version 1.8.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.8.0.zip) +- Supports [IronSource Android adapter version 6.16.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61600). +- Supports [IronSource iOS adapter version 6.16.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61600). + +#### [Version 1.7.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.7.0.zip) +- Supports [IronSource Android adapter version 6.15.0.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-615010). +- Supports [IronSource iOS adapter version 6.15.0.1.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-615010). + +#### [Version 1.6.0](https://dl.google.com/googleadmobadssdk/mediation/unity/ironsource/IronSourceUnityAdapter-1.6.0.zip) +- Supports [IronSource Android adapter version 6.14.0.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-614010). +- Supports [IronSource iOS adapter version 6.14.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61400). + +#### Version 1.5.0 +- Supports [IronSource Android adapter version 6.13.0.1.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-613010). +- Supports [IronSource iOS adapter version 6.13.1.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-613010). + +#### Version 1.4.0 +- Supports [IronSource Android adapter version 6.12.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61200). +- Supports [IronSource iOS adapter version 6.12.0.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-61200). + +#### Version 1.3.2 +- Supports [IronSource Android adapter version 6.10.0.0](https://github.com/googleads/googleads-mobile-android-mediation/blob/main/ThirdPartyAdapters/ironsource/CHANGELOG.md#version-61000). +- Supports [IronSource iOS adapter version 6.8.7.0](https://github.com/googleads/googleads-mobile-ios-mediation/blob/main/adapters/IronSource/CHANGELOG.md#version-6870). + +#### Version 1.3.1 +- Supports IronSource Android adapter version 6.10.0.0 +- Supports IronSource iOS adapter version 6.8.6.0 + +#### Version 1.3.0 +- Supports IronSource Android adapter version 6.10.0.0 +- Supports IronSource iOS adapter version 6.8.4.1.0 + +#### Version 1.2.0 +- Supports IronSource Android adapter version 6.9.0.1 +- Supports IronSource iOS adapter version 6.8.4.1.0 + +#### Version 1.1.2 +- Supports IronSource Android adapter version 6.8.4.1 +- Supports IronSource iOS adapter version 6.8.4.1 + +#### Version 1.1.1 +- Supports IronSource Android adapter version 6.8.4.1 +- Supports IronSource iOS adapter version 6.8.3.0 + +#### Version 1.1.0 +- Updated the plugin to support the new open-beta Rewarded API. +- Supports IronSource Android adapter version 6.8.1.2 +- Supports IronSource iOS adapter version 6.8.0.1 + +#### Version 1.0.4 +- Supports IronSource Android adapter version 6.7.11.0 +- Supports IronSource iOS adapter version 6.7.11.0 + +#### Version 1.0.3 +- Supports IronSource Android adapter version 6.7.10.0 +- Supports IronSource iOS adapter version 6.7.10.0 + +#### Version 1.0.2 +- Supports IronSource Android adapter version 6.7.9.1.1 +- Supports IronSource iOS adapter version 6.7.10.0 +- Fixed a conflict with the Chartboost Unity mediation plugin. + +#### Version 1.0.1 +- Supports IronSource Android adapter version 6.7.9.0. +- Supports IronSource iOS adapter version 6.7.9.2.0. + +#### Version 1.0.0 +- First release! +- Supports IronSource Android adapter version 6.7.9.0. +- Supports IronSource iOS adapter version 6.7.9.1.0. diff --git a/IronSource/CHANGELOG.md.meta b/IronSource/CHANGELOG.md.meta new file mode 100644 index 00000000..d0a40651 --- /dev/null +++ b/IronSource/CHANGELOG.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5fb6c3f03ca6449dcac5b78dea0b814c +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/LICENSE b/IronSource/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/IronSource/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/IronSource/LICENSE.meta b/IronSource/LICENSE.meta new file mode 100644 index 00000000..4fb37f7c --- /dev/null +++ b/IronSource/LICENSE.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f5498edda01f24ff28ad2edafe0380ef +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/README.md b/IronSource/README.md new file mode 100644 index 00000000..4c8bc23c --- /dev/null +++ b/IronSource/README.md @@ -0,0 +1,8 @@ +# IronSource Adapter plugin for Google Mobile Ads SDK for Unity + +This is a plugin to be used in conjunction with the Google Mobile Ads SDK in +Google Play services. For requirements, instructions, and other info, see the +[IronSource Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/ironsource). + +See the [changelog](https://developers.google.com/admob/unity/mediation/ironsource#ironsource-unity-mediation-plugin-changelog) +to view the version history. diff --git a/IronSource/README.md.meta b/IronSource/README.md.meta new file mode 100644 index 00000000..2787d94e --- /dev/null +++ b/IronSource/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 357aafe6d254a4555ba4b85651dddd6d +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/build.gradle b/IronSource/build.gradle new file mode 100644 index 00000000..9e8f6c69 --- /dev/null +++ b/IronSource/build.gradle @@ -0,0 +1,100 @@ +/* +* Gradle file to build a Unity package to add IronSource mediation support to the Google Mobile +* Ads Unity plugin. +* Usage: ./gradlew exportPackage +*/ +defaultTasks 'exportPackage' + +// Project level variables. +project.ext { + unity_exe = System.getProperty("UNITY_EXE") + if (unity_exe == null || unity_exe.isEmpty()) { + unity_exe = System.getenv("UNITY_EXE") + } + if (unity_exe == null || unity_exe.isEmpty()) { + unity_exe = '/Applications/Unity/Unity.app/Contents/MacOS/Unity' + } + + if (!file(unity_exe).exists()) { + throw new GradleException('Unable to locate installation of Unity. Please create a ' + + 'UNITY_EXE environment variable and point it to your Unity installation.') + } + + versionString = '3.2.1' + adapterName = 'IronSource' + pluginName = "GoogleMobileAds${adapterName}Mediation" + pluginFileName = "${pluginName}.unitypackage" + zipName = "${adapterName}UnityAdapter-${versionString}" + zipFileName = "${zipName}.zip" + pluginSource = file('source/plugin').absolutePath + pluginBuildDir = file('temp/plugin-build-dir').absolutePath + buildPath = file('temp').absolutePath + exportPath = file(pluginFileName).absolutePath +} + +// Build unity package using through command line interface. +// Create new unity project with files in temporary build directory and export files to a unity package. +// Command line usage and arguments documented at http://docs.unity3d.com/Manual/CommandLineArguments.html. +task exportPackage(type: Exec) { + description = "Creates and exports the Plugin unity package" + executable "${unity_exe}" + args "-g.building", + "-batchmode", + "-projectPath", "${pluginBuildDir}", + "-logFile", "temp/unity.log", + "-exportPackage", + "Assets/GoogleMobileAds", + "${exportPath}", + "-quit" + + ignoreExitValue true + + doLast { + if (executionResult.get().exitValue != 0) { + copy { + from "temp/" + into "./" + include "unity.log" + } + } + } +} + +task createTempBuildFolder(type: Copy) { + from { "${pluginSource}" } + into { "${pluginBuildDir}" } +} + +task clearTempBuildFolder(type: Delete) { + delete { "${buildPath}" } +} + +exportPackage.dependsOn(createTempBuildFolder) +exportPackage.finalizedBy(clearTempBuildFolder) + +/** + * Delete task to delete any previously generated .zip files by makeZip task. + * makeZip depends on this task. + */ +task clearZip(type: Delete) { + // Targets to be deleted. + delete(zipFileName) +} + +/** + * Zip task to make a zip archive. This task depends on exportPackage and clearZip tasks. + */ +task makeZip(type: Zip) { + // Targets to be added to the zip archive. + from('./' + pluginFileName, './README.md') + from('./' + pluginFileName, './LICENSE') + // Root directory name for the zip archive. + into(zipName) + // Name of the zip archive. + archiveFileName = zipFileName + // Destination directory in which the archive needs to be saved. + destinationDirectory = file('.') +} + +makeZip.dependsOn([clearZip, exportPackage]) +makeZip.mustRunAfter([clearZip, exportPackage]) diff --git a/IronSource/build.gradle.meta b/IronSource/build.gradle.meta new file mode 100644 index 00000000..8acedd2b --- /dev/null +++ b/IronSource/build.gradle.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e7aea4d7434164f9298c778d34da09ff +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/package.json b/IronSource/package.json new file mode 100644 index 00000000..87558700 --- /dev/null +++ b/IronSource/package.json @@ -0,0 +1,21 @@ +{ + "name": "com.google.ads.mobile.mediation.ironsource", + "version": "3.2.1", + "displayName": "Google Mobile Ads IronSource Mediation", + "keywords": [ + "Google", + "Mobile", + "Ads", + "vh-name:GoogleMobileAdsMediationIronSource", + "vh-name:Google Mobile Ads IronSource Mediation" + ], + "author": { + "name": "Google LLC", + "url": "https://github.com/googleads/googleads-mobile-unity-mediation" + }, + "description": "The Google Mobile Ads mediation plugin for IronSource package allows you to load and display ads from IronSource using mediation, covering waterfall and bidding integrations.", + "unity": "2019.4", + "dependencies": { + "com.google.ads.mobile": "9.0.0" + } +} diff --git a/IronSource/package.json.meta b/IronSource/package.json.meta new file mode 100644 index 00000000..4c8ab8f8 --- /dev/null +++ b/IronSource/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 20c946dd720944f5bb2e0378286a5772 +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source.meta b/IronSource/source.meta new file mode 100644 index 00000000..36712a46 --- /dev/null +++ b/IronSource/source.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ce8111ef1267546eeb63e657a17fbd98 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin.meta b/IronSource/source/plugin.meta new file mode 100644 index 00000000..07b705a2 --- /dev/null +++ b/IronSource/source/plugin.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 58950207158d04c88acc7b7c4ea76bbd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets.meta b/IronSource/source/plugin/Assets.meta new file mode 100644 index 00000000..2772333d --- /dev/null +++ b/IronSource/source/plugin/Assets.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 15e242152d7e84723b940cb035cadd75 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds.meta b/IronSource/source/plugin/Assets/GoogleMobileAds.meta new file mode 100644 index 00000000..280e9f16 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 83f42bba56c8741e7af58ac580637ac3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation.meta new file mode 100644 index 00000000..eb165e15 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: de5beac219bf442f48e25e0fd734be0c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource.meta new file mode 100644 index 00000000..71ca48c9 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: da007d24a20464ca3baa5e1447d319fe +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api.meta new file mode 100644 index 00000000..ca1c7497 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5cb8be927cb3e48c4a2a3d4d415a1714 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef new file mode 100644 index 00000000..2293465d --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef @@ -0,0 +1,19 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.Api", + "rootNamespace": "", + "references": [ + "GoogleMobileAds.Api.Mediation", + "GoogleMobileAds.Mediation.IronSource.Common", + "GoogleMobileAds.Mediation.IronSource.Mediation" + ], + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef.meta new file mode 100644 index 00000000..9d517f98 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/GoogleMobileAds.Mediation.IronSource.Api.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 74931d642c29b4d328cd67584785aca9 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs new file mode 100644 index 00000000..72bcb133 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs @@ -0,0 +1,51 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using GoogleMobileAds.Mediation.IronSource.Common; + +namespace GoogleMobileAds.Mediation.IronSource.Api +{ + public class IronSource + { + internal static readonly IIronSourceClient client = + IronSourceClientFactory.CreateIronSourceClient(); + + public static void SetConsent(bool consent) + { + client.SetConsent(consent); + } + + public static void SetMetaData(string key, string metaDataValue) + { + client.SetMetaData(key, metaDataValue); + } + } +} + +namespace GoogleMobileAds.Api.Mediation.IronSource +{ + [System.Obsolete("Use `GoogleMobileAds.Mediation.IronSource.Api.IronSource` instead.")] + public class IronSource + { + public static void SetConsent(bool consent) + { + GoogleMobileAds.Mediation.IronSource.Api.IronSource.SetConsent(consent); + } + + public static void SetMetaData(string key, string metaDataValue) + { + GoogleMobileAds.Mediation.IronSource.Api.IronSource.SetMetaData(key, metaDataValue); + } + } +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs.meta new file mode 100644 index 00000000..9be4e312 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Api/IronSource.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 09d6995f91ad24d18aca544ee95405e0 +timeCreated: 1527282012 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common.meta new file mode 100644 index 00000000..ab390cdf --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d99d214793ee74b0d999eca57d2d5792 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef new file mode 100644 index 00000000..5f6278b1 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef @@ -0,0 +1,14 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.Common", + "rootNamespace": "", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef.meta new file mode 100644 index 00000000..9084498b --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/GoogleMobileAds.Mediation.IronSource.Common.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3cd790275e6b04e92aa8635815239b7c +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs new file mode 100644 index 00000000..31c00fbd --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs @@ -0,0 +1,22 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace GoogleMobileAds.Mediation.IronSource.Common +{ + public interface IIronSourceClient + { + void SetConsent(bool consent); + void SetMetaData(string key, string metaDataValue); + } +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs.meta new file mode 100644 index 00000000..44be17d7 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/IIronSourceClient.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f6e23257fcb3d4601b83573db5e3acf7 +timeCreated: 1527285624 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs new file mode 100644 index 00000000..13a8e42e --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs @@ -0,0 +1,38 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Reflection; + +using UnityEngine; + +namespace GoogleMobileAds.Mediation.IronSource.Common +{ + public class PlaceholderClient : IIronSourceClient + { + public PlaceholderClient () + { + Debug.Log ("Placeholder " + MethodBase.GetCurrentMethod ().Name); + } + + public void SetConsent(bool consent) + { + Debug.Log ("Placeholder " + MethodBase.GetCurrentMethod ().Name); + } + + public void SetMetaData(string key, string metaDataValue) + { + Debug.Log ("Placeholder " + MethodBase.GetCurrentMethod ().Name); + } + } +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs.meta new file mode 100644 index 00000000..af24e362 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Common/PlaceholderClient.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5335601997e0e42478abfcb3d4be9df2 +timeCreated: 1527282155 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor.meta new file mode 100644 index 00000000..a80f7350 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f3fa85a0710da41e988efb914254cd49 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml new file mode 100644 index 00000000..bb5b5a1a --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml @@ -0,0 +1,30 @@ + + + + + + + https://android-sdk.is.com/ + https://dl.google.com/dl/android/maven2/ + + + + + + + + diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml.meta new file mode 100644 index 00000000..b33c0e96 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Editor/IronSourceMediationDependencies.xml.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5384ba209626c42ce8c4613b52f27d77 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms.meta new file mode 100644 index 00000000..f8d1ba58 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 14244a97ae8b44a9a9db8fb09280b473 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android.meta new file mode 100644 index 00000000..076c7f9e --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0eeb26a8d85604fadaebb82d43c9f724 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef new file mode 100644 index 00000000..4c25a6b7 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef @@ -0,0 +1,19 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.Android", + "rootNamespace": "", + "references": [ + "GoogleMobileAds.Mediation.IronSource.Common" + ], + "includePlatforms": [ + "Android", + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef.meta new file mode 100644 index 00000000..c7e7c7b9 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/GoogleMobileAds.Mediation.IronSource.Android.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: da70503fcdcdf4e8192d766e3f1e15b2 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs new file mode 100644 index 00000000..666df051 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs @@ -0,0 +1,52 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#if UNITY_ANDROID + +using UnityEngine; + +using GoogleMobileAds.Mediation.IronSource.Common; + +namespace GoogleMobileAds.Mediation.IronSource.Android +{ + public class IronSourceClient : IIronSourceClient + { + private const string IRONSOURCE_CLASS_NAME = "com.ironsource.mediationsdk.IronSource"; + + private static IronSourceClient instance = new IronSourceClient(); + private IronSourceClient() { } + + public static IronSourceClient Instance + { + get + { + return instance; + } + } + + public void SetConsent(bool consent) + { + AndroidJavaClass ironSource = new AndroidJavaClass(IRONSOURCE_CLASS_NAME); + ironSource.CallStatic("setConsent", consent); + } + + public void SetMetaData(string key, string metaDataValue) + { + AndroidJavaClass ironSource = new AndroidJavaClass(IRONSOURCE_CLASS_NAME); + ironSource.CallStatic("setMetaData", key, metaDataValue); + } + } +} + +#endif diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs.meta new file mode 100644 index 00000000..f626aeb7 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Android/IronSourceClient.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b3fc4654584f643feaf7878ba09057fe +timeCreated: 1527285730 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation.meta new file mode 100644 index 00000000..c12f5d99 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4276f49d203fd48f8b1809f62f6e0a1f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef new file mode 100644 index 00000000..ca07b7f6 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef @@ -0,0 +1,22 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.Mediation", + "rootNamespace": "", + "references": [ + "GoogleMobileAds.Mediation.IronSource.Common", + "GoogleMobileAds.Mediation.IronSource.Android", + "GoogleMobileAds.Mediation.IronSource.iOS" + ], + "includePlatforms": [ + "Editor", + "Android", + "iOS" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef.meta new file mode 100644 index 00000000..ebda6365 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource. Mediation.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2182bfc0793bc49b3b70adb0caaa66d2 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef new file mode 100644 index 00000000..ca07b7f6 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef @@ -0,0 +1,22 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.Mediation", + "rootNamespace": "", + "references": [ + "GoogleMobileAds.Mediation.IronSource.Common", + "GoogleMobileAds.Mediation.IronSource.Android", + "GoogleMobileAds.Mediation.IronSource.iOS" + ], + "includePlatforms": [ + "Editor", + "Android", + "iOS" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef.meta new file mode 100644 index 00000000..ebda6365 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/GoogleMobileAds.Mediation.IronSource.Mediation.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2182bfc0793bc49b3b70adb0caaa66d2 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs new file mode 100644 index 00000000..dbccbc03 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs @@ -0,0 +1,34 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using GoogleMobileAds.Mediation.IronSource.Common; + +namespace GoogleMobileAds.Mediation.IronSource +{ + public class IronSourceClientFactory + { + public static IIronSourceClient CreateIronSourceClient() + { + #if UNITY_EDITOR + return new GoogleMobileAds.Mediation.IronSource.Common.PlaceholderClient(); + #elif UNITY_ANDROID + return GoogleMobileAds.Mediation.IronSource.Android.IronSourceClient.Instance; + #elif UNITY_IOS + return GoogleMobileAds.Mediation.IronSource.iOS.IronSourceClient.Instance; + #else + return new GoogleMobileAds.Mediation.IronSource.Common.PlaceholderClient(); + #endif + } + } +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs.meta new file mode 100644 index 00000000..e6a418eb --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/Mediation/IronSourceClientFactory.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9b3a42c37d2c342e68e356c5451eb439 +timeCreated: 1527285648 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS.meta new file mode 100644 index 00000000..8c32a086 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4846160383d70491bb8cdca5499ad680 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs new file mode 100644 index 00000000..1e489f3e --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs @@ -0,0 +1,32 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#if UNITY_IOS + +using System.Runtime.InteropServices; + +namespace GoogleMobileAds.Mediation.IronSource.iOS +{ + // Externs used by the iOS component. + internal class Externs + { + [DllImport("__Internal")] + internal static extern void GADUMIronSourceSetConsent(bool consent); + + [DllImport("__Internal")] + internal static extern void GADUMIronSourceSetMetaData(string key, string metaDataValue); + } +} + +#endif diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs.meta new file mode 100644 index 00000000..bb99fea1 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/Externs.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3d4ee350a3865433a906f69e5fea5294 +timeCreated: 1527286386 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef new file mode 100644 index 00000000..9136eca8 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef @@ -0,0 +1,19 @@ +{ + "name": "GoogleMobileAds.Mediation.IronSource.iOS", + "rootNamespace": "", + "references": [ + "GoogleMobileAds.Mediation.IronSource.Common" + ], + "includePlatforms": [ + "Editor", + "iOS" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef.meta new file mode 100644 index 00000000..194b8986 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/GoogleMobileAds.Mediation.IronSource.iOS.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b5f6b17e881b24e4ab82114729bdf100 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs new file mode 100644 index 00000000..cbfa9d8b --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs @@ -0,0 +1,46 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#if UNITY_IOS + +using GoogleMobileAds.Mediation.IronSource.Common; + +namespace GoogleMobileAds.Mediation.IronSource.iOS +{ + public class IronSourceClient : IIronSourceClient + { + private static IronSourceClient instance = new IronSourceClient(); + private IronSourceClient() { } + + public static IronSourceClient Instance + { + get + { + return instance; + } + } + + public void SetConsent(bool consent) + { + Externs.GADUMIronSourceSetConsent(consent); + } + + public void SetMetaData(string key, string metaDataValue) + { + Externs.GADUMIronSourceSetMetaData(key, metaDataValue); + } + } +} + +#endif diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs.meta new file mode 100644 index 00000000..0a8f7bab --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Platforms/iOS/IronSourceClient.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 026079d67d5a6432896e823ed6784ebc +timeCreated: 1527286381 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins.meta new file mode 100644 index 00000000..f5c0f6ea --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f8ecfb979c9c743e5ae88a3e020c0067 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS.meta new file mode 100644 index 00000000..112eef8a --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b61540903d7274e3ba2d944fbad56145 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m new file mode 100644 index 00000000..da353be9 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m @@ -0,0 +1,21 @@ +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import + +void GADUMIronSourceSetConsent(BOOL consent) { [IronSource setConsent:consent]; } + +void GADUMIronSourceSetMetaData(const char *_Nonnull key, const char *_Nonnull metaDataValue) { + [IronSource setMetaDataWithKey:@(key) value:@(metaDataValue)]; +} diff --git a/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m.meta b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m.meta new file mode 100644 index 00000000..8ba46353 --- /dev/null +++ b/IronSource/source/plugin/Assets/GoogleMobileAds/Mediation/IronSource/Plugins/iOS/GADUMIronSourceInterface.m.meta @@ -0,0 +1,31 @@ +fileFormatVersion: 2 +guid: 6116bff8714b448928daa623dacf6610 +timeCreated: 1527286779 +licenseType: Pro +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + isPreloaded: 0 + isOverridable: 0 + platformData: + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + iPhone: iOS + second: + enabled: 1 + settings: {} + userData: + assetBundleName: + assetBundleVariant: