Skip to content

Commit 2099e8c

Browse files
committed
Remove check
1 parent 99da121 commit 2099e8c

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

  • packages/react-native-gesture-handler/android/src/main/jni

packages/react-native-gesture-handler/android/src/main/jni/CMakeLists.txt

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ target_include_directories(
2727

2828
find_package(ReactAndroid REQUIRED CONFIG)
2929
find_package(fbjni REQUIRED CONFIG)
30-
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
31-
find_package(fbjni REQUIRED CONFIG)
32-
target_link_libraries(
33-
${PACKAGE_NAME}
34-
ReactAndroid::reactnative
35-
ReactAndroid::jsi
36-
fbjni::fbjni
37-
)
38-
else ()
39-
message(FATAL_ERROR "react-native-gesture-handler on the New Architecture requires react-native 0.76 or newer.")
40-
endif ()
30+
31+
target_link_libraries(
32+
${PACKAGE_NAME}
33+
ReactAndroid::reactnative
34+
ReactAndroid::jsi
35+
fbjni::fbjni
36+
)

0 commit comments

Comments
 (0)