File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,12 @@ target_link_libraries(
62
62
powersync_sqlite_core::powersync
63
63
)
64
64
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
65
68
if (REACTNATIVE_MERGED_SO OR ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
66
69
target_link_libraries (
70
+ ${PACKAGE_NAME}
67
71
ReactAndroid::reactnative
68
72
)
69
73
else ()
74
78
endif ()
75
79
76
80
target_link_libraries (
81
+ ${PACKAGE_NAME}
77
82
ReactAndroid::turbomodulejsijni
78
83
ReactAndroid::react_nativemodule_core
79
- ${JSEXECUTOR_LIB}
80
84
)
81
85
endif ()
Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ android {
92
92
" **/libjsi.so" ,
93
93
" **/libreact_nativemodule_core.so" ,
94
94
" **/libturbomodulejsijni.so" ,
95
- " **/libreactnative.so"
95
+ " **/libreactnative.so" ,
96
+ " **/libc++_shared.so" ,
97
+ " **/libfbjni.so"
96
98
]
97
99
}
98
100
You can’t perform that action at this time.
0 commit comments