Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/react-native-gesture-handler/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def getExternalLibVersion(project){
return [Integer.parseInt(major), Integer.parseInt(minor), Integer.parseInt(patchVersion), isPrerelease]
}

// Check whether Reanimated 2.3 or higher is installed alongside Gesture Handler
def shouldUseCommonInterfaceFromReanimated() {
def reanimated = rootProject.subprojects.find { it.name == 'react-native-reanimated' }

Expand All @@ -104,7 +103,7 @@ def shouldUseCommonInterfaceFromReanimated() {

def (major, minor, patch) = getExternalLibVersion(reanimated)

return (major == 2 && minor >= 3) || major >= 3
return major >= 3
Comment on lines 104 to +106
}

def shouldUseCommonInterfaceFromRNSVG() {
Expand Down
Loading