Skip to content

Commit

Permalink
Fix Android Gradle Plugin error >= 8.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gasolin authored and HayesGordon committed Jun 3, 2024
1 parent 7caf2d4 commit 76b2dfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ def getExtOrIntegerDefault(name) {
}

android {
// namespace 'com.rivereactnative'
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace = "com.rivereactnative"
}
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
buildToolsVersion getExtOrDefault('buildToolsVersion')
defaultConfig {
Expand Down

0 comments on commit 76b2dfa

Please sign in to comment.