Skip to content

Commit

Permalink
Fix Warning in Gradle
Browse files Browse the repository at this point in the history
When using Realm in React Native projects, Gradle was complaining the way
applicationId was being declared (using a deprecated method).  This
PR tries to fix this issue.

This fixes #3879
  • Loading branch information
takameyer committed Aug 6, 2021
1 parent c5528b7 commit b03b951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ android {
defaultConfig {
minSdkVersion rootProject.hasProperty("minSdkVersion") ? rootProject.minSdkVersion : 16
targetSdkVersion rootProject.hasProperty("targetSdkVersion") ? rootProject.targetSdkVersion : 28
applicationId getAppId()
}

tasks.withType(JavaCompile) {
Expand Down

0 comments on commit b03b951

Please sign in to comment.