Skip to content

feat!: support new React Native architecture#439

Open
jokerttu wants to merge 2 commits intomainfrom
feat/support-new-react-native-architecture
Open

feat!: support new React Native architecture#439
jokerttu wants to merge 2 commits intomainfrom
feat/support-new-react-native-architecture

Conversation

@jokerttu
Copy link
Contributor

@jokerttu jokerttu commented Jun 2, 2025

Starting with React Native version 0.76, the New Architecture is enabled by default, introducing significant changes to the framework's internals. This PR updates the package to support the New Architecture and drops support for the legacy architecture.

Resolves #338

FEATURES:

  • New React Native Architecture Support
    • Adds support for the new React Native architecture.
    • Uses codegen to generate the native interop layer for TurboModules and Fabric views.
  • Navigation SDK Upgrades
    • Android: upgraded from 7.1.0 to 7.3.0
    • iOS: upgraded from 10.6.0 to 10.7.0

BREAKING CHANGES:

  • Legacy Architecture Removed
    • Removes support for the legacy React Native architecture.
  • API changes:
    • View Event Handlers as Props: Instead of using mapViewCallbacks and navigationViewCallbacks wrapper objects, event handlers are now passed directly as first-class view props.
    • View Flags as Props: View flags have been moved from viewControllers to view props. For example, the headerEnabled state can now be managed directly via a view prop, instead of calling navigationViewController.setHeaderEnabled(value).
    • Migrate from configuring listeners via one combined setter call to setting each listener via its own dedicated setter.
    • Updated the minimum Kotlin version to 2.2.10. Our recommended Android Gradle Plugin (AGP) is now 8.10.0 and Gradle is now 8.11.1.
    • Support for React Native versions below 0.79.x are dropped.

CHORE CHANGES:

  • Converts Android example app code to Kotlin.
  • Adds a code formatter for Kotlin files (used in the example app).
  • Updates the README to document New Architecture support.
  • Adds MIGRATING.md documentation file for migration process.

Support Checklist (WIP)

  • Supports React Native 0.83.x
  • Supports React Native 0.82.x
  • Supports React Native 0.81.x
  • Supports React Native 0.80.x
  • Supports React Native 0.79.x
  • Android Auto supports
  • CarPlay supports
  • Works with Expo framework

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@lyonscrawl
Copy link

lyonscrawl commented Jun 29, 2025

Hello @jokerttu, I'm wondering if this MR is still in progress, as it has been submitted for approval for about a month?

@jokerttu
Copy link
Contributor Author

Hello @jokerttu, I'm wondering if this MR is still in progress, as it has been submitted for approval for about a month?

Yes, the process is still ongoing.
The new architecture has been implemented and is working in the example app. However, we are still in the middle of resolving issues with CarPlay support, particularly with multi-scene applications. Related issue: facebook/react-native#46184

@jokerttu jokerttu force-pushed the feat/support-new-react-native-architecture branch from 9416e02 to f944143 Compare July 31, 2025 13:03
@kylemassimilian
Copy link

Excited for new arch support. Thank you for working on this - It will help our team resolve compatibility issues quickly.

@petemusicpancake
Copy link

Any news on this? Maybe any planned dates for the release?

@eliabruni
Copy link

Hello, any news on this? Do you guys have plan to merge it at some point or it's not a priority? Thanks!

@jokerttu
Copy link
Contributor Author

@eliabruni
This PR is soon to be replaced with refactored/updated version of the new architecture support.

BREAKING CHANGE: React Native New Architecture support - See MIGRATING.md for upgrade guide

- Convert NavView to Fabric component, NavModule/NavAutoModule to TurboModules
- Replace onMapReady/onRecenterButtonClick callbacks with listener pattern
- Refactor NavigationView props
- Improve event listener pattern
@jokerttu jokerttu force-pushed the feat/support-new-react-native-architecture branch from 686dafa to 46c622d Compare February 2, 2026 13:21
@jokerttu jokerttu marked this pull request as ready for review February 3, 2026 07:52
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.

Support New Architecture

7 participants