@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.
- package/android/build.gradle +12 -3
- package/android/gradle.properties +2 -1
- package/ios/VitalCoreReactNative.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/VitalCoreReactNative.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/VitalCoreReactNative.xcodeproj/project.xcworkspace/xcuserdata/anders.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/VitalCoreReactNative.xcodeproj/xcuserdata/anders.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
// Buildscript is evaluated before everything else so we can't use getExtOrDefault
|
|
3
|
-
def
|
|
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:$
|
|
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.
|
|
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"
|
|
Binary file
|
|
@@ -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>
|