Skip to content

Commit 7ec146f

Browse files
runnerrunner
authored andcommitted
Release 4.0.0
1 parent 524eeba commit 7ec146f

File tree

158 files changed

+1824
-4904
lines changed

Some content is hidden

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

158 files changed

+1824
-4904
lines changed

Gemfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 159 deletions
This file was deleted.

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Unity Advertisements © 2020 Unity Technologies SF
2-
Your use of the Unity Technologies SF ("Unity') software known as "Unity Advertisements" is subject to the Unity Monetization Services Terms of Service linked to and copied immediately below.
3-
[Unity Monetization Services TOS](https://unity3d.com/legal/monetization-services-terms-of-service)
4-
Your use of the Unity Advertisements software constitutes your acceptance of such terms. Unless expressly provided otherwise, the software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
1+
Unity Advertisements copyright © 2021 Unity Technologies.
2+
This software is subject to, and made available under, the terms of service for Operate Solutions (see https://unity3d.com/legal/one-operate-services-terms-of-service), and is an "Operate Service" as defined therein.
3+
4+
Your use of the Services constitutes your acceptance of such terms. Unless expressly provided otherwise, the software under this license is made available strictly on an "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the terms of service for details on these and other terms and conditions.

Makefile

Lines changed: 0 additions & 78 deletions
This file was deleted.

README.md

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

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

55
## Binaries
66

7-
Binaries can be found from the [releases tab](https://github.com/Unity-Technologies/unity-ads-android/releases).
7+
Binaries can be found in the [releases tab](https://github.com/Unity-Technologies/unity-ads-android/releases).
88

99
## Integration Guide
1010

11-
Integration guide can be found [here](https://github.com/Unity-Technologies/unity-ads-android/wiki/sdk_android_integration_guide). There is [integration tutorial video](https://www.youtube.com/watch?v=MNdJ0KWlYPw) on YouTube.
11+
Integration guide can be found [here](https://unityads.unity3d.com/help/android/integration-guide-android).
1212

1313
## API Reference
1414

15-
API Reference can be found [here](https://github.com/Unity-Technologies/unity-ads-android/wiki/sdk_android_api_reference)
15+
API Reference can be found [here](https://unityads.unity3d.com/help/android/api-android)
1616

17-
## Transition guide from Unity Ads 1.5
18-
19-
Transition guide from Unity Ads 1.5 can be found [here](https://github.com/Unity-Technologies/unity-ads-android/wiki/sdk_android_transition_guide)
17+
## License
18+
The license can be viewed [here](LICENSE)

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.unity3d.ads.example"
88
minSdkVersion 19
99
targetSdkVersion 30
10-
versionCode = 3750
11-
versionName = "3.7.5"
10+
versionCode = 4000
11+
versionName = "4.0.0"
1212
}
1313

1414
flavorDimensions "arEnabled"
@@ -36,4 +36,4 @@ dependencies {
3636
arImplementation 'com.google.ar:core:1.4.0'
3737
implementation 'androidx.transition:transition:1.4.1'
3838
implementation project(':unity-ads')
39-
}
39+
}
23.3 KB
Loading

app/src/main/java/com/unity3d/ads/example/ui/main/SectionsPagerAdapter.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ public SectionsPagerAdapter(Context context, FragmentManager fm) {
2323
public Fragment getItem(int position) {
2424
// getItem is called to instantiate the fragment for the given page.
2525
// Return a UnityAdsFragment (defined as a static inner class below).
26-
switch (position) {
27-
case 0:
28-
return UnityAdsFragment.newInstance(position);
29-
default:
30-
return UnityAdsFragment.newInstance(position);
31-
}
26+
return UnityAdsFragment.newInstance(position);
3227
}
3328

3429
@Nullable

0 commit comments

Comments
 (0)