Skip to content

Conversation

@gabrieldonadel
Copy link

Summary

Starting from react-native 0.82, users can no longer disable the new architecture in their projects, and because of that, the newArchEnabled property in gradle.properties is no longer required. The problem is that we still check specifically for rootProject.hasProperty("newArchEnabled") in android/build.gradle.

Now that this library is new arch only we can simply skip this check.

Test Plan

In a react-native project running 0.82+, remove the newArchEnabled property from gradle.properties and build

Checklist

  • I have tested this on a device and a simulator

@troZee troZee requested a review from Copilot December 15, 2025 19:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the isNewArchitectureEnabled() check from the Android build configuration, as React Native 0.82+ no longer allows disabling the new architecture. The library is now new architecture only, making these conditional checks obsolete.

Key changes:

  • Removed the isNewArchitectureEnabled() function definition
  • Removed conditional checks around new architecture features
  • Simplified build configuration to always assume new architecture is enabled

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

Copy link

Copilot AI left a comment

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 1 out of 1 changed files in this pull request and generated no new comments.


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

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.

1 participant