Skip to content
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

Address compilation warnings #2597

Merged
merged 16 commits into from
Mar 12, 2024
Merged

Address compilation warnings #2597

merged 16 commits into from
Mar 12, 2024

Conversation

m-bert
Copy link
Contributor

@m-bert m-bert commented Sep 20, 2023

Description

It turns out that our code uses some deprecated functions. Also there were few more warnings, such as shadowed name or unused variables.

Some of included changes require digging into react-native source code to find alternative approach.

Fixes #2460

dispatch method

Based on @kkafar research in screens, I've replaced dispatch method with getEventData.

  • Here you can find how dispatch looks like in the source code.
  • Here you can see example change in react-native

Test plan

Tested that our example apps (paper and fabric) work as expected.

@m-bert m-bert changed the title Remove deprecations Address compilation warnings Sep 20, 2023
@jacksonlevine
Copy link

Can someone merge this, for Christ?

@m-bert m-bert changed the title Address compilation warnings Address compilation warnings (old architecture) Mar 6, 2024
@m-bert m-bert marked this pull request as ready for review March 6, 2024 10:34
@m-bert m-bert requested a review from j-piasecki March 6, 2024 10:34
@m-bert m-bert changed the title Address compilation warnings (old architecture) Address compilation warnings Mar 6, 2024
@m-bert m-bert merged commit 7e490f7 into main Mar 12, 2024
3 checks passed
@m-bert m-bert deleted the @mbert/java-deprecations branch March 12, 2024 16:57
m-bert added a commit that referenced this pull request Apr 4, 2024
## Description

Changes introduced in #2597, which were released in 2.16.0, made GestureHandler not compatible with React Native versions below 0.68. This PR updates our compatibility tables in documentation and `README`.

Closes #2845 

## Test plan

Run docs.
github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Apr 13, 2024
…5237)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-gesture-handler](https://github.com/software-mansion/react-native-gesture-handler)
| [`^2.15.0` ->
`^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>software-mansion/react-native-gesture-handler
(react-native-gesture-handler)</summary>

###
[`v2.16.0`](https://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0)

#### ❗ Important changes

- Add `mouseButton` implementation on Android by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2680
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2760
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2766
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2787
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2792
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2798
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2796
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2807

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[software-mansion/react-native-gesture-handler#2706
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2750
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2755
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2768
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2772
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2786
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2759
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2788
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2800
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2801
- fix(web): After swiping closed, the Swipeable component cannot be
swiped open again by [@&#8203;yatessss](https://github.com/yatessss)
in
[software-mansion/react-native-gesture-handler#2802
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2815
- Use correct origin point for calculating the absolute position on
Android by [@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2826
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2831
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[software-mansion/react-native-gesture-handler#2834

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2757
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2762
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2767
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2783
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2597
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2812
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2819
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2830

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2753
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2761
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2763
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2765
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2774
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2779
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2780
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2781
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2789
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2791
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2790
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2794
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2795
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2804
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2717

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[software-mansion/react-native-gesture-handler#2753
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[software-mansion/react-native-gesture-handler#2792
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[software-mansion/react-native-gesture-handler#2802
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[software-mansion/react-native-gesture-handler#2796
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[software-mansion/react-native-gesture-handler#2834

**Full Changelog**:
software-mansion/react-native-gesture-handler@2.15.0...2.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <valorabot@valoraapp.com>
github-merge-queue bot pushed a commit to valora-inc/wallet that referenced this pull request Apr 13, 2024
…5237)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-gesture-handler](https://github.com/software-mansion/react-native-gesture-handler)
| [`^2.15.0` ->
`^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>software-mansion/react-native-gesture-handler
(react-native-gesture-handler)</summary>

###
[`v2.16.0`](https://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0)

#### ❗ Important changes

- Add `mouseButton` implementation on Android by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2680
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2760
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2766
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2787
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2792
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2798
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2796
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2807

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[software-mansion/react-native-gesture-handler#2706
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2750
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2755
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2768
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2772
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2786
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2759
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2788
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2800
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2801
- fix(web): After swiping closed, the Swipeable component cannot be
swiped open again by [@&#8203;yatessss](https://github.com/yatessss)
in
[software-mansion/react-native-gesture-handler#2802
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2815
- Use correct origin point for calculating the absolute position on
Android by [@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2826
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2831
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[software-mansion/react-native-gesture-handler#2834

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2757
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2762
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2767
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2783
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2597
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2812
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2819
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2830

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2753
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2761
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2763
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2765
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2774
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2779
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2780
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2781
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2789
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2791
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2790
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2794
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2795
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2804
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2717

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[software-mansion/react-native-gesture-handler#2753
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[software-mansion/react-native-gesture-handler#2792
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[software-mansion/react-native-gesture-handler#2802
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[software-mansion/react-native-gesture-handler#2796
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[software-mansion/react-native-gesture-handler#2834

**Full Changelog**:
software-mansion/react-native-gesture-handler@2.15.0...2.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <valorabot@valoraapp.com>
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
…alora-inc#5237)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-gesture-handler](https://github.com/software-mansion/react-native-gesture-handler)
| [`^2.15.0` ->
`^2.16.0`](https://renovatebot.com/diffs/npm/react-native-gesture-handler/2.15.0/2.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-gesture-handler/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-gesture-handler/2.15.0/2.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>software-mansion/react-native-gesture-handler
(react-native-gesture-handler)</summary>

###
[`v2.16.0`](https://github.com/software-mansion/react-native-gesture-handler/releases/tag/2.16.0)

[Compare
Source](https://github.com/software-mansion/react-native-gesture-handler/compare/2.15.0...2.16.0)

#### ❗ Important changes

- Add `mouseButton` implementation on Android by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2680
- Add `pointerType` to event by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2760
- feat: add necessary changes for new arch on RN 0.74 by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2766
- Add `touchAction` prop. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2787
- Allows to apply different border radius to RectButton component by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2792
- Improve RectButton border styles on Android by
[@&#8203;camilossantos2809](https://github.com/camilossantos2809) in
[software-mansion/react-native-gesture-handler#2798
- Make FlingHandler use velocity as the activation metric. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2796
- Add corner area detection to Fling gesture. by
[@&#8203;LatekVo](https://github.com/LatekVo) in
[software-mansion/react-native-gesture-handler#2807

#### 🐛 Bug fixes

- Add rotation and pinch velocity on macOS by
[@&#8203;jfedak](https://github.com/jfedak) in
[software-mansion/react-native-gesture-handler#2706
- Fix `ConcurrentModificationException`. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2750
- Fix pointers count on iOS by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2755
- fix: remove usage of bridge uimanager in one more place by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2768
- Remove hardcoded version of `cocoapods` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2772
- Move `customDirectEventTypes` to separate files. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2786
- Fix nested taps activation by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2759
- Cancel handlers by `NativeViewGestureHandler` by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2788
- Make simultaneous handlers always symmetric on iOS by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2800
- Update mocks to work when testing for the new arch by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2801
- fix(web): After swiping closed, the Swipeable component cannot be
swiped open again by [@&#8203;yatessss](https://github.com/yatessss)
in
[software-mansion/react-native-gesture-handler#2802
- Remove event listeners on handler drop by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2815
- Use correct origin point for calculating the absolute position on
Android by [@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2826
- Add check when removing handlers from orchestrator by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2831
- Use `locationOfTouch:inView` over `locationInView` for focal point by
[@&#8203;rrebase](https://github.com/rrebase) in
[software-mansion/react-native-gesture-handler#2834

#### 👍 Improvements

- Pass `{ flex: 1 }` as default style to `GestureHandlerRootView` by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2757
- Stop sending event on pressure changes by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2762
- feat: use proper APIs for newest RN versions on new arch by
[@&#8203;WoLewicki](https://github.com/WoLewicki) in
[software-mansion/react-native-gesture-handler#2767
- Remove circular dependencies on web by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2783
- Address compilation warnings by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2597
- Add `userSelect` to TouchableOpacity by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2812
- Web `Orchestrator` refactor. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2819
- Replace `mach_absolute_time` with `CACurrentMediaTime` by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2830

#### 🔢 Miscellaneous

- Restyle Gesture Handler Documentation by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2753
- Fix incorrect link to Github repository by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2761
- Add links to each gesture on landing in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2763
- Update pods on CI by [@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2765
- Restyle steps in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2774
- Fix wrong admonition color on initial render by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2779
- Various style fixes in docs by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2780
- Add closable App.js banner to docs landing page by
[@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) in
[software-mansion/react-native-gesture-handler#2781
- Add `mouseButton` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2789
- Add `pointerType` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2791
- Add `enableContextMenu` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2790
- Add `touchAction` description to docs. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2794
- docs: change accent color to blue by
[@&#8203;kacperkapusciak](https://github.com/kacperkapusciak) in
[software-mansion/react-native-gesture-handler#2795
- Change `MouseButton` export type. by
[@&#8203;m-bert](https://github.com/m-bert) in
[software-mansion/react-native-gesture-handler#2804
- Fix babel config in the root project by
[@&#8203;j-piasecki](https://github.com/j-piasecki) in
[software-mansion/react-native-gesture-handler#2717

#### New Contributors

- [@&#8203;patrycjakalinska](https://github.com/patrycjakalinska) made
their first contribution in
[software-mansion/react-native-gesture-handler#2753
- [@&#8203;camilossantos2809](https://github.com/camilossantos2809)
made their first contribution in
[software-mansion/react-native-gesture-handler#2792
- [@&#8203;yatessss](https://github.com/yatessss) made their first
contribution in
[software-mansion/react-native-gesture-handler#2802
- [@&#8203;LatekVo](https://github.com/LatekVo) made their first
contribution in
[software-mansion/react-native-gesture-handler#2796
- [@&#8203;rrebase](https://github.com/rrebase) made their first
contribution in
[software-mansion/react-native-gesture-handler#2834

**Full Changelog**:
software-mansion/react-native-gesture-handler@2.15.0...2.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: valora-bot <valorabot@valoraapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version 2.9.0 using deprecated Java features ("Deprecated in Java")
3 participants