File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,12 @@ target_link_libraries(
6262 powersync_sqlite_core::powersync
6363)
6464
65+ # This if-then-else can be removed once this library does not support react-native versions below 0.76
66+ # Ideally we would just depend on `REACTNATIVE_MERGED_SO`
67+ # See https://github.com/react-native-community/discussions-and-proposals/discussions/816
6568if (REACTNATIVE_MERGED_SO OR ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
6669 target_link_libraries (
70+ ${PACKAGE_NAME}
6771 ReactAndroid::reactnative
6872 )
6973else ()
7478 endif ()
7579
7680 target_link_libraries (
81+ ${PACKAGE_NAME}
7782 ReactAndroid::turbomodulejsijni
7883 ReactAndroid::react_nativemodule_core
79- ${JSEXECUTOR_LIB}
8084 )
8185endif ()
Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ android {
9292 " **/libjsi.so" ,
9393 " **/libreact_nativemodule_core.so" ,
9494 " **/libturbomodulejsijni.so" ,
95- " **/libreactnative.so"
95+ " **/libreactnative.so" ,
96+ " **/libc++_shared.so" ,
97+ " **/libfbjni.so"
9698 ]
9799 }
98100
You can’t perform that action at this time.
0 commit comments