Skip to content

Commit 709c086

Browse files
authored
Make Gesture Handler more futureproof (#3225)
## Description This PR fixes `Type com.swmansion.common.GestureHandlerStateManager is defined multiple times` error when building app on Android. ## Test plan <!-- Describe how did you test this change here. -->
1 parent 2eae15c commit 709c086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def shouldUseCommonInterfaceFromReanimated() {
6969
def json = new JsonSlurper().parseText(inputFile.text)
7070
def reanimatedVersion = json.version as String
7171
def (major, minor, patch) = reanimatedVersion.tokenize('.')
72-
return (Integer.parseInt(major) == 2 && Integer.parseInt(minor) >= 3) || Integer.parseInt(major) == 3
72+
return (Integer.parseInt(major) == 2 && Integer.parseInt(minor) >= 3) || Integer.parseInt(major) >= 3
7373
} else {
7474
return false
7575
}

0 commit comments

Comments
 (0)