assentify-sdk-react-native 0.0.31 → 0.0.33

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.
Files changed (60) hide show
  1. package/README.md +8 -0
  2. package/android/build.gradle +3 -1
  3. package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +26 -3
  4. package/android/src/main/java/com/assentifysdk/FaceMatchActivity.kt +78 -20
  5. package/android/src/main/java/com/assentifysdk/ScanIDActivity.kt +150 -36
  6. package/android/src/main/java/com/assentifysdk/ScanOtherActivity.kt +80 -19
  7. package/android/src/main/java/com/assentifysdk/ScanPassportActivity.kt +79 -23
  8. package/android/src/main/res/drawable/button_rounded_background.xml +4 -4
  9. package/android/src/main/res/layout/activity_face_scan.xml +234 -219
  10. package/android/src/main/res/layout/activity_scan.xml +116 -0
  11. package/assentify-sdk.podspec +1 -1
  12. package/ios/NativeAssentifySdk.mm +6 -0
  13. package/ios/NativeAssentifySdk.swift +24 -7
  14. package/ios/UIComponents/RNPassportScanner.swift +4 -0
  15. package/ios/View/FaceMatchController.swift +49 -8
  16. package/ios/View/IDCardController.swift +81 -18
  17. package/ios/View/OtherController.swift +49 -11
  18. package/ios/View/PassportController.swift +57 -13
  19. package/ios/View/UI.swift +192 -36
  20. package/lib/commonjs/AssentifyProvider.js +12 -4
  21. package/lib/commonjs/AssentifyProvider.js.map +1 -1
  22. package/lib/commonjs/AssentifyWrapper.js +2 -2
  23. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  24. package/lib/commonjs/DoneFlags.js +14 -0
  25. package/lib/commonjs/DoneFlags.js.map +1 -0
  26. package/lib/commonjs/index.js +12 -0
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/module/AssentifyProvider.js +12 -4
  29. package/lib/module/AssentifyProvider.js.map +1 -1
  30. package/lib/module/AssentifyWrapper.js +2 -2
  31. package/lib/module/AssentifyWrapper.js.map +1 -1
  32. package/lib/module/DoneFlags.js +8 -0
  33. package/lib/module/DoneFlags.js.map +1 -0
  34. package/lib/module/index.js +1 -0
  35. package/lib/module/index.js.map +1 -1
  36. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  37. package/lib/typescript/lib/commonjs/AssentifyProvider.d.ts.map +1 -1
  38. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +1 -1
  39. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  40. package/lib/typescript/lib/commonjs/DoneFlags.d.ts +9 -0
  41. package/lib/typescript/lib/commonjs/DoneFlags.d.ts.map +1 -0
  42. package/lib/typescript/lib/module/AssentifyProvider.d.ts.map +1 -1
  43. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +1 -1
  44. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  45. package/lib/typescript/lib/module/DoneFlags.d.ts +8 -0
  46. package/lib/typescript/lib/module/DoneFlags.d.ts.map +1 -0
  47. package/lib/typescript/lib/module/index.d.ts +2 -1
  48. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  49. package/lib/typescript/src/AssentifyProvider.d.ts.map +1 -1
  50. package/lib/typescript/src/AssentifyWrapper.d.ts +1 -1
  51. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  52. package/lib/typescript/src/DoneFlags.d.ts +9 -0
  53. package/lib/typescript/src/DoneFlags.d.ts.map +1 -0
  54. package/lib/typescript/src/index.d.ts +2 -1
  55. package/lib/typescript/src/index.d.ts.map +1 -1
  56. package/package.json +1 -1
  57. package/src/AssentifyProvider.tsx +11 -4
  58. package/src/AssentifyWrapper.ts +13 -1
  59. package/src/DoneFlags.ts +11 -0
  60. package/src/index.ts +1 -0
