Skip to content

Commit edbffc8

Browse files
author
Unity Ads Travis
committed
Release 3.0.0
1 parent 718bd2c commit edbffc8

File tree

262 files changed

+7634
-1597
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+7634
-1597
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ push-test-server-address:
3434
adb push testServerAddress.txt /data/local/tmp
3535

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

4040
push-test-server-address-local:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Unity Ads 2 Android Release Repository
1+
# Unity Ads 3 Android Release Repository
22

3-
Welcome to the Unity Ads 2 Android release repository.
3+
Welcome to the Unity Ads 3 Android release repository.
44

55
## Binaries
66

app/build.gradle

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion '27.0.1'
4+
compileSdkVersion 26
5+
buildToolsVersion '28.0.2'
66

77
defaultConfig {
88
applicationId "com.unity3d.ads.example"
9-
minSdkVersion 9
10-
targetSdkVersion 23
11-
versionCode = 2300
12-
versionName = "2.3.0"
9+
minSdkVersion 14
10+
targetSdkVersion 26
11+
versionCode = 3000
12+
versionName = "3.0.0"
1313
}
14+
15+
flavorDimensions "arEnabled"
16+
productFlavors {
17+
ar {
18+
dimension "arEnabled"
19+
}
20+
vanilla {
21+
dimension "arEnabled"
22+
}
23+
}
24+
1425
buildTypes {
1526
release {
1627
minifyEnabled false
@@ -25,6 +36,7 @@ android {
2536

2637
dependencies {
2738
implementation fileTree(include: ['*.jar'], dir: 'libs')
28-
implementation 'com.android.support:appcompat-v7:25.4.0'
39+
implementation 'com.android.support:appcompat-v7:26.1.0'
40+
arImplementation 'com.google.ar:core:1.4.0'
2941
implementation project(':lib')
3042
}

app/src/ar/AndroidManifest.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.unity3d.ads.example">
4+
<uses-permission android:name="android.permission.CAMERA" />
5+
<application>
6+
<meta-data android:name="com.google.ar.core" android:value="optional" />
7+
</application>
8+
</manifest>

app/src/main/AndroidManifest.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@
55
<application
66
android:allowBackup="true"
77
android:icon="@mipmap/ic_launcher"
8-
android:label="UnityAds 2.3"
8+
android:label="UnityAds 3.0"
99
android:theme="@style/AppTheme" >
10+
<meta-data android:name="com.google.ar.core" android:value="optional" />
1011
<activity
1112
android:name="com.unity3d.ads.example.UnityAdsExample"
1213
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
13-
android:label="UnityAds 2.3" >
14+
android:label="UnityAds 3.0" >
15+
<intent-filter>
16+
<action android:name="android.intent.action.MAIN" />
17+
<category android:name="android.intent.category.LAUNCHER" />
18+
</intent-filter>
19+
</activity>
20+
<activity
21+
android:name="com.unity3d.ads.example.UnityMonetizationExample"
22+
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
23+
android:label="UnityMonetization 3.0" >
1424
<intent-filter>
1525
<action android:name="android.intent.action.MAIN" />
1626
<category android:name="android.intent.category.LAUNCHER" />

app/src/main/java/com/unity3d/ads/example/UnityAdsExample.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@
1616

1717
import com.unity3d.ads.IUnityAdsListener;
1818
import com.unity3d.ads.UnityAds;
19-
import com.unity3d.ads.log.DeviceLog;
19+
import com.unity3d.services.core.log.DeviceLog;
2020
import com.unity3d.ads.metadata.MediationMetaData;
2121
import com.unity3d.ads.metadata.MetaData;
2222
import com.unity3d.ads.metadata.PlayerMetaData;
23-
import com.unity3d.ads.misc.Utilities;
24-
import com.unity3d.ads.properties.SdkProperties;
25-
import com.unity3d.ads.webview.WebView;
23+
import com.unity3d.services.core.misc.Utilities;
24+
import com.unity3d.services.core.properties.SdkProperties;
25+
import com.unity3d.services.core.webview.WebView;
2626

2727
public class UnityAdsExample extends Activity {
28-
2928
final private String defaultGameId = "14851";
3029

3130
private String interstitialPlacementId;

0 commit comments

Comments
 (0)