Skip to content

Commit

Permalink
fix: #328 makes library compatible with rn 0.73
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanignatiev committed Oct 10, 2023
1 parent 029ce50 commit f15a1fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ def getExtOrIntegerDefault(name) {

android {
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')

def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.RNAppleAuthentication"
buildFeatures.buildConfig true
}

defaultConfig {
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
Expand Down

0 comments on commit f15a1fc

Please sign in to comment.