Skip to content

Commit

Permalink
Merge pull request #52166 from callstack-internal/jsys/upgrade-react-…
Browse files Browse the repository at this point in the history
…native-pager-view

Upgrade react-native-pager-view to 6.5.0
  • Loading branch information
thienlnam authored Nov 13, 2024
2 parents b723852 + 652956b commit 49937dd
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 82 deletions.
8 changes: 4 additions & 4 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-pager-view (6.4.1):
- react-native-pager-view (6.5.0):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -1779,7 +1779,7 @@ PODS:
- React-featureflags
- React-graphics
- React-ImageManager
- react-native-pager-view/common (= 6.4.1)
- react-native-pager-view/common (= 6.5.0)
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
Expand All @@ -1788,7 +1788,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-pager-view/common (6.4.1):
- react-native-pager-view/common (6.5.0):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -3217,7 +3217,7 @@ SPEC CHECKSUMS:
react-native-keyboard-controller: 902c07f41a415b632583b384427a71770a8b02a3
react-native-launch-arguments: 5f41e0abf88a15e3c5309b8875d6fd5ac43df49d
react-native-netinfo: fb5112b1fa754975485884ae85a3fb6a684f49d5
react-native-pager-view: 94195f1bf32e7f78359fa20057c97e632364a08b
react-native-pager-view: c64a744211a46202619a77509f802765d1659dba
react-native-pdf: dd6ae39a93607a80919bef9f3499e840c693989d
react-native-performance: 3c608307be10964f8a97d3af462f37125b6d8fa5
react-native-plaid-link-sdk: f91a22b45b7c3d4cd6c47273200dc57df35068b0
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"react-native-localize": "^2.2.6",
"react-native-modal": "^13.0.0",
"react-native-onyx": "2.0.78",
"react-native-pager-view": "6.4.1",
"react-native-pager-view": "6.5.0",
"react-native-pdf": "6.7.3",
"react-native-performance": "^5.1.0",
"react-native-permissions": "^3.10.0",
Expand Down
73 changes: 0 additions & 73 deletions patches/react-native-pager-view+6.4.1.patch

This file was deleted.

30 changes: 30 additions & 0 deletions patches/react-native-pager-view+6.5.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/node_modules/react-native-pager-view/ios/LEGACY/LEGACY_RNCPagerView.m b/node_modules/react-native-pager-view/ios/LEGACY/LEGACY_RNCPagerView.m
index 5f6c535..fd6c2a1 100644
--- a/node_modules/react-native-pager-view/ios/LEGACY/LEGACY_RNCPagerView.m
+++ b/node_modules/react-native-pager-view/ios/LEGACY/LEGACY_RNCPagerView.m
@@ -1,5 +1,5 @@
#import "LEGACY_RNCPagerView.h"
-#import "React/RCTLog.h"
+#import <React/RCTLog.h>
#import <React/RCTViewManager.h>

#import "UIViewController+CreateExtension.h"
diff --git a/node_modules/react-native-pager-view/ios/RNCPagerView.m b/node_modules/react-native-pager-view/ios/RNCPagerView.m
index 584aada..978496f 100644
--- a/node_modules/react-native-pager-view/ios/RNCPagerView.m
+++ b/node_modules/react-native-pager-view/ios/RNCPagerView.m
@@ -1,12 +1,12 @@

#import "RNCPagerView.h"
-#import "React/RCTLog.h"
+#import <React/RCTLog.h>
#import <React/RCTViewManager.h>

#import "UIViewController+CreateExtension.h"
#import "RCTOnPageScrollEvent.h"
#import "RCTOnPageScrollStateChanged.h"
-#import "React/RCTUIManagerObserverCoordinator.h"
+#import <React/RCTUIManagerObserverCoordinator.h>
#import "RCTOnPageSelected.h"
#import <math.h>

0 comments on commit 49937dd

Please sign in to comment.