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

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.
@@ -1,6 +1,15 @@
1
1
  buildscript {
2
2
  // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3
- def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['VitalCoreReactNative_kotlinVersion']
3
+ def default_kotlin_version = project.properties['VitalCoreReactNative_kotlinVersion']
4
+ def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : default_kotlin_version
5
+ def default_ksp_version = project.properties['VitalCoreReactNative_kspVersion']
6
+ // Keep KSP pinned for the default Expo 54 line, but if a host app overrides Kotlin
7
+ // without providing kspVersion, fall back to the matching KSP line for that Kotlin version.
8
+ def ksp_version = rootProject.ext.has('kspVersion')
9
+ ? rootProject.ext.get('kspVersion')
10
+ : (rootProject.ext.has('kotlinVersion') && kotlin_version.toString() != default_kotlin_version.toString()
11
+ ? "${kotlin_version}+"
12
+ : default_ksp_version)
4
13
 
5
14
  repositories {
6
15
  google()
@@ -11,7 +20,7 @@ buildscript {
11
20
  classpath 'com.android.tools.build:gradle:3.5.3'
12
21
  // noinspection DifferentKotlinGradleVersion
13
22
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14
- classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$kotlin_version+"
23
+ classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version"
15
24
  }
16
25
  }
17
26
 
@@ -131,7 +140,7 @@ repositories {
131
140
  }
132
141
 
133
142
  def kotlin_version = getExtOrDefault('kotlinVersion')
134
- def vital_sdk_version = '4.2.1'
143
+ def vital_sdk_version = '4.2.2'
135
144
 
136
145
  dependencies {
137
146
  ksp "com.squareup.moshi:moshi-kotlin-codegen:1.13.0"
@@ -1,4 +1,5 @@
1
- VitalCoreReactNative_kotlinVersion=1.8.10
1
+ VitalCoreReactNative_kotlinVersion=2.0.21
2
+ VitalCoreReactNative_kspVersion=2.0.21-1.0.28
2
3
  VitalCoreReactNative_minSdkVersion=21
3
4
  VitalCoreReactNative_targetSdkVersion=31
4
5
  VitalCoreReactNative_compileSdkVersion=31
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>VitalCoreReactNative.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-core-react-native",
3
- "version": "5.4.1",
3
+ "version": "5.4.3",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",