Skip to content

Commit

Permalink
Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Unity Ads Travis committed Oct 18, 2018
1 parent 718bd2c commit edbffc8
Show file tree
Hide file tree
Showing 262 changed files with 7,634 additions and 1,597 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ push-test-server-address:
adb push testServerAddress.txt /data/local/tmp

push-test-server-address-hosted:
echo "http://terminal.applifier.info:18080" > testServerAddress.txt
echo "http://unity-ads-test-server.unityads.unity3d.com" > testServerAddress.txt
adb push testServerAddress.txt /data/local/tmp

push-test-server-address-local:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unity Ads 2 Android Release Repository
# Unity Ads 3 Android Release Repository

Welcome to the Unity Ads 2 Android release repository.
Welcome to the Unity Ads 3 Android release repository.

## Binaries

Expand Down
26 changes: 19 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion '27.0.1'
compileSdkVersion 26
buildToolsVersion '28.0.2'

defaultConfig {
applicationId "com.unity3d.ads.example"
minSdkVersion 9
targetSdkVersion 23
versionCode = 2300
versionName = "2.3.0"
minSdkVersion 14
targetSdkVersion 26
versionCode = 3000
versionName = "3.0.0"
}

flavorDimensions "arEnabled"
productFlavors {
ar {
dimension "arEnabled"
}
vanilla {
dimension "arEnabled"
}
}

buildTypes {
release {
minifyEnabled false
Expand All @@ -25,6 +36,7 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:25.4.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
arImplementation 'com.google.ar:core:1.4.0'
implementation project(':lib')
}
8 changes: 8 additions & 0 deletions app/src/ar/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.ads.example">
<uses-permission android:name="android.permission.CAMERA" />
<application>
<meta-data android:name="com.google.ar.core" android:value="optional" />
</application>
</manifest>
14 changes: 12 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="UnityAds 2.3"
android:label="UnityAds 3.0"
android:theme="@style/AppTheme" >
<meta-data android:name="com.google.ar.core" android:value="optional" />
<activity
android:name="com.unity3d.ads.example.UnityAdsExample"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:label="UnityAds 2.3" >
android:label="UnityAds 3.0" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.unity3d.ads.example.UnityMonetizationExample"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
android:label="UnityMonetization 3.0" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@

import com.unity3d.ads.IUnityAdsListener;
import com.unity3d.ads.UnityAds;
import com.unity3d.ads.log.DeviceLog;
import com.unity3d.services.core.log.DeviceLog;
import com.unity3d.ads.metadata.MediationMetaData;
import com.unity3d.ads.metadata.MetaData;
import com.unity3d.ads.metadata.PlayerMetaData;
import com.unity3d.ads.misc.Utilities;
import com.unity3d.ads.properties.SdkProperties;
import com.unity3d.ads.webview.WebView;
import com.unity3d.services.core.misc.Utilities;
import com.unity3d.services.core.properties.SdkProperties;
import com.unity3d.services.core.webview.WebView;

public class UnityAdsExample extends Activity {

final private String defaultGameId = "14851";

private String interstitialPlacementId;
Expand Down
Loading

0 comments on commit edbffc8

Please sign in to comment.