-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Upgrade RNGestureHandler and use the new API everywhere #34101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade RNGestureHandler and use the new API everywhere #34101
Conversation
WoLewicki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment, other than that, LGTM 🚀
Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com>
Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com>
…@jpiasecki/use-new-rngh-api
|
Yeah, it is not happening in main, maybe the library update is related? |
|
Sorry for that, I've accidentally changed the thread the callback was run on. I think when I merged |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-19.at.10.35.27.movScreen.Recording.2024-01-19.at.10.35.02.movScreen.Recording.2024-01-19.at.10.30.13.movAndroid: mWeb ChromeWhatsApp.Video.2024-01-19.at.10.45.13.mp4WhatsApp.Video.2024-01-19.at.10.45.18.1.mp4WhatsApp.Video.2024-01-19.at.10.45.18.mp4iOS: NativeScreen.Recording.2024-01-19.at.10.21.57.movScreen.Recording.2024-01-19.at.10.21.09.movScreen.Recording.2024-01-19.at.10.20.50.moviOS: mWeb SafariScreen.Recording.2024-01-19.at.10.46.25.movScreen.Recording.2024-01-19.at.10.46.01.movMacOS: Chrome / SafariScreen.Recording.2024-01-19.at.10.24.47.movScreen.Recording.2024-01-19.at.10.25.56.movScreen.Recording.2024-01-19.at.10.25.28.movMacOS: DesktopScreen.Recording.2024-01-19.at.10.30.13.movScreen.Recording.2024-01-19.at.10.29.56.mov |
|
Sorry for the delay, I will finish testing this tomorrow. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.29-0 🚀
|
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.29-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.29-1 🚀
|

Details
Updates RNGestureHandler to the newest version (2.14.0) and updates its usage to utilize the gesture API instead of the deprecated
useAnimatedGestureHandlerhook. It also enables the new web implementation, which is incompatible withuseAnimatedGestureHandler(it was disabled by me in #24152 to quickly work around issues coming from this).Also adds a temporary patch for a PR that's already merged upstream: software-mansion/react-native-gesture-handler#2709.
Fixed Issues
$
PROPOSAL: https://swmansion.slack.com/archives/C04878MDF34/p1702979039829019
Tests
This PR changes code related to the magic code input, growl notifications, and avatar picker.
Tests for magic code input:
Tests for growl notifications:
Tests for avatar picker:
Offline tests
QA Steps
This PR changes code related to the magic code input, growl notifications, and avatar picker.
Tests for magic code input:
Tests for growl notifications:
Tests for avatar picker:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android-avatar.mov
android-input.mov
android-notification.mov
Android: mWeb Chrome
android-chrome-input.mov
android-chrome-notification.mov
android-chrome-avatar.mov
iOS: Native
ios-avatar.mov
ios-input.mov
ios-notification.mov
iOS: mWeb Safari
ios-safari-avatar.mov
ios-safari-input.mov
ios-safari-notification.mov
MacOS: Chrome / Safari
macos-safari-avatar.mov
macos-safari-input.mov
macos-safari-notification.mov
MacOS: Desktop
desktop-avatar.mov
desktop-magic-code.mov
desktop-notification.mov