Skip to content

Commit

Permalink
fix(admob, android): force admob dependency to compatible v19
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mikehardy committed Apr 18, 2021
1 parent 1f7d036 commit 19fe6df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/admob/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")}"
}

Expand Down

1 comment on commit 19fe6df

@vercel
Copy link

@vercel vercel bot commented on 19fe6df Apr 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.