@@ -1,242 +1,257 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
- xmlns:app="http://schemas.android.com/apk/res-auto"
4
- xmlns:tools="http://schemas.android.com/tools"
3
+ xmlns:app="http://schemas.android.com/apk/res-auto"
4
+ xmlns:tools="http://schemas.android.com/tools"
5
+ android:layout_width="match_parent"
6
+ android:layout_height="match_parent"
7
+ android:textColor="@color/white"
8
+ tools:context=".FaceMatchActivity">
9
+
10
+ <androidx.appcompat.widget.Toolbar
11
+ android:id="@+id/toolbar"
5
12
  android:layout_width="match_parent"
6
- android:layout_height="match_parent"
7
- android:textColor="@color/white"
8
- tools:context=".FaceMatchActivity">
9
-
10
- <androidx.appcompat.widget.Toolbar
11
- android:id="@+id/toolbar"
12
- android:layout_width="match_parent"
13
- android:layout_height="70dp"
14
- android:background="@color/transparent"
15
- android:elevation="4dp"
16
- tools:ignore="MissingConstraints">
17
-
18
- <LinearLayout
19
- android:layout_width="match_parent"
20
- android:layout_height="wrap_content"
21
- android:layout_gravity="center"
22
- android:orientation="horizontal">
23
-
24
- <LinearLayout
25
- android:layout_width="wrap_content"
26
- android:layout_height="wrap_content"
27
- android:layout_gravity="center"
28
- android:layout_weight="1"
29
- android:orientation="horizontal">
30
-
31
- <RelativeLayout
32
- android:id="@+id/backButton"
33
- android:layout_width="45dp"
34
- android:layout_height="45dp"
35
- android:elevation="4dp">
36
-
37
- <ImageView
38
- android:layout_width="23dp"
39
- android:layout_height="23dp"
40
- android:layout_centerHorizontal="true"
41
- android:layout_centerVertical="true"
42
- android:src="@drawable/back_icon" />
43
-
44
- </RelativeLayout>
45
-
46
- </LinearLayout>
47
-
48
- <TextView
49
- android:id="@+id/toolbar_title"
50
- android:layout_width="wrap_content"
51
- android:layout_height="wrap_content"
52
- android:layout_weight="1"
53
- android:gravity="center"
54
- android:paddingTop="5dp"
55
- android:text=""
56
- android:textColor="@color/white"
57
- android:textSize="18sp" />
58
-
59
- <RelativeLayout
60
- android:layout_width="45dp"
61
- android:layout_height="45dp"
62
- android:layout_weight="1"
63
- android:elevation="4dp"></RelativeLayout>
64
-
65
- </LinearLayout>
66
-
67
- </androidx.appcompat.widget.Toolbar>
13
+ android:layout_height="70dp"
14
+ android:background="@color/transparent"
15
+ android:elevation="4dp"
16
+ tools:ignore="MissingConstraints">
68
17
 
69
18
  <LinearLayout
70
- android:layout_width="match_parent"
71
- android:layout_height="match_parent"
72
- android:gravity="center_horizontal"
19
+ android:layout_width="match_parent"
20
+ android:layout_height="wrap_content"
21
+ android:layout_gravity="center"
22
+ android:orientation="horizontal">
23
+
24
+ <LinearLayout
25
+ android:layout_width="wrap_content"
26
+ android:layout_height="wrap_content"
27
+ android:layout_gravity="center"
28
+ android:layout_weight="1"
73
29
  android:orientation="horizontal">
74
30
 
31
+ <RelativeLayout
32
+ android:id="@+id/backButton"
33
+ android:layout_width="45dp"
34
+ android:layout_height="45dp"
35
+ android:elevation="4dp">
75
36
 
76
- <androidx.cardview.widget.CardView
77
- android:id="@+id/fragmentContainer"
78
- android:layout_width="match_parent"
79
- android:layout_height="match_parent"
80
- android:gravity="center_horizontal"
81
- app:cardBackgroundColor="@android:color/white"
82
- app:elevation="0dp" />
37
+ <ImageView
38
+ android:layout_width="23dp"
39
+ android:layout_height="23dp"
40
+ android:layout_centerHorizontal="true"
41
+ android:layout_centerVertical="true"
42
+ android:src="@drawable/back_icon" />
83
43
 
