Fixed RCT_NEW_ARCH_ENABLED in podspec (#1877)

RCT_NEW_ARCH_ENABLED seems to be always true (even when its value is '0') without an explicit check
This commit is contained in:
Alessandro Gerelli
2022-09-22 14:42:50 +02:00
committed by GitHub
parent e7395b41c0
commit bf74342afa

View File

@@ -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'