react-native-stallion 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-stallion",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Offical React Native SDK for Stallion",
5
5
  "main": "index",
6
6
  "types": "types/index.d.ts",
@@ -50,18 +50,22 @@ Pod::Spec.new do |s|
50
50
  s.dependency "ZIPFoundation"
51
51
  end
52
52
 
53
- # Don't install the dependencies when we run `pod install` in the old architecture.
54
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
55
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
56
- s.pod_target_xcconfig = {
57
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
58
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
59
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
60
- }
61
- s.dependency "React-Codegen"
62
- s.dependency "RCT-Folly"
63
- s.dependency "RCTRequired"
64
- s.dependency "RCTTypeSafety"
65
- s.dependency "ReactCommon/turbomodule/core"
53
+ if respond_to?(:install_modules_dependencies, true)
54
+ install_modules_dependencies(s)
55
+ else
56
+ # Don't install the dependencies when we run `pod install` in the old architecture.
57
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
58
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
59
+ s.pod_target_xcconfig = {
60
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
61
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
62
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
63
+ }
64
+ s.dependency "React-Codegen"
65
+ s.dependency "RCT-Folly"
66
+ s.dependency "RCTRequired"
67
+ s.dependency "RCTTypeSafety"
68
+ s.dependency "ReactCommon/turbomodule/core"
69
+ end
66
70
  end
67
71
  end