44
+ </RelativeLayout>
84
45
 
85
- </LinearLayout>
46
+ </LinearLayout>
86
47
 
87
- <LinearLayout
88
- android:layout_width="match_parent"
89
- android:layout_height="match_parent"
90
- android:layout_gravity="center_vertical"
91
- android:layout_marginTop="00dp"
48
+ <TextView
49
+ android:id="@+id/toolbar_title"
50
+ android:layout_width="wrap_content"
51
+ android:layout_height="wrap_content"
52
+ android:layout_weight="1"
92
53
  android:gravity="center"
93
- android:orientation="vertical"
94
- android:paddingLeft="16dp"
95
- android:paddingRight="16dp"
96
- android:paddingBottom="2dp"
97
- android:visibility="visible">
98
-
99
- <LinearLayout
100
- android:layout_width="wrap_content"
101
- android:layout_height="wrap_content"
102
- android:layout_gravity="center_horizontal"
103
- android:gravity="center"
104
- android:orientation="horizontal">
105
-
106
- <LinearLayout
107
- android:id="@+id/popUpContainer"
108
- android:layout_width="wrap_content"
109
- android:layout_height="wrap_content"
110
- android:layout_gravity="center_horizontal"
111
- android:gravity="center"
112
- android:orientation="vertical">
113
-
114
- <ImageView
115
- android:id="@+id/popUpIcon"
116
- android:layout_width="130dp"
117
- android:layout_height="100dp"
118
- android:layout_centerHorizontal="true"
119
- android:layout_centerVertical="true"
120
- android:paddingLeft="30dp"
121
- android:paddingTop="5dp"
122
- android:paddingRight="30dp"
123
- android:visibility="gone" />
124
-
125
-
126
- <TextView
127
- android:id="@+id/popUpText"
128
- android:layout_width="wrap_content"
129
- android:layout_height="wrap_content"
130
- android:fontFamily="sans-serif"
131
- android:paddingLeft="40dp"
132
- android:paddingTop="5dp"
133
- android:paddingRight="40dp"
134
- android:paddingBottom="20dp"
135
- android:text=""
136
- android:textSize="15sp" />
137
-
138
- <TextView
139
- android:id="@+id/popUpSubText"
140
- android:layout_width="wrap_content"
141
- android:layout_height="wrap_content"
142
- android:paddingLeft="40dp"
143
- android:paddingRight="40dp"
144
- android:paddingBottom="20dp"
145
- android:text="Let's try again"
146
- android:textSize="10sp" />
147
-
148
- <Button
149
- android:id="@+id/popUpButton"
150
- android:layout_width="100dp"
151
- android:layout_height="35dp"
152
- android:layout_gravity="center_horizontal"
153
- android:layout_marginLeft="50dp"
154
- android:layout_marginRight="50dp"
155
- android:layout_marginBottom="20dp"
156
- android:text="Retry ?"
157
- android:textSize="10sp" />
158
- </LinearLayout>
159
-
160
- </LinearLayout>
54
+ android:paddingTop="5dp"
55
+ android:text=""
56
+ android:textColor="@color/white"
57
+ android:textSize="18sp" />
161
58
 
59
+ <RelativeLayout
60
+ android:layout_width="45dp"
61
+ android:layout_height="45dp"
62
+ android:layout_weight="1"
63
+ android:elevation="4dp"></RelativeLayout>
162
64
 
163
65
  </LinearLayout>
164
66
 
