Skip to content

Commit

Permalink
fix: RCT_NEW_ARCH_ENABLED=0 to disable new arch (#307)
Browse files Browse the repository at this point in the history
* fix: RCT_NEW_ARCH_ENABLED=0 to disable new arch

RCT_NEW_ARCH_ENABLED=0 is not working, sometimes disturb when we enable and disable the new arch

* Update react-native-safe-area-context.podspec

Co-authored-by: Janic Duplessis <janicduplessis@gmail.com>
  • Loading branch information
numandev1 and janicduplessis committed Sep 19, 2022
1 parent 13d542b commit 0d74927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-safe-area-context.podspec
Original file line number Diff line number Diff line change
@@ -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')))

Expand Down

0 comments on commit 0d74927

Please sign in to comment.