Skip to content

Commit

Permalink
Included UMP integration to FullScreenNativeExample. Updated UI/UX to…
Browse files Browse the repository at this point in the history
… FullScreenNativeExample

PiperOrigin-RevId: 658165479
  • Loading branch information
Justin Malandruccolo authored and copybara-github committed Jul 31, 2024
1 parent 6c84c30 commit d270f41
Show file tree
Hide file tree
Showing 21 changed files with 460 additions and 595 deletions.
9 changes: 2 additions & 7 deletions java/admob/FullScreenNativeExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ android {
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
buildFeatures { viewBinding = true }
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.media3:media3-exoplayer:1.3.1'
implementation 'androidx.media3:media3-exoplayer-dash:1.3.1'
implementation 'androidx.media3:media3-ui:1.3.1'
implementation 'androidx.media3:media3-session:1.3.1'
implementation 'com.google.android.gms:play-services-ads:23.2.0'
implementation 'androidx.media3:media3-common:1.3.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />
<!-- Workaround for ExoPlayer dependency when targeting API 33: https://github.com/google/ExoPlayer/issues/10884 -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name="com.google.example.gms.fullscreennativeexample.MyApplication"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:taskAffinity=""
android:theme="@style/AppTheme">
android:theme="@style/Theme.AppCompat.Light">
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713" />
Expand All @@ -21,13 +20,15 @@
android:value="true" />

<activity
android:name="com.google.example.gms.fullscreennativeexample.VideoFeedsActivity"
android:exported="true"
android:label="@string/app_name">
android:name="com.google.example.gms.fullscreennativeexample.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".NativeAdActivity" />

</application>
</manifest>

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d270f41

Please sign in to comment.