Skip to content

Commit

Permalink
fix(android): add gradle namespace for react-native 0.73 / android gr…
Browse files Browse the repository at this point in the history
…adle plugin 8.0 (#485)

---------

Co-authored-by: Mike Hardy <[email protected]>
  • Loading branch information
dishantwalia and mikehardy authored Jan 26, 2024
1 parent 329c67f commit d7f506d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ android {
lintOptions {
abortOnError false
}
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.facebook.reactnative.androidsdk"
}
}

repositories {
Expand Down

0 comments on commit d7f506d

Please sign in to comment.