Skip to content

Commit

Permalink
Exclude React core when install_modules is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mugikhan committed Sep 9, 2024
1 parent e82446d commit 9273275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-native-quick-sqlite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ 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 "powersync-sqlite-core", "~> 0.2.1"
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
s.exclude_files = "cpp/sqlite3.c", "cpp/sqlite3.h"
Expand Down

0 comments on commit 9273275

Please sign in to comment.