mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
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:
committed by
GitHub
parent
e7395b41c0
commit
bf74342afa
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user