Skip to content

Support React Native 0.86#4166

Merged
m-bert merged 12 commits into
mainfrom
@mbert/support-86
Jun 10, 2026
Merged

Support React Native 0.86#4166
m-bert merged 12 commits into
mainfrom
@mbert/support-86

Conversation

@m-bert

@m-bert m-bert commented May 11, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR brings support for React Native 0.86

Required changes

Status

  • 0.86.0 ✅

  • 0.86.0-rc.3 ✅
  • 0.86.0-rc.2 ✅
  • 0.86.0-rc.1 ✅
  • 0.86.0-rc.0 ✅

Test plan

Tested that basic-example builds and works correctly.

Copilot AI review requested due to automatic review settings May 11, 2026 13:19
@m-bert m-bert added the New React Native version support This pull request aims to bring support for new React Native version label May 11, 2026
@m-bert m-bert marked this pull request as draft May 11, 2026 13:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo and example apps to support React Native 0.86 (rc), including dependency bumps and an iOS-native event dispatch change to avoid calling into non-callable JS modules on Fabric-only RN 0.86+.

Changes:

  • Bump React Native (and related tooling) to 0.86.0-rc.0 in the library dev setup and basic-example.
  • Update iOS native animated event delivery to go through the event dispatcher’s observer pathway (instead of JS-facing direct events).
  • Refresh lockfiles (Yarn + CocoaPods) for the upgraded dependency graph.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
yarn.lock Large dependency graph update consistent with RN 0.86 rc + tooling bumps.
packages/react-native-gesture-handler/package.json Updates devDependencies/testing presets and RN version used for development/testing.
packages/react-native-gesture-handler/apple/RNGestureHandlerManager.mm Changes native animated event dispatch to use dispatcher observers (RN 0.86 Fabric-only compatibility).
apps/basic-example/package.json Bumps basic-example to RN 0.86.0-rc.0 and aligned RN toolchain packages.
apps/basic-example/ios/Podfile.lock Updates pods to match RN 0.86 rc and related native deps.
apps/basic-example/ios/BasicExample.xcodeproj/project.pbxproj Adds build settings, including a problematic absolute PODFILE_DIR path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +476 to +479
// observer mechanism. We don't go through sendEvent: because that also
// dispatches the event to JS via RCTEventEmitter.receiveEvent, which is no
// longer a registered callable module in RN 0.86+ (Fabric-only).
[_eventDispatcher notifyObserversOfEvent:event];
Comment thread apps/basic-example/ios/BasicExample.xcodeproj/project.pbxproj Outdated
Comment thread apps/basic-example/ios/BasicExample.xcodeproj/project.pbxproj Outdated
@m-bert m-bert marked this pull request as ready for review June 10, 2026 10:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 10 changed files in this pull request and generated no new comments.

@zoontek

zoontek commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

@m-bert Do you plan to make a v2.x release that support 0.86?

@m-bert

m-bert commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

@m-bert Do you plan to make a v2.x release that support 0.86?

Yes, we do 😅

@m-bert m-bert merged commit 96dfc00 into main Jun 10, 2026
10 checks passed
@m-bert m-bert deleted the @mbert/support-86 branch June 10, 2026 11:03
m-bert added a commit that referenced this pull request Jun 11, 2026
## Description

Cherry pick thread for release 2.32

## List of PRs

| PR  | Original commit |  Picked commit | Without confilct | 
|:----------:|:-------------:|:------:|:--------:|
| [[Android] Remove
`getChildInDrawingOrderAtIndex`](#4156)
|
[f1f09bc](f1f09bc)
|
[d76f2d9](d76f2d9)
| ❌ |
| [[iOS] Fix duplicated
`testID`](#4186)
|
[7feab6e](7feab6e)
|
[d1173ec](d1173ec)
| ❌ |
| [[Android] Fix discrete gestures not triggering
`onFinalize`](#4196)
|
[117087e](117087e)
|
[06212cf](06212cf)
| ✅ |
| [[Android] Fix wrong reported number of
pointers](#4218)
|
[f17bcbd](f17bcbd)
|
[5fd30f6](5fd30f6)
| ❌ |
| [fix(pods): Fix invalid `react-native/../react-native` resolution for
aliases](#4232)
|
[9a9f8b4](9a9f8b4)
|
[cacf6c0](cacf6c0)
| ✅ |
| [Move ruby utils to
module](#4245)
|
[62d0d52](62d0d52)
|
[3884f30](3884f30)
| ❌ |
| [[iOS] Fix handler retrieval and mismatched coordinate
space](#4199)
|
[b1da40b](b1da40b)
|
[2b48a8e](2b48a8e)
| ❌ |
| [[iOS] Don't iterate to root while resolving
recognizer](#4202)
|
[fba4dcc](fba4dcc)
|
[b81f2aa](b81f2aa)
| ❌ |
| [Support React Native
0.86](#4166)
|
[96dfc00](96dfc00)
|
[7df6d1a](7df6d1a)
| ❌ |
| [Fix `RNRenderer` import for React Native
0.86](#4160)
|
[0417378](0417378)
|
[6775d33](6775d33)
| ❌ |
| [Bump `expo` to stable
56](#4227)
|
[45e6ac8](45e6ac8)
|
[0478bb5](0478bb5)
| ❌ |
| [[macOS] Bump example
app](#3993)
|
[8ec0820](8ec0820)
|
[cfc5dd4](cfc5dd4)
| ❌ |
| [Bump
Reanimated](#4040)
|
[23d96d9](23d96d9)
|
[a2101eb](a2101eb)
| ❌ |
| [fix(Android): apply `numberOfPointers` config to the pointer
requirement in
`LongPressGestureHandler`](#4253)
|
[a70c6e3](a70c6e3)
|
[af40f9b](af40f9b)
| ✅ |

## Test plan

Tested that example apps are built correctly

---------

Co-authored-by: Pieter De Baets <pieter.debaets@gmail.com>
Co-authored-by: Mathieu Acthernoene <zoontek@gmail.com>
Co-authored-by: Jakub Piasecki <jakub.piasecki@swmansion.com>
Co-authored-by: Phil Pluckthun <phil@kitten.sh>
Co-authored-by: prashanFOMO <prashan@fomo.family>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New React Native version support This pull request aims to bring support for new React Native version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App crashes on go back gesure in react-navigation's JS stack on react-native@0.86.0-rc.3

4 participants