diff --git a/android/build.gradle b/android/build.gradle index 5d4a4ec9..5fd8a402 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -51,8 +51,6 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" - implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.31.0' - implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' implementation 'com.bitmovin.player:player:3.43.0+jason' //noinspection GradleDynamicVersion implementation 'com.facebook.react:react-native:+' // From node_modules diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 4183f6b5..6f106497 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -255,6 +255,10 @@ dependencies { // Only needed if the offline feature is used implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.1.0" + // Only needed if advertising feature is used + implementation 'com.google.ads.interactivemedia.v3:interactivemedia:3.31.0' + implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' + // only needed if the casting feature is used implementation("com.google.android.gms:play-services-cast-framework:21.3.0") implementation("androidx.mediarouter:mediarouter:1.3.1")