diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/@sentry+react-native+5.10.0.patch (renamed from patches/@sentry+react-native+5.5.0.patch) | 3 | ||||
-rw-r--r-- | patches/react-native+0.72.5.patch (renamed from patches/react-native+0.72.4.patch) | 0 | ||||
-rw-r--r-- | patches/react-native-pager-view+6.1.4.patch | 8 |
3 files changed, 6 insertions, 5 deletions
diff --git a/patches/@sentry+react-native+5.5.0.patch b/patches/@sentry+react-native+5.10.0.patch index 5ff4ddaba..2962aa44c 100644 --- a/patches/@sentry+react-native+5.5.0.patch +++ b/patches/@sentry+react-native+5.10.0.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/@sentry/react-native/dist/js/utils/ignorerequirecyclelogs.js b/node_modules/@sentry/react-native/dist/js/utils/ignorerequirecyclelogs.js -index 7e0b4cd..3fd7406 100644 +index 7e0b4cd..177454c 100644 --- a/node_modules/@sentry/react-native/dist/js/utils/ignorerequirecyclelogs.js +++ b/node_modules/@sentry/react-native/dist/js/utils/ignorerequirecyclelogs.js @@ -3,6 +3,8 @@ import { LogBox } from 'react-native'; @@ -12,3 +12,4 @@ index 7e0b4cd..3fd7406 100644 + } catch (e) {} } //# sourceMappingURL=ignorerequirecyclelogs.js.map +\ No newline at end of file diff --git a/patches/react-native+0.72.4.patch b/patches/react-native+0.72.5.patch index d640f6c9e..d640f6c9e 100644 --- a/patches/react-native+0.72.4.patch +++ b/patches/react-native+0.72.5.patch diff --git a/patches/react-native-pager-view+6.1.4.patch b/patches/react-native-pager-view+6.1.4.patch index adee2533f..d6b4178ab 100644 --- a/patches/react-native-pager-view+6.1.4.patch +++ b/patches/react-native-pager-view+6.1.4.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/react-native-pager-view/ios/ReactNativePageView.m b/node_modules/react-native-pager-view/ios/ReactNativePageView.m -index ab0fc7f..fbbf19f 100644 +index ab0fc7f..1ace752 100644 --- a/node_modules/react-native-pager-view/ios/ReactNativePageView.m +++ b/node_modules/react-native-pager-view/ios/ReactNativePageView.m @@ -1,6 +1,6 @@ @@ -19,7 +19,7 @@ index ab0fc7f..fbbf19f 100644 @property(nonatomic, strong) UIPageViewController *reactPageViewController; @property(nonatomic, strong) RCTEventDispatcher *eventDispatcher; -@@ -80,6 +80,10 @@ +@@ -80,6 +80,10 @@ - (void)didMoveToWindow { [self setupInitialController]; } @@ -30,13 +30,13 @@ index ab0fc7f..fbbf19f 100644 if (self.reactViewController.navigationController != nil && self.reactViewController.navigationController.interactivePopGestureRecognizer != nil) { [self.scrollView.panGestureRecognizer requireGestureRecognizerToFail:self.reactViewController.navigationController.interactivePopGestureRecognizer]; } -@@ -463,4 +467,21 @@ +@@ -463,4 +467,21 @@ - (NSString *)determineScrollDirection:(UIScrollView *)scrollView { - (BOOL)isLtrLayout { return [_layoutDirection isEqualToString:@"ltr"]; } + +- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer { -+ if (otherGestureRecognizer == self.scrollView.panGestureRecognizer) { ++ if (!_overdrag && otherGestureRecognizer == self.scrollView.panGestureRecognizer) { + UIPanGestureRecognizer* p = (UIPanGestureRecognizer*) gestureRecognizer; + CGPoint velocity = [p velocityInView:self]; + if (self.currentIndex == 0 && velocity.x > 0) { |