Skip to content

Commit

Permalink
feat(android): add support for react native 0.73
Browse files Browse the repository at this point in the history
  • Loading branch information
matinzd committed Jun 25, 2023
1 parent fe3d1da commit 6436d45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ def getExtOrIntegerDefault(name) {
}

android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
// Check AGP version for backward compatibility reasons
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace = "dev.matinzd.healthconnect"
}

compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")

defaultConfig {
Expand Down

0 comments on commit 6436d45

Please sign in to comment.