-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 3.13.0 of the Google Mobile Ads Unity plugin
- Loading branch information
Showing
66 changed files
with
604 additions
and
1,600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# AdColony Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.0.0 | ||
## 1.0.1 | ||
- Supports AdColony Android SDK version 3.3.0-unity. | ||
- Supports AdColony iOS SDK version 3.3.0. | ||
|
||
## 1.0.0 | ||
- First release! | ||
- Supports Android adapter version 3.3.0.0. | ||
- Supports iOS adapter version 3.3.0.0. | ||
- Supports AdColony Android SDK version 3.3.0. | ||
- Supports AdColony iOS SDK version 3.3.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...on/AdColony/source/plugin/Assets/GoogleMobileAds/Editor/AdColonyMediationDependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...on/AppLovin/source/plugin/Assets/GoogleMobileAds/Editor/AppLovinMediationDependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Chartboost Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.0.0 | ||
- First release! | ||
- Supports Chartboost Android SDK version 7.0.1. | ||
- Supports Chartboost iOS SDK version 7.1.2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Chartboost Adapter plugin for Google Mobile Ads SDK for Unity 3D | ||
|
||
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 | ||
[Chartboost Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/chartboost). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
/* | ||
* Gradle file to build a Unity package to add Chartboost mediation support to the Google Mobile | ||
* Ads Unity plugin. | ||
* Usage: ./gradlew exportPackage | ||
*/ | ||
plugins { | ||
id "com.jfrog.bintray" version "1.7.3" | ||
} | ||
|
||
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 = '1.0.0' | ||
pluginName = 'GoogleMobileAdsChartboostMediation' | ||
pluginFileName = "${pluginName}.unitypackage" | ||
zipName = "${pluginName}-${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/Editor", | ||
"Assets/Plugins", | ||
"${exportPath}", | ||
"-quit" | ||
|
||
ignoreExitValue true | ||
|
||
doLast { | ||
if (execResult.getExitValue() != 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', './CHANGELOG.md') | ||
// Root directory name for the zip archive. | ||
into(zipName) | ||
// Name of the zip archive. | ||
archiveName zipFileName | ||
// Destination directory in which the archive needs to be saved. | ||
destinationDir file('.') | ||
} | ||
|
||
makeZip.dependsOn([clearZip, exportPackage]) | ||
makeZip.mustRunAfter([clearZip, exportPackage]) | ||
|
||
/** | ||
* Bintray closure needed to run the bintrayUpload task. | ||
* | ||
* Usage: | ||
* ./gradlew bintrayUpload -PbintrayUser=YOUR_BINTRAY_USER_ID -PbintrayApiKey=YOUR_BINTRAY_API_KEY | ||
* | ||
* The Bintray User ID and API key can be added to your system environment variables as BINTRAY_USER | ||
* and BINTRAY_API_KEY respectively, and the command can be reduced to: | ||
* ./gradlew bintrayUpload | ||
*/ | ||
bintray { | ||
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') | ||
: System.getenv('BINTRAY_USER') | ||
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') | ||
: System.getenv('BINTRAY_API_KEY') | ||
|
||
filesSpec { // 'filesSpec' is a standard Gradle CopySpec | ||
from zipFileName | ||
into "${pluginName}/${versionString}" | ||
} | ||
dryRun = false // Deploy after running. | ||
publish = false // Don't auto publish after deploying. | ||
override = false // Don't override existing version artifacts that are already published. | ||
|
||
pkg { | ||
repo = 'mobile-ads-adapters-unity' | ||
name = pluginName | ||
userOrg = 'google' | ||
desc = 'Chartboost plugin for Google Mobile Ads Mediation.' | ||
websiteUrl = 'https://developers.google.com/admob/unity/mediation/chartboost' | ||
issueTrackerUrl = 'https://github.com/googleads/googleads-mobile-unity/issues' | ||
vcsUrl = 'https://github.com/googleads/googleads-mobile-unity' | ||
licenses = ['Apache-2.0'] | ||
|
||
version { | ||
name = versionString | ||
} | ||
} | ||
} | ||
|
||
bintrayUpload.dependsOn(makeZip) | ||
bintrayUpload.mustRunAfter(makeZip) |
18 changes: 18 additions & 0 deletions
18
...hartboost/source/plugin/Assets/GoogleMobileAds/Editor/ChartboostMediationDependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<dependencies> | ||
<androidPackages> | ||
<androidPackage spec="com.google.ads.mediation:chartboost:7.0.1.0"> | ||
<repositories> | ||
<repository>https://jcenter.bintray.com/</repository> | ||
</repositories> | ||
</androidPackage> | ||
</androidPackages> | ||
|
||
<iosPods> | ||
<iosPod name="GoogleMobileAdsMediationChartboost" version="7.1.2.0"> | ||
<sources> | ||
<source>https://github.com/CocoaPods/Specs</source> | ||
</sources> | ||
</iosPod> | ||
</iosPods> | ||
</dependencies> | ||
|
14 changes: 14 additions & 0 deletions
14
...urce/plugin/Assets/Plugins/Android/GoogleMobileAdsChartboostMediation/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.google.unity.mediation.chartboost"> | ||
|
||
<application> | ||
<activity | ||
android:name="com.chartboost.sdk.CBImpressionActivity" | ||
android:excludeFromRecents="true" | ||
android:hardwareAccelerated="true" | ||
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" | ||
android:configChanges="keyboardHidden|orientation|screenSize" /> | ||
</application> | ||
|
||
</manifest> |
2 changes: 2 additions & 0 deletions
2
...ource/plugin/Assets/Plugins/Android/GoogleMobileAdsChartboostMediation/project.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target=android-26 | ||
android.library=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# MoPub Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.0.0 | ||
- First release! | ||
- Supports MoPub Android SDK version 4.20.0. | ||
- Supports MoPub iOS SDK version 4.20.1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# MoPub Adapter plugin for Google Mobile Ads SDK for Unity 3D | ||
|
||
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 | ||
[MoPub Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/mopub). | ||
|
Oops, something went wrong.