react-native-risk-sdk 1.5.0 → 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 ADDED
@@ -0,0 +1,9 @@
1
+ # CHANGELOG
2
+
3
+ ## 1.6.0
4
+
5
+ * Add support for Country flavors
6
+
7
+ ## 1.5.0
8
+
9
+ * Add IOS support
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # react-native-risk-sdk
1
+ # Device Connect: React Native
2
2
 
3
3
  ## Getting started
4
4
 
@@ -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="29" />
240
- <option name="brand" value="samsung" />
241
- <option name="codename" value="x1q" />
242
- <option name="id" value="x1q" />
243
- <option name="manufacturer" value="Samsung" />
244
- <option name="name" value="Galaxy S20" />
245
- <option name="screenDensity" value="480" />
246
- <option name="screenX" value="1440" />
247
- <option name="screenY" value="3200" />
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>
@@ -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 commonArtifact = properties.getProperty('COMMON_FLAVOR')
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}:parent-release@aar") {
99
+ implementation("in.finbox:mobileriskmanager:${riskVersion}:${riskFlavor}-release@aar") {
99
100
  transitive = true
100
101
  }
101
- implementation("in.finbox:common:${commonVersion}:${commonArtifact}-release@aar") {
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.0",
5
- "description": "A Wrapper around the Risk Android SDK",
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/github_account/react-native-risk-sdk.git",
13
- "baseUrl": "https://github.com/github_account/react-native-risk-sdk"
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"