From e82446d9f48d32aa3b825777a10bd4f96377308a Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Mon, 9 Sep 2024 13:09:10 +0200 Subject: [PATCH] Use install_modules_dependencies if available --- react-native-quick-sqlite.podspec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/react-native-quick-sqlite.podspec b/react-native-quick-sqlite.podspec index 7774844..f9059c8 100644 --- a/react-native-quick-sqlite.podspec +++ b/react-native-quick-sqlite.podspec @@ -26,9 +26,13 @@ Pod::Spec.new do |s| s.header_mappings_dir = "cpp" s.source_files = "ios/**/*.{h,hpp,m,mm}", "cpp/**/*.{h,cpp,c}" - s.dependency "React-callinvoker" - s.dependency "React" - s.dependency "React-Core" + if defined?(install_modules_dependencies()) + install_modules_dependencies(s) + else + s.dependency "React-callinvoker" + s.dependency "React" + s.dependency "React-Core" + end s.dependency "powersync-sqlite-core", "~> 0.2.1" if ENV['QUICK_SQLITE_USE_PHONE_VERSION'] == '1' then