67
+ </androidx.appcompat.widget.Toolbar>
68
+
69
+ <LinearLayout
70
+ android:layout_width="match_parent"
71
+ android:layout_height="match_parent"
72
+ android:gravity="center_horizontal"
73
+ android:orientation="horizontal">
74
+
75
+
76
+ <androidx.cardview.widget.CardView
77
+ android:id="@+id/fragmentContainer"
78
+ android:layout_width="match_parent"
79
+ android:layout_height="match_parent"
80
+ android:gravity="center_horizontal"
81
+ app:cardBackgroundColor="@android:color/white"
82
+ app:elevation="0dp" />
83
+
84
+
85
+ </LinearLayout>
86
+
87
+ <LinearLayout
88
+ android:layout_width="match_parent"
89
+ android:layout_height="match_parent"
90
+ android:layout_gravity="center_vertical"
91
+ android:layout_marginTop="00dp"
92
+ android:gravity="center"
93
+ android:orientation="vertical"
94
+ android:paddingLeft="16dp"
95
+ android:paddingRight="16dp"
96
+ android:paddingBottom="2dp"
97
+ android:visibility="visible">
98
+
165
99
  <LinearLayout
166
- android:layout_width="match_parent"
167
- android:layout_height="match_parent"
168
- android:gravity="center_horizontal"
169
- android:paddingLeft="10dp"
170
- android:paddingTop="80dp"
171
- android:paddingRight="10dp">
172
-
173
- <LinearLayout
174
- android:id="@+id/face_background"
175
- android:layout_width="380dp"
176
- android:layout_height="560dp"
177
- android:layout_centerInParent="true"
178
- android:background="@drawable/face_background"
179
- android:orientation="horizontal"
180
- android:paddingLeft="10dp"
181
- android:paddingRight="10dp"
182
- android:visibility="gone"
183
- app:cardBackgroundColor="@android:color/transparent"
184
- tools:ignore="MissingConstraints" />
100
+ android:layout_width="wrap_content"
101
+ android:layout_height="wrap_content"
102
+ android:layout_gravity="center_horizontal"
103
+ android:gravity="center"
104
+ android:orientation="horizontal">
105
+
106
+ <LinearLayout
107
+ android:id="@+id/popUpContainer"
108
+ android:layout_width="wrap_content"
109
+ android:layout_height="wrap_content"
110
+ android:layout_gravity="center_horizontal"
111
+ android:gravity="center"
112
+ android:orientation="vertical">
113
+
114
+ <ImageView
115
+ android:id="@+id/popUpIcon"
116
+ android:layout_width="130dp"
117
+ android:layout_height="100dp"
118
+ android:layout_centerHorizontal="true"
119
+ android:layout_centerVertical="true"
120
+ android:paddingLeft="30dp"
121
+ android:paddingTop="5dp"
122
+ android:paddingRight="30dp"
123
+ android:visibility="gone" />
124
+
125
+
126
+ <TextView
127
+ android:id="@+id/popUpText"
128
+ android:layout_width="wrap_content"
129
+ android:layout_height="wrap_content"
130
+ android:fontFamily="sans-serif"
131
+ android:paddingLeft="40dp"
132
+ android:paddingTop="5dp"
133
+ android:paddingRight="40dp"
134
+ android:paddingBottom="20dp"
135
+ android:text=""
136
+ android:textSize="15sp" />
137
+
138
+ <TextView
139
+ android:id="@+id/popUpSubText"
140
+ android:layout_width="wrap_content"
141
+ android:layout_height="wrap_content"
142
+ android:paddingLeft="40dp"
143
+ android:paddingRight="40dp"
144
+ android:paddingBottom="20dp"
145
+ android:text="Let's try again"
146
+ android:textSize="10sp" />
147
+
148
+ <Button
149
+ android:id="@+id/popUpButton"
150
+ android:layout_width="100dp"
151
+ android:layout_height="35dp"
152
+ android:layout_gravity="center_horizontal"
153
+ android:layout_marginLeft="50dp"
154
+ android:layout_marginRight="50dp"
155
+ android:layout_marginBottom="20dp"
156
+ android:text="Retry ?"
157
+ android:textSize="10sp" />
158
+ </LinearLayout>
159
+
185
160
  </LinearLayout>
