Skip to content

Commit

Permalink
Fixed RCT_NEW_ARCH_ENABLED in podspec (#1877)
Browse files Browse the repository at this point in the history
RCT_NEW_ARCH_ENABLED seems to be always true (even when its value is '0') without an explicit check
  • Loading branch information
geroale committed Sep 22, 2022
1 parent e7395b4 commit bf74342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RNSVG.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED']
fabric_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'

Pod::Spec.new do |s|
s.name = 'RNSVG'
Expand Down

0 comments on commit bf74342

Please sign in to comment.