react-native-risk-sdk 1.4.38 → 1.6.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.
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/android/.gradle/8.0.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.0.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.0.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.0.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.idea/other.xml +86 -9
- package/android/build.gradle +4 -3
- package/package.json +4 -4
- package/react-native-risk-sdk.podspec +13 -2
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/.idea/other.xml
CHANGED
|
@@ -25,6 +25,17 @@
|
|
|
25
25
|
<option name="screenX" value="1080" />
|
|
26
26
|
<option name="screenY" value="2160" />
|
|
27
27
|
</PersistentDeviceSelectionData>
|
|
28
|
+
<PersistentDeviceSelectionData>
|
|
29
|
+
<option name="api" value="34" />
|
|
30
|
+
<option name="brand" value="Lenovo" />
|
|
31
|
+
<option name="codename" value="TB370FU" />
|
|
32
|
+
<option name="id" value="TB370FU" />
|
|
33
|
+
<option name="manufacturer" value="Lenovo" />
|
|
34
|
+
<option name="name" value="Tab P12" />
|
|
35
|
+
<option name="screenDensity" value="340" />
|
|
36
|
+
<option name="screenX" value="1840" />
|
|
37
|
+
<option name="screenY" value="2944" />
|
|
38
|
+
</PersistentDeviceSelectionData>
|
|
28
39
|
<PersistentDeviceSelectionData>
|
|
29
40
|
<option name="api" value="31" />
|
|
30
41
|
<option name="brand" value="samsung" />
|
|
@@ -69,6 +80,28 @@
|
|
|
69
80
|
<option name="screenX" value="1080" />
|
|
70
81
|
<option name="screenY" value="2400" />
|
|
71
82
|
</PersistentDeviceSelectionData>
|
|
83
|
+
<PersistentDeviceSelectionData>
|
|
84
|
+
<option name="api" value="34" />
|
|
85
|
+
<option name="brand" value="google" />
|
|
86
|
+
<option name="codename" value="caiman" />
|
|
87
|
+
<option name="id" value="caiman" />
|
|
88
|
+
<option name="manufacturer" value="Google" />
|
|
89
|
+
<option name="name" value="Pixel 9 Pro" />
|
|
90
|
+
<option name="screenDensity" value="360" />
|
|
91
|
+
<option name="screenX" value="960" />
|
|
92
|
+
<option name="screenY" value="2142" />
|
|
93
|
+
</PersistentDeviceSelectionData>
|
|
94
|
+
<PersistentDeviceSelectionData>
|
|
95
|
+
<option name="api" value="34" />
|
|
96
|
+
<option name="brand" value="google" />
|
|
97
|
+
<option name="codename" value="comet" />
|
|
98
|
+
<option name="id" value="comet" />
|
|
99
|
+
<option name="manufacturer" value="Google" />
|
|
100
|
+
<option name="name" value="Pixel 9 Pro Fold" />
|
|
101
|
+
<option name="screenDensity" value="390" />
|
|
102
|
+
<option name="screenX" value="2076" />
|
|
103
|
+
<option name="screenY" value="2152" />
|
|
104
|
+
</PersistentDeviceSelectionData>
|
|
72
105
|
<PersistentDeviceSelectionData>
|
|
73
106
|
<option name="api" value="29" />
|
|
74
107
|
<option name="brand" value="samsung" />
|
|
@@ -91,6 +124,17 @@
|
|
|
91
124
|
<option name="screenX" value="1440" />
|
|
92
125
|
<option name="screenY" value="3088" />
|
|
93
126
|
</PersistentDeviceSelectionData>
|
|
127
|
+
<PersistentDeviceSelectionData>
|
|
128
|
+
<option name="api" value="34" />
|
|
129
|
+
<option name="brand" value="samsung" />
|
|
130
|
+
<option name="codename" value="e1q" />
|
|
131
|
+
<option name="id" value="e1q" />
|
|
132
|
+
<option name="manufacturer" value="Samsung" />
|
|
133
|
+
<option name="name" value="Galaxy S24" />
|
|
134
|
+
<option name="screenDensity" value="480" />
|
|
135
|
+
<option name="screenX" value="1080" />
|
|
136
|
+
<option name="screenY" value="2340" />
|
|
137
|
+
</PersistentDeviceSelectionData>
|
|
94
138
|
<PersistentDeviceSelectionData>
|
|
95
139
|
<option name="api" value="33" />
|
|
96
140
|
<option name="brand" value="google" />
|
|
@@ -102,6 +146,17 @@
|
|
|
102
146
|
<option name="screenX" value="2208" />
|
|
103
147
|
<option name="screenY" value="1840" />
|
|
104
148
|
</PersistentDeviceSelectionData>
|
|
149
|
+
<PersistentDeviceSelectionData>
|
|
150
|
+
<option name="api" value="34" />
|
|
151
|
+
<option name="brand" value="google" />
|
|
152
|
+
<option name="codename" value="felix" />
|
|
153
|
+
<option name="id" value="felix" />
|
|
154
|
+
<option name="manufacturer" value="Google" />
|
|
155
|
+
<option name="name" value="Pixel Fold" />
|
|
156
|
+
<option name="screenDensity" value="420" />
|
|
157
|
+
<option name="screenX" value="2208" />
|
|
158
|
+
<option name="screenY" value="1840" />
|
|
159
|
+
</PersistentDeviceSelectionData>
|
|
105
160
|
<PersistentDeviceSelectionData>
|
|
106
161
|
<option name="api" value="33" />
|
|
107
162
|
<option name="brand" value="google" />
|
|
@@ -146,6 +201,17 @@
|
|
|
146
201
|
<option name="screenX" value="720" />
|
|
147
202
|
<option name="screenY" value="1600" />
|
|
148
203
|
</PersistentDeviceSelectionData>
|
|
204
|
+
<PersistentDeviceSelectionData>
|
|
205
|
+
<option name="api" value="34" />
|
|
206
|
+
<option name="brand" value="google" />
|
|
207
|
+
<option name="codename" value="komodo" />
|
|
208
|
+
<option name="id" value="komodo" />
|
|
209
|
+
<option name="manufacturer" value="Google" />
|
|
210
|
+
<option name="name" value="Pixel 9 Pro XL" />
|
|
211
|
+
<option name="screenDensity" value="360" />
|
|
212
|
+
<option name="screenX" value="1008" />
|
|
213
|
+
<option name="screenY" value="2244" />
|
|
214
|
+
</PersistentDeviceSelectionData>
|
|
149
215
|
<PersistentDeviceSelectionData>
|
|
150
216
|
<option name="api" value="33" />
|
|
151
217
|
<option name="brand" value="google" />
|
|
@@ -190,6 +256,17 @@
|
|
|
190
256
|
<option name="screenX" value="1812" />
|
|
191
257
|
<option name="screenY" value="2176" />
|
|
192
258
|
</PersistentDeviceSelectionData>
|
|
259
|
+
<PersistentDeviceSelectionData>
|
|
260
|
+
<option name="api" value="34" />
|
|
261
|
+
<option name="brand" value="samsung" />
|
|
262
|
+
<option name="codename" value="q6q" />
|
|
263
|
+
<option name="id" value="q6q" />
|
|
264
|
+
<option name="manufacturer" value="Samsung" />
|
|
265
|
+
<option name="name" value="Galaxy Z Fold6" />
|
|
266
|
+
<option name="screenDensity" value="420" />
|
|
267
|
+
<option name="screenX" value="1856" />
|
|
268
|
+
<option name="screenY" value="2160" />
|
|
269
|
+
</PersistentDeviceSelectionData>
|
|
193
270
|
<PersistentDeviceSelectionData>
|
|
194
271
|
<option name="api" value="30" />
|
|
195
272
|
<option name="brand" value="google" />
|
|
@@ -236,15 +313,15 @@
|
|
|
236
313
|
<option name="screenY" value="2560" />
|
|
237
314
|
</PersistentDeviceSelectionData>
|
|
238
315
|
<PersistentDeviceSelectionData>
|
|
239
|
-
<option name="api" value="
|
|
240
|
-
<option name="brand" value="
|
|
241
|
-
<option name="codename" value="
|
|
242
|
-
<option name="id" value="
|
|
243
|
-
<option name="manufacturer" value="
|
|
244
|
-
<option name="name" value="
|
|
245
|
-
<option name="screenDensity" value="
|
|
246
|
-
<option name="screenX" value="
|
|
247
|
-
<option name="screenY" value="
|
|
316
|
+
<option name="api" value="34" />
|
|
317
|
+
<option name="brand" value="google" />
|
|
318
|
+
<option name="codename" value="tokay" />
|
|
319
|
+
<option name="id" value="tokay" />
|
|
320
|
+
<option name="manufacturer" value="Google" />
|
|
321
|
+
<option name="name" value="Pixel 9" />
|
|
322
|
+
<option name="screenDensity" value="420" />
|
|
323
|
+
<option name="screenX" value="1080" />
|
|
324
|
+
<option name="screenY" value="2424" />
|
|
248
325
|
</PersistentDeviceSelectionData>
|
|
249
326
|
</list>
|
|
250
327
|
</option>
|
package/android/build.gradle
CHANGED
|
@@ -19,8 +19,9 @@ properties.load(project.rootProject.file('local.properties').newDataInputStream(
|
|
|
19
19
|
def awsKey = properties.getProperty('ACCESS_KEY')
|
|
20
20
|
def awsSecret = properties.getProperty('SECRET_KEY')
|
|
21
21
|
def riskVersion = properties.getProperty('DC_SDK_VERSION')
|
|
22
|
+
def riskFlavor = properties.getProperty('DC_FLAVOR')
|
|
22
23
|
def commonVersion = properties.getProperty('COMMON_SDK_VERSION')
|
|
23
|
-
def
|
|
24
|
+
def commonFlavor = properties.getProperty('COMMON_FLAVOR')
|
|
24
25
|
def loggerVersion = properties.getProperty('LOGGER_SDK_VERSION')
|
|
25
26
|
|
|
26
27
|
def safeExtGet(prop, fallback) {
|
|
@@ -95,10 +96,10 @@ repositories {
|
|
|
95
96
|
dependencies {
|
|
96
97
|
//noinspection GradleDynamicVersion
|
|
97
98
|
implementation "com.facebook.react:react-android:0.73.6" // From node_modules
|
|
98
|
-
implementation("in.finbox:mobileriskmanager:${riskVersion}
|
|
99
|
+
implementation("in.finbox:mobileriskmanager:${riskVersion}:${riskFlavor}-release@aar") {
|
|
99
100
|
transitive = true
|
|
100
101
|
}
|
|
101
|
-
implementation("in.finbox:common:${commonVersion}:${
|
|
102
|
+
implementation("in.finbox:common:${commonVersion}:${commonFlavor}-release@aar") {
|
|
102
103
|
transitive = true
|
|
103
104
|
}
|
|
104
105
|
implementation("in.finbox:logger:${loggerVersion}:parent-release@aar") {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-risk-sdk",
|
|
3
3
|
"title": "React Native Risk Sdk",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"description": "A Wrapper around the
|
|
4
|
+
"version": "1.6.0",
|
|
5
|
+
"description": "A Wrapper around the Device Connect Android SDK",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
9
|
},
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
13
|
-
"baseUrl": "https://github.com/
|
|
12
|
+
"url": "git+https://github.com/finbox-in/device-connect-react-native-sdk.git",
|
|
13
|
+
"baseUrl": "https://github.com/finbox-in/device-connect-react-native-sdk"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"react-native"
|
|
@@ -2,9 +2,20 @@ require "json"
|
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
4
|
|
|
5
|
+
# Method to load and parse the .env file
|
|
6
|
+
env_vars = {}
|
|
7
|
+
File.readlines('../../ios/.xcode.env').each do |line|
|
|
8
|
+
next if line.start_with?('#') || line.strip.empty?
|
|
9
|
+
key, value = line.strip.split('=', 2)
|
|
10
|
+
env_vars[key] = value
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
# Load the environment variables from the xcode.env file
|
|
14
|
+
dc_version = env_vars['DC_SDK_VERSION']
|
|
15
|
+
|
|
5
16
|
Pod::Spec.new do |s|
|
|
6
17
|
s.name = "react-native-risk-sdk"
|
|
7
|
-
s.version = '0.4.
|
|
18
|
+
s.version = '0.4.2'
|
|
8
19
|
s.summary = 'Wrapper around DeviceConnect IOS SDK'
|
|
9
20
|
s.homepage = 'https://cocoapods.org/pods/RiskManager'
|
|
10
21
|
s.license = package["license"]
|
|
@@ -16,7 +27,7 @@ Pod::Spec.new do |s|
|
|
|
16
27
|
s.requires_arc = true
|
|
17
28
|
|
|
18
29
|
s.dependency "React"
|
|
19
|
-
s.dependency 'RiskManager',
|
|
30
|
+
s.dependency 'RiskManager', dc_version
|
|
20
31
|
|
|
21
32
|
end
|
|
22
33
|
|