186
161
 
187
162
 
163
+ </LinearLayout>
164
+
165
+ <LinearLayout
166
+ android:layout_width="match_parent"
167
+ android:layout_height="match_parent"
168
+ android:gravity="center_horizontal"
169
+ android:paddingLeft="10dp"
170
+ android:paddingTop="80dp"
171
+ android:paddingRight="10dp">
172
+
188
173
  <LinearLayout
189
- android:id="@+id/messageLayout"
190
- android:layout_width="match_parent"
191
- android:layout_height="match_parent"
192
- android:layout_gravity="center"
193
- android:gravity="bottom"
194
- android:orientation="vertical"
195
- android:visibility="visible">
196
-
197
- <LinearLayout
198
- android:layout_width="match_parent"
199
- android:layout_height="wrap_content"
200
- android:layout_gravity="center_vertical"
201
- android:background="@color/transparent"
202
- android:gravity="center"
203
- android:orientation="horizontal"
204
- android:paddingBottom="40px"
205
- android:visibility="visible">
206
-
207
-
208
- <LinearLayout
209
- android:id="@+id/infoLayout"
210
- android:layout_width="wrap_content"
211
- android:layout_height="wrap_content"
212
- android:layout_gravity="center_vertical"
213
- android:gravity="center"
214
- android:orientation="horizontal"
215
- android:paddingLeft="15dp"
216
- android:paddingTop="5dp"
217
- android:paddingRight="20dp"
218
- android:paddingBottom="5dp">
219
-
220
- <ImageView
221
- android:id="@+id/info_icon"
222
- android:layout_width="40dp"
223
- android:layout_height="40dp"
224
- android:layout_centerHorizontal="true"
225
- android:layout_centerVertical="true"
226
- android:paddingLeft="5dp"
227
- android:paddingRight="10dp" />
228
-
229
- <TextView
230
- android:id="@+id/infoText"
231
- android:layout_width="wrap_content"
232
- android:layout_height="wrap_content"
233
- android:fontFamily="sans-serif"
234
- android:text=""
235
- android:textColor="@color/white"
236
- android:textSize="15sp" />
237
- </LinearLayout>
238
-
239
-
240
- </LinearLayout>
174
+ android:id="@+id/face_background"
175
+ android:layout_width="380dp"
176
+ android:layout_height="560dp"
177
+ android:layout_centerInParent="true"
178
+ android:background="@drawable/face_background"
179
+ android:orientation="horizontal"
180
+ android:paddingLeft="10dp"
181
+ android:paddingRight="10dp"
182
+ android:visibility="gone"
183
+ app:cardBackgroundColor="@android:color/transparent"
184
+ tools:ignore="MissingConstraints" />
185
+ </LinearLayout>
186
+
187
+
188
+ <LinearLayout
189
+ android:id="@+id/messageLayout"
190
+ android:layout_width="match_parent"
191
+ android:layout_height="match_parent"
192
+ android:layout_gravity="center"
193
+ android:gravity="bottom"
194
+ android:orientation="vertical"
195
+ android:visibility="visible">
196
+
197
+ <LinearLayout
198
+ android:layout_width="match_parent"
199
+ android:layout_height="wrap_content"
200
+ android:layout_gravity="center_vertical"
201
+ android:background="@color/transparent"
202
+ android:gravity="center"
203
+ android:orientation="horizontal"
204
+ android:paddingBottom="40px"
205
+ android:visibility="visible">
206
+
207
+
208
+ <LinearLayout
209
+ android:id="@+id/infoLayout"
210
+ android:layout_width="wrap_content"
211
+ android:layout_height="wrap_content"
212
+ android:layout_gravity="center_vertical"
213
+ android:gravity="center"
214
+ android:orientation="horizontal"
215
+ android:paddingLeft="15dp"
216
+ android:paddingTop="5dp"
217
+ android:paddingRight="20dp"
218
+ android:paddingBottom="5dp">
219
+
220
+ <ImageView
221
+ android:id="@+id/info_icon"
222
+ android:layout_width="40dp"
223
+ android:layout_height="40dp"
224
+ android:layout_centerHorizontal="true"
225
+ android:layout_centerVertical="true"
226
+ android:paddingLeft="5dp"
227
+ android:paddingRight="10dp" />
228
+
229
+ <TextView
230
+ android:id="@+id/infoText"
231
+ android:layout_width="wrap_content"
232
+ android:layout_height="wrap_content"
233
+ android:fontFamily="sans-serif"
234
+ android:text=""
235
+ android:textColor="@color/white"
236
+ android:textSize="15sp" />
237
+ </LinearLayout>
238
+
239
+
241
240
  </LinearLayout>
