@sentiance-react-native/core 6.5.1 → 6.6.0-rc1
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/RNSentianceCore.podspec
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
require 'json'
|
|
2
2
|
package = JSON.parse(File.read(File.join(__dir__, './package.json')))
|
|
3
|
-
|
|
3
|
+
sentiance_sdk_package_version = package['sdkVersions']['ios']['sentiance']
|
|
4
|
+
sentiance_sdk_env_var_version = ENV["SENTIANCE_RN_IOS_SDK_VERSION"]
|
|
4
5
|
|
|
5
6
|
Pod::Spec.new do |s|
|
|
6
7
|
s.name = "RNSentianceCore"
|
|
7
|
-
s.version = "6.
|
|
8
|
+
s.version = "6.6.0-rc1"
|
|
8
9
|
s.summary = "RNSentianceCore"
|
|
9
10
|
s.description = <<-DESC
|
|
10
11
|
RNSentianceCore
|
|
@@ -20,5 +21,9 @@ Pod::Spec.new do |s|
|
|
|
20
21
|
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/SENTSDK' }
|
|
21
22
|
|
|
22
23
|
s.dependency "React"
|
|
23
|
-
|
|
24
|
+
|
|
25
|
+
if sentiance_sdk_env_var_version.nil?
|
|
26
|
+
s.dependency "SENTSDK", sentiance_sdk_package_version
|
|
27
|
+
else
|
|
28
|
+
s.dependency "SENTSDK", sentiance_sdk_env_var_version
|
|
24
29
|
end
|
|
@@ -13,5 +13,8 @@ apply from: "$coreProj.projectDir/package-json-reader.gradle"
|
|
|
13
13
|
|
|
14
14
|
def packageJson = PackageJson.of(coreProj)
|
|
15
15
|
ext.getSentianceSdkVersion = {
|
|
16
|
-
|
|
16
|
+
def envVarVersion = System.getenv("SENTIANCE_RN_ANDROID_SDK_VERSION")
|
|
17
|
+
def packageVersion = packageJson['sdkVersions']['android']['sentiance']
|
|
18
|
+
|
|
19
|
+
return envVarVersion ?: packageVersion
|
|
17
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentiance-react-native/core",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0-rc1",
|
|
4
4
|
"description": "React Native Sentiance core library",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"targetSdk": 31,
|
|
30
30
|
"compileSdk": 31,
|
|
31
31
|
"buildTools": "30.0.3",
|
|
32
|
-
"sentiance": "6.
|
|
32
|
+
"sentiance": "6.6.0-rc2"
|
|
33
33
|
},
|
|
34
34
|
"ios": {
|
|
35
|
-
"sentiance": "
|
|
35
|
+
"sentiance": "6.6.0-rc1"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|