Skip to content

Remove paper support #3639

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

Open
wants to merge 32 commits into
base: next
Choose a base branch
from
Open

Remove paper support #3639

wants to merge 32 commits into from

Conversation

latekvo
Copy link
Member

@latekvo latekvo commented Jul 25, 2025

Description

This PR removes all paper support.

Tested on all platforms, all basic-example, expo-example and macos-example build and run successfully.

Fixme:

  • yarn lint:android does not work anymore

Test plan

  • Start expo-example and basic-example apps on: Android, iOS and MacOS

@latekvo latekvo mentioned this pull request Jul 25, 2025
@latekvo latekvo requested a review from Copilot July 25, 2025 16:34
Copilot

This comment was marked as resolved.

@WoLewicki
Copy link
Member

Beautiful ❤️

@j-piasecki
Copy link
Member

I think this should be targeting the next branch 😅

@latekvo latekvo changed the base branch from main to next July 28, 2025 09:27
@latekvo latekvo force-pushed the @latekvo/remove-paper-support-new branch from da63110 to 31a9fdd Compare July 28, 2025 10:01
@latekvo latekvo force-pushed the @latekvo/remove-paper-support-new branch from 31a9fdd to 4730f8a Compare July 28, 2025 10:43
@latekvo latekvo marked this pull request as ready for review August 8, 2025 11:44
@latekvo latekvo requested review from j-piasecki and m-bert August 8, 2025 11:45
Comment on lines +52 to +56
def isNewArchitectureEnabled() {
// This is a workaround for linter crashing when applying the `com.facebook.react` plugin.
return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately, I couldn't find any proper solution for the linter CI crashing, other than keeping this function in place.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just a thought, but what do you think about throwing error if new architecture is not enabled?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we could have some environment variable for the CI to set when it wants to exclude the react plugin from the gradle build file.

what do you think about throwing error

Not sure if that's necessary, I think React Native already throws a warning when new arch is set to false on the versions where it can't be disabled.

@latekvo latekvo requested a review from akwasniewski August 8, 2025 12:35
Comment on lines +52 to +56
def isNewArchitectureEnabled() {
// This is a workaround for linter crashing when applying the `com.facebook.react` plugin.
return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Just a thought, but what do you think about throwing error if new architecture is not enabled?

@latekvo latekvo requested review from j-piasecki and m-bert August 12, 2025 12:38
Copy link
Contributor

@m-bert m-bert left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

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.

4 participants