Skip to content

Commit 6ac1e9a

Browse files
Justin Malandruccolocopybara-github
Justin Malandruccolo
authored andcommitted
Included UMP integration to FullScreenNativeExample. Updated UI/UX to FullScreenNativeExample
PiperOrigin-RevId: 684827086
1 parent 4e5885f commit 6ac1e9a

23 files changed

+559
-675
lines changed

java/admob/FullScreenNativeExample/app/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,11 @@ android {
1818
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
1919
}
2020
}
21+
buildFeatures { viewBinding = true }
2122
}
2223

2324
dependencies {
24-
implementation 'androidx.appcompat:appcompat:1.6.1'
25+
implementation 'androidx.appcompat:appcompat:1.7.0'
2526
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
26-
implementation 'androidx.recyclerview:recyclerview:1.3.2'
27-
implementation 'androidx.media3:media3-exoplayer:1.3.1'
28-
implementation 'androidx.media3:media3-exoplayer-dash:1.3.1'
29-
implementation 'androidx.media3:media3-ui:1.3.1'
30-
implementation 'androidx.media3:media3-session:1.3.1'
3127
implementation 'com.google.android.gms:play-services-ads:23.4.0'
32-
implementation 'androidx.media3:media3-common:1.3.1'
3328
}

java/admob/FullScreenNativeExample/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<uses-permission android:name="android.permission.INTERNET" />
5-
<!-- Workaround for ExoPlayer dependency when targeting API 33: https://github.com/google/ExoPlayer/issues/10884 -->
6-
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
75
<application
86
android:allowBackup="true"
97
android:icon="@mipmap/ic_launcher"
108
android:label="@string/app_name"
119
android:networkSecurityConfig="@xml/network_security_config"
1210
android:roundIcon="@mipmap/ic_launcher_round"
1311
android:taskAffinity=""
14-
android:theme="@style/AppTheme">
12+
android:theme="@style/Theme.AppCompat.Light">
1513
<meta-data
1614
android:name="com.google.android.gms.ads.APPLICATION_ID"
1715
android:value="ca-app-pub-3940256099942544~3347511713" />
@@ -21,9 +19,8 @@
2119
android:value="true" />
2220

2321
<activity
24-
android:name="com.google.example.gms.fullscreennativeexample.VideoFeedsActivity"
25-
android:exported="true"
26-
android:label="@string/app_name">
22+
android:name="com.google.example.gms.fullscreennativeexample.MainActivity"
23+
android:exported="true">
2724
<intent-filter>
2825
<action android:name="android.intent.action.MAIN" />
2926
<category android:name="android.intent.category.LAUNCHER" />

java/admob/FullScreenNativeExample/app/src/main/java/com/google/example/gms/fullscreennativeexample/AdsViewHolder.java

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

java/admob/FullScreenNativeExample/app/src/main/java/com/google/example/gms/fullscreennativeexample/ContentViewHolder.java

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

0 commit comments

Comments
 (0)