Skip to content

Commit

Permalink
Add useCommonInterfaceFromReanimated
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 6, 2023
1 parent d7f66d5 commit bb64b41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ def isNewArchitectureEnabled() {
}

def shouldUseCommonInterfaceFromReanimated() {
if (project.hasProperty("useCommonInterfaceFromReanimated")) {
return project.useCommonInterfaceFromReanimated == "true"
}
def reanimated = rootProject.subprojects.find { it.name == 'react-native-reanimated' }
if (reanimated != null) {
def inputFile = new File(reanimated.projectDir, '../package.json')
Expand Down

0 comments on commit bb64b41

Please sign in to comment.