Skip to content

Commit 6d3f73f

Browse files
authored
Update onfido-react-native-sdk.podspec
1 parent 75d4bbf commit 6d3f73f

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

onfido-react-native-sdk.podspec

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,9 @@ Pod::Spec.new do |s|
2323

2424
s.dependency "Onfido", "27.4.0"
2525

26-
if fabric_enabled
27-
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
28-
29-
s.pod_target_xcconfig = {
30-
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"',
31-
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
32-
}
33-
s.compiler_flags = folly_compiler_flags + ' -DRCT_NEW_ARCH_ENABLED'
34-
35-
s.dependency "React"
36-
s.dependency "React-RCTFabric" # This is for fabric component
37-
s.dependency "React-Codegen"
38-
s.dependency "RCT-Folly"
39-
s.dependency "RCTRequired"
40-
s.dependency "RCTTypeSafety"
41-
s.dependency "ReactCommon/turbomodule/core"
26+
if defined?(install_modules_dependencies()) != nil
27+
install_modules_dependencies(s)
4228
else
43-
s.dependency "React"
29+
s.dependency "React-Core"
4430
end
4531
end

0 commit comments

Comments
 (0)