@tryvital/vital-core-react-native 5.4.3 → 5.5.0

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.
@@ -140,7 +140,7 @@ repositories {
140
140
  }
141
141
 
142
142
  def kotlin_version = getExtOrDefault('kotlinVersion')
143
- def vital_sdk_version = '4.2.2'
143
+ def vital_sdk_version = '4.3.2'
144
144
 
145
145
  dependencies {
146
146
  ksp "com.squareup.moshi:moshi-kotlin-codegen:1.13.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-core-react-native",
3
- "version": "5.4.3",
3
+ "version": "5.5.0",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -75,7 +75,8 @@
75
75
  },
76
76
  "peerDependencies": {
77
77
  "react": "*",
78
- "react-native": "*"
78
+ "react-native": "*",
79
+ "expo": "*"
79
80
  },
80
81
  "engines": {
81
82
  "node": ">= 18.0.0"
@@ -1,7 +1,6 @@
1
1
  require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
4
 
6
5
  Pod::Spec.new do |s|
7
6
  s.name = "vital-core-react-native"
@@ -16,21 +15,7 @@ Pod::Spec.new do |s|
16
15
 
17
16
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
17
 
19
- s.dependency "React-Core"
20
- s.dependency "VitalCore", "~> 1.8.2"
18
+ s.dependency "VitalCore", "~> 1.8.6"
21
19
 
22
- # Don't install the dependencies when we run `pod install` in the old architecture.
23
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
24
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
25
- s.pod_target_xcconfig = {
26
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
27
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
28
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
29
- }
30
- s.dependency "React-Codegen"
31
- s.dependency "RCT-Folly"
32
- s.dependency "RCTRequired"
33
- s.dependency "RCTTypeSafety"
34
- s.dependency "ReactCommon/turbomodule/core"
35
- end
20
+ install_modules_dependencies(s)
36
21
  end