Skip to content

Commit

Permalink
cleanup(lib): Remove common/cpp (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactor authored Dec 2, 2024
1 parent 421c4ba commit b7e4af4
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 142 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

26 changes: 2 additions & 24 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1243,28 +1243,6 @@ PODS:
- ReactCommon/turbomodule/core
- Yoga
- react-native-pager-view (6.6.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- react-native-pager-view/common (= 6.6.0)
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-pager-view/common (6.6.0):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -2112,7 +2090,7 @@ SPEC CHECKSUMS:
React-logger: 26155dc23db5c9038794db915f80bd2044512c2e
React-Mapbuffer: ad1ba0205205a16dbff11b8ade6d1b3959451658
React-microtasksnativemodule: e771eb9eb6ace5884ee40a293a0e14a9d7a4343c
react-native-pager-view: ef50f5798b5932134eeec2e5c349bd867b86cdec
react-native-pager-view: 7f8b1f81aee3c953ea25851553e88b69a7c0413d
react-native-safe-area-context: 2500e4fe998caad50ad3bc51ec23ef951308569e
React-nativeconfig: aeed6e2a8ac02b2df54476afcc7c663416c12bf7
React-NativeModulesApple: c5b7813da94136f50ef084fa1ac077332dcfc658
Expand Down Expand Up @@ -2150,7 +2128,7 @@ SPEC CHECKSUMS:
RNScreens: 2fe13c8d610ef2d9d5ace2e7d85b716ec0f5217c
RNSVG: 536cd3c866c878faf72beaba166c8b02fe2b762b
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: f6dc1b6029519815d5516a1241821c6a9074af6d
Yoga: 3deb2471faa9916c8a82dda2a22d3fba2620ad37

PODFILE CHECKSUM: c21f5b764d10fb848650e6ae2ea533b823c1f648

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"lib",
"android",
"ios",
"common",
"react-native-pager-view.podspec",
"!lib/typescript/example",
"!android/build",
Expand Down
8 changes: 0 additions & 8 deletions react-native-pager-view.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm}"

if new_arch_enabled
s.subspec "common" do |ss|
ss.source_files = "common/cpp/**/*.{cpp,h}"
ss.header_dir = "RNCViewPager"
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common/cpp\"" }
end
end

# install_modules_dependencies has been defined in RN 0.70
# This check ensure that the library can work on older versions of RN
if defined?(install_modules_dependencies)
Expand Down

0 comments on commit b7e4af4

Please sign in to comment.