From 19fe6df6c17efa6df1770a553891f784cc3ae250 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Sat, 17 Apr 2021 17:22:51 -0500 Subject: [PATCH] fix(admob, android): force admob dependency to compatible v19 with the BoM it was apparently still possible for the admob library to go across the breaking change v19->v20 boundary, this forces it to be the specific version that works until we forward port --- packages/admob/android/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/admob/android/build.gradle b/packages/admob/android/build.gradle index c4578e8783..c8d2e73a35 100644 --- a/packages/admob/android/build.gradle +++ b/packages/admob/android/build.gradle @@ -106,8 +106,7 @@ repositories { dependencies { api appProject - implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}") - implementation "com.google.firebase:firebase-ads" + implementation("com.google.android.gms:play-services-ads:19.8.0") { force = true; } implementation "com.google.android.ads.consent:consent-library:${ReactNative.ext.getVersion("ads", "consent")}" }