Skip to content

Commit

Permalink
Use install_modules_dependencies if available
Browse files Browse the repository at this point in the history
  • Loading branch information
mugikhan committed Sep 9, 2024
1 parent c0d877f commit e82446d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions react-native-quick-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e82446d

Please sign in to comment.