241
+ </LinearLayout>
242
+
243
+ <Button
244
+ android:id="@+id/takePhoto"
245
+ android:layout_width="0dp"
246
+ android:layout_height="56dp"
247
+ android:layout_marginStart="16dp"
248
+ android:layout_marginEnd="16dp"
249
+ android:layout_marginBottom="70dp"
250
+ android:text="Take Photo"
251
+ android:textAllCaps="false"
252
+ android:textColor="@android:color/white"
253
+ app:cornerRadius="12dp"
254
+ app:layout_constraintBottom_toBottomOf="parent"
255
+ app:layout_constraintEnd_toEndOf="parent"
256
+ app:layout_constraintStart_toStartOf="parent" />
242
257
  </androidx.constraintlayout.widget.ConstraintLayout>
@@ -294,4 +294,120 @@
294
294
 
295
295
  </LinearLayout>
296
296
  </LinearLayout>
297
+ <Button
298
+ android:id="@+id/takePhoto"
299
+ android:layout_width="0dp"
300
+ android:layout_height="56dp"
301
+ android:text="Take Photo"
302
+ android:textAllCaps="false"
303
+ android:textColor="@android:color/white"
304
+ app:cornerRadius="30dp"
305
+ app:layout_constraintStart_toStartOf="parent"
306
+ app:layout_constraintEnd_toEndOf="parent"
307
+ app:layout_constraintBottom_toBottomOf="parent"
308
+ android:layout_marginStart="16dp"
309
+ android:layout_marginEnd="16dp"
310
+ android:layout_marginBottom="70dp"/>
311
+
312
+
313
+ <LinearLayout
314
+ android:id="@+id/backIDPage"
315
+ android:visibility="gone"
316
+ android:layout_width="match_parent"
317
+ android:layout_height="match_parent"
318
+ android:orientation="vertical"
319
+ android:paddingStart="24dp"
320
+ android:paddingEnd="24dp"
321
+ android:paddingTop="24dp"
322
+ android:paddingBottom="24dp"
323
+ android:background="@color/Green">
324
+ <LinearLayout
325
+ android:layout_width="match_parent"
326
+ android:layout_height="match_parent"
327
+ android:layout_gravity="center_vertical"
328
+ android:layout_marginTop="00dp"
329
+ android:gravity="center"
330
+ android:orientation="vertical"
331
+ android:paddingLeft="10dp"
332
+ android:paddingRight="10dp"
333
+ android:paddingBottom="2dp"
334
+ android:visibility="visible">
335
+
336
+
337
+ <TextView
338
+ android:id="@+id/tvInstruction"
339
+ android:layout_width="wrap_content"
340
+ android:layout_height="wrap_content"
341
+ android:paddingTop="120dp"
342
+ android:text="Please flip the card provided to take the back of the card"
343
+ android:textColor="@android:color/white"
344
+ android:textSize="20sp"
345
+ android:gravity="center"
346
+ android:textStyle="bold"
347
+ app:layout_constraintStart_toStartOf="parent"
348
+ app:layout_constraintEnd_toEndOf="parent"
349
+ tools:ignore="MissingConstraints" />
350
+
351
+ <ImageView
352
+ android:id="@+id/ivSample"
353
+ android:layout_width="wrap_content"
354
+ android:layout_margin="10dp"
355
+ android:padding="10dp"
356
+ android:layout_height="wrap_content"
357
+ android:paddingTop="100dp"
358
+ android:contentDescription="@string/app_name"
359
+ android:scaleType="fitXY"
360
+ android:layout_gravity="center"
361
+ app:layout_constraintTop_toBottomOf="@id/tvInstruction"
362
+ app:layout_constraintStart_toStartOf="parent"
363
+ app:layout_constraintEnd_toEndOf="parent" />
364
+
365
+ <!-- Caption -->
366
+ <TextView
367
+ android:id="@+id/tvCaption"
368
+ android:layout_width="match_parent"
369
+ android:layout_height="wrap_content"
370
+ android:gravity="center"
371
+ android:layout_marginTop="15dp"
372
+ android:text="Expected Card Type"
373
+ android:textColor="@color/white"
374
+ android:textSize="12sp"
375
+ app:layout_constraintTop_toBottomOf="@id/ivSample"
376
+ app:layout_constraintStart_toStartOf="parent"
377
+ app:layout_constraintEnd_toEndOf="parent" />
378
+
379
+ <pl.droidsonroids.gif.GifImageView
380
+ android:id="@+id/gifCard"
381
+ android:visibility="visible"
382
+ app:layout_constraintTop_toBottomOf="@id/tvCaption"
383
+ android:layout_width="150dp"
384
+ android:layout_height="150dp"
385
+ android:background="@null"
386
+ android:src="@drawable/card"
387
+ tools:ignore="MissingConstraints" />
388
+
389
+ <Button
390
+ android:id="@+id/nextTemplate"
391
+ android:layout_width="match_parent"
392
+ android:layout_height="56dp"
393
+ android:text="Next"
394
+ android:textAllCaps="false"
395
+ android:textColor="@android:color/white"
396
+ app:cornerRadius="30dp"
397
+ app:layout_constraintStart_toStartOf="parent"
398
+ app:layout_constraintEnd_toEndOf="parent"
399
+ app:layout_constraintBottom_toBottomOf="parent"
400
+ android:layout_marginStart="10dp"
401
+ android:layout_marginEnd="10dp"
402
+ android:layout_marginTop="15dp"
403
+ android:layout_marginBottom="10dp"/>
404
+
405
+ </LinearLayout>
406
+
407
+
408
+
409
+
410
+
411
+ </LinearLayout>
412
+
297
413
  </androidx.constraintlayout.widget.ConstraintLayout>
@@ -38,6 +38,6 @@ Pod::Spec.new do |s|
38
38
 
39
39
 
40
40
  s.dependency "React-Core"
41
- s.dependency "AssentifySdk", '0.0.69'
41
+ s.dependency "AssentifySdk", '0.0.70'
42
42
 
43
43
  end
@@ -25,6 +25,12 @@ RCT_EXTERN_METHOD(initialize: (NSString *)apiKey
25
25
  iOSBrightnessLowThreshold:(nonnull NSNumber * )iOSBrightnessLowThreshold
26
26
  activeLiveType:(NSString * )activeLiveType
27
27
  activeLivenessCheckCount:(nonnull NSNumber * )activeLivenessCheckCount
28
+ retryCount:(nonnull NSNumber * )retryCount
29
+ faceLivenessRetryCount:(nonnull NSNumber * )faceLivenessRetryCount
30
+ minRam:(nonnull NSNumber * )minRam
31
+ iOSMinRam:(nonnull NSNumber * )iOSMinRam
32
+ minCPUCores:(nonnull NSNumber * )minCPUCores
33
+ manualClickColor:(NSString * )manualClickColor
28
34
  )
29
35
  RCT_EXTERN_METHOD(startScanPassport:
30
36
  (NSString *)language