Skip to content

ENV['RCT_NEW_ARCH_ENABLED'] == '1' #114

@patlux

Description

@patlux

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @react-native-community/progress-view@1.4.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@react-native-community/progress-view/react-native-progress-view.podspec b/node_modules/@react-native-community/progress-view/react-native-progress-view.podspec
index 7580b30..3ddce84 100644
--- a/node_modules/@react-native-community/progress-view/react-native-progress-view.podspec
+++ b/node_modules/@react-native-community/progress-view/react-native-progress-view.podspec
@@ -1,6 +1,6 @@
 require 'json'
 
-fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED']
+fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
 
 package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
 

This issue body was partially generated by patch-package.

As mentioned by #109 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions