react-native-persona 2.4.3 → 2.5.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 CHANGED
@@ -7,18 +7,130 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## [v2.5.0] - 2023-05-17
11
+
12
+ ### Changed
13
+
14
+ - Upgrade to iOS Inquiry SDK 2.8.0
15
+
16
+ > #### [v2.8.0] - 2023-04-14
17
+ >
18
+ > #### Added
19
+ >
20
+ > - Added new `InquiryTemplateBuilder` and `InquiryBuilder` to simplify creation of `Inquiry` objects. Acquire a builder with new `Inquiry.from` methods.
21
+
22
+ > #### [v2.7.4] - 2023-04-03
23
+ >
24
+ > #### Added
25
+ >
26
+ > - Added support for e-signature components.
27
+ > - Added functionality to extract text from government documents on the client.
28
+ >
29
+ > #### Changed
30
+ >
31
+ > - Now respecting the property `overrideUserInterfaceStyle` on window or view controller that presents the persona flow.
32
+ >
33
+ > #### Fixed
34
+ >
35
+ > - Fixed a memory leak.
36
+
37
+ - Upgrade to Android Inquiry SDK 2.6.1
38
+
39
+ > #### [v2.6.1] - 2023-05-16
40
+ >
41
+ > #### Changed
42
+ > - Now setting status bar color to match default background color for initial loading screen.
43
+ > - Try multiple configurations for video capture if the first configuration doesn't work.
44
+ > - Dismiss capture tips screen on back press instead of navigating back.
45
+ >
46
+ > #### Fixed
47
+ > - Fix a possible crash that can occur if using Android Gradle Plugin 8.0.0 on Android 13.
48
+ > - Fix a rare crash with video capture.
49
+ > - Fix a layout bug with margins on input date select components.
50
+
51
+ > #### [v2.6.0]
52
+ >
53
+ > #### Changed
54
+ > - **UI UPDATES: GOVERNMENT ID CAMERA CAPTURE SCREEN**
55
+ We’ve changed the animation that plays on the screen where the user is asked to take a photo of their government ID. The previous animation featured a line sweeping back and forth, horizontally. This animation has been replaced with a more subtle sweeping animation around the border of the camera preview frame. The new animation is designed to be performant and distraction-free. It is rendered with custom code for better performance. We've also added a button to the government id capture screen that displays capture tips when tapped. This change was made to improve the quality of photos captured by the user. If you have any questions about these changes, please reach out to your CSM.
56
+ >
57
+ > #### Fixed
58
+ > - Fixed a rare native library crash where the native library could not be found due to an
59
+ incompatible architecture.
60
+
61
+ > #### [v2.5.1] - 2023-04-06
62
+ >
63
+ > #### Changed
64
+ > - Update dependencies.
65
+ >
66
+ > #### Fixed
67
+ > - Fixed a bug that would cause government id steps to trigger auto capture immediately if auto capture is disabled.
68
+
69
+ > #### [v2.5.0] - 2023-04-03
70
+ >
71
+ > #### Added
72
+ > - Added the ability to load static templates from bundled json files. This can be accessed with the fromStaticTemplate(staticInquiryTemplate: StaticInquiryTemplate) function. Note that this is currently an experimental feature.
73
+ > - Added support for inquiries that require video capture.
74
+ > - Added functionality to extract text from government documents on the client.
75
+ >
76
+ > #### Changed
77
+ > - Upgrade Lottie to 6.0.0.
78
+ >
79
+ > #### Fixed
80
+ > - Fixed a crash that could occur when we failed to open a network connection for remote animation assets.
81
+
82
+ > #### [v2.4.1] - 2023-03-29
83
+ >
84
+ > #### Fixed
85
+ > - Return InquiryResponse.Cancel instead of InquiryResponse.Error if the SDK was killed due to an activity starting in a new task. Eg. an activity started with the `singleTask` flag.
86
+
87
+ ## [v2.4.4] - 2023-03-08
88
+
89
+ ### Changed
90
+
91
+ - Upgrade to iOS Inquiry SDK 2.7.3
92
+
93
+ > #### [v2.7.3] - 2023-03-08
94
+ >
95
+ > #### Fixed
96
+ >
97
+ > - Fixed a layout bug that caused some texts to not render on iOS 14.
98
+
10
99
  ## [v2.4.3] - 2023-03-06
11
100
 
12
101
  ### Changed
13
102
 
14
103
  - Upgrade to iOS Inquiry SDK 2.7.2
15
104
 
105
+ > #### [v2.7.2] - 2023-03-06
106
+ >
107
+ > #### Fixed
108
+ >
109
+ > - Fixed a networking error.
110
+ >
111
+ > #### Removed
112
+ >
113
+ > - Removed vendorized JsonLogic types from our public interface.
114
+
16
115
  ## [v2.4.2] - 2023-03-02
17
116
 
18
117
  ### Changed
19
118
 
20
119
  - Upgrade to iOS Inquiry SDK 2.7.1
21
120
 
121
+ > #### [v2.7.1] - 2023-03-02
122
+ >
123
+ > #### Fixed
124
+ >
125
+ > - Fixed an issue with app store connect rejecting our framework for usage of `CIFalseColor.inputImage`.
126
+ >
127
+ > #### Removed
128
+ >
129
+ > - Removed the dismiss button on permission info modal after App Store Rejection from Apple.
130
+ > Per Apple, "A message appears before the permission request, and the user can close the
131
+ > message and delay the permission request with the “Don’t Enable” button. The user should
132
+ > always proceed to the permission request after the message."
133
+
22
134
  ### Fixed
23
135
 
24
136
  - Fixed an iOS compiler bug that prevented our module from linking on select architectures (rosetta simulator and physical devices).
@@ -34,14 +146,32 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
34
146
  ### Changed
35
147
 
36
148
  - Upgrade to iOS Inquiry SDK 2.7.0
149
+
150
+ > #### [v2.7.0] - 2023-02-22
151
+ >
152
+ > #### Changed
153
+ >
154
+ > - Deprecated the InquiryTheme() constructor. The InquiryTheme(themeSource: ThemeSource) constructor should be used instead.
155
+ > Pass in .server to use theming set in the Persona Dashboard. Pass in .client to keep current behavior that uses the client
156
+ > side theming api. Note that .client is also marked as deprecated.
157
+
37
158
  - Upgrade to Android Inquiry SDK 2.4.0
38
- - Deprecated the iosTheme(themeObject: Object) functions. The iosThemeToUse(themeObject: Object, themeSource: ThemeSource)
39
- functions should be used instead. Pass in a themeSource of ThemeSource.SERVER to use theming set in the Persona Dashboard.
40
- Pass in ThemeSource.CLIENT to keep current behavior that uses the client. Note that ThemeSource.CLIENT is also marked
159
+
160
+ > #### [v2.4.0] - 2023-02-22
161
+ >
162
+ > #### Changed
163
+ > - Deprecated the `theme(@StyleRes theme: Int)` function. `theme(themeSource: ThemeSource)` should
164
+ > be used instead. Pass in `ServerThemeSource(@StyleRes theme: Int)` to use theming set in the Persona Dashboard. Pass
165
+ > in `ClientThemeSource(theme: Int)` with your current client theme id to keep the current behavior
166
+ > that only uses client side theming. Note that `ClientThemeSource` is also marked as deprecated.
167
+
168
+ - Deprecated the `iosTheme(themeObject: Object)` functions. The `iosThemeToUse(themeObject: Object, themeSource: ThemeSource)`
169
+ functions should be used instead. Pass in a themeSource of `ThemeSource.SERVER` to use theming set in the Persona Dashboard.
170
+ Pass in `ThemeSource.CLIENT` to keep current behavior that uses the client. Note that `ThemeSource.CLIENT` is also marked
41
171
  as deprecated. Also note that the Android theme source will be derived from this ThemeSource as well. If iosTheme is
42
- called instead of iosThemeToUse, ThemeSource.Client will be used. If neither iosThemeToUse nor iosTheme is called,
43
- ThemeSource.SERVER will be used by default. The themeObject can still be used to control certain properties
44
- like the initial loading icon even when the theme source is set to ThemeSource.SERVER.
172
+ called instead of iosThemeToUse, `ThemeSource.Client` will be used. If neither iosThemeToUse nor iosTheme is called,
173
+ `ThemeSource.SERVER` will be used by default. The themeObject can still be used to control certain properties
174
+ like the initial loading icon even when the theme source is set to `ThemeSource.SERVER`.
45
175
 
46
176
  ## [v2.3.0] - 2023-02-16
47
177
 
@@ -52,71 +182,520 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
52
182
  ### Changed
53
183
 
54
184
  - Upgrade to iOS Inquiry SDK 2.6.2
185
+
186
+ > #### [v2.6.2] - 2023-02-14
187
+ >
188
+ > #### Fixed
189
+ >
190
+ > - Fixed a weak retention issue that could result in extra callbacks of `inquiryError`
191
+ >
192
+ > #### [v2.6.1] - 2023-02-13
193
+ >
194
+ > #### Fixed
195
+ >
196
+ > - Fixed buttons inside footer on ui steps will now disable properly after being tapped.
197
+ >
198
+ > #### [v2.6.0] - 2023-02-10
199
+ >
200
+ > #### Added
201
+ >
202
+ > - Added an optional client side callback to return the data collected during the inquiry flow to the host application.
203
+ >
204
+ > #### Fixed
205
+ >
206
+ > - Remote image assets now match Android / Web loading behavior and height.
207
+ > - Selfie flow on iOS Simulator no longer allows you to mash the shutter button and produce a network error.
208
+
55
209
  - Upgrade to Android Inquiry SDK 2.3.6
56
210
 
211
+ > #### [v2.3.6] - 2023-02-13
212
+ >
213
+ > #### Added
214
+ > - Added welsh translations.
215
+ > - Added titles to camera permission modals.
216
+ >
217
+ > #### Changed
218
+ > - Update dependencies.
219
+ >
220
+ > #### Fixed
221
+ > - Fixed an issue where images could sometimes be cut-off if the value sent from the server was too large.
222
+
57
223
  ## [v2.2.30] - 2023-01-25
58
224
 
59
225
  ### Changed
60
226
 
61
227
  - Upgrade to iOS Inquiry SDK 2.5.11
228
+
229
+ > #### [v2.5.11] - 2023-01-25
230
+ >
231
+ > #### Added
232
+ >
233
+ > - Added support for input radio group components.
234
+ >
235
+ > #### Fixed
236
+ >
237
+ > - Fixed an issue where some camera feeds were not showing previews.
238
+ >
239
+ > #### [v2.5.10] - 2023-01-12
240
+ >
241
+ > #### Added
242
+ >
243
+ > - Added optional parameter, `animated`, to `Inquiry.start()` to disable the presentation and dismiss animation when launching the persona flow.
244
+ >
245
+ > #### Changed
246
+ >
247
+ > - Users will receive an error message when sdk fails to load a photo during document flow instead of flow resulting in an error.
248
+ >
249
+ > #### Fixed
250
+ >
251
+ > - Improved camera focus for iPhone 13 and 14 Pro / Pro max devices.
252
+ > - Now requesting camera permission prior to launching document scanner during document flow.
253
+ >
254
+ > #### [v2.5.9] - 2023-01-10
255
+ >
256
+ > #### Added
257
+ >
258
+ > - Added support for Welsh.
259
+ >
260
+ > #### Fixed
261
+ >
262
+ > - Fixed a crash on iOS 15 related to usage of Realm.
263
+ >
264
+ > #### [v2.5.8] - 2023-01-10
265
+ >
266
+ > #### Fixed
267
+ >
268
+ > - Fixed a bug with some government id image uploads.
269
+ > - Added better error handling when the dimensions of the uploaded government id are not accepted by the server.
270
+ >
271
+ > #### [v2.5.7] - 2023-01-06
272
+ >
273
+ > #### Fixed
274
+ > - Resuming a document flow will now load existing files
275
+ > - Fixed various styling and SST properties on document flows
276
+ >
277
+ > #### [v2.5.5] - 2022-12-19
278
+ >
279
+ > #### Fixed
280
+ >
281
+ > - Fixed a bug with checkboxes not applying the correct state.
282
+
62
283
  - Upgrade to Android Inquiry SDK 2.3.5
63
284
 
285
+ > #### [v2.3.5] - 2023-01-25
286
+ >
287
+ > #### Fixed
288
+ > - Fixed a performance issue with input select bottom sheets that contained a large number of options.
289
+ > - Expose classes of objects returned by collection mode in the SDK.
290
+ >
291
+ > #### [v2.3.4] - 2023-01-23
292
+ >
293
+ > #### Fixed
294
+ > - Fixed input radio button component titles and prefill behavior.
295
+ >
296
+ > #### Added
297
+ > - Added the ability to use custom processing animations on the document processing screen.
298
+ > - Added status bar coloring behavior to match the background color of each page automatically
299
+ > when using styles from the server.
300
+ > - Added collection mode. When enabled, the SDK will return all locally collected data from the inquiry on inquiry completion.
301
+ > - Added support for radio button components
302
+ >
303
+ > #### Changed
304
+ > - Removed drop shadows from document card previews.
305
+ >
306
+ > #### [v2.3.3] - 2023-01-17
307
+ >
308
+ > #### Fixed
309
+ > - Fixed problems with government id hint capture text alignment and border radii
310
+ >
311
+ > #### [v2.3.2] - 2023-01-12
312
+ >
313
+ > #### Fixed
314
+ > - Fixed an issue where centering vertically on pages wasn't working.
315
+ > - Camera feed radii did not match border radii around the feed.
316
+ > - Apply the correct font family from the server to disclaimer texts on capture steps.
317
+ > - Fixed broken text alignment when supportsRtl is not set to true in the hosting app manifest.
318
+ >
319
+ > #### [v2.3.1] - 2023-01-10
320
+ >
321
+ > #### Added
322
+ > - Support for various customizations and polish items on document upload steps.
323
+ >
324
+ > #### Changed
325
+ > - Improve handling of certain network errors.
326
+ > - Document file uploads will now use progress bars instead of loading spinners.
327
+
64
328
  ## [v2.2.29] - 2022-12-15
65
329
 
66
330
  ### Changed
67
331
 
68
332
  - Upgrade to iOS Inquiry SDK 2.5.4
333
+
334
+ > #### [v2.5.4] - 2022-12-15
335
+ >
336
+ > #### Added
337
+ > - Added support for server sheet corner radius style.
338
+
69
339
  - Upgrade to Android Inquiry SDK 2.3.0
70
340
 
341
+ > #### [v2.3.0] - 2022-12-15
342
+ >
343
+ > #### Changed
344
+ > - Make nfc-impl module an extension module that is not include dy default.
345
+ > - Upgraded minimum SDK to 33.
346
+ >
347
+ > #### [v2.2.46] - 2022-12-01
348
+ >
349
+ > #### Changed
350
+ > - Downgraded minimum SDK from 33.
351
+
71
352
  ## [v2.2.28] - 2022-11-30
72
353
 
73
354
  ### Changed
74
355
 
75
356
  - Upgrade to iOS Inquiry SDK 2.5.3
357
+
358
+ > #### [v2.5.3] - 2022-11-30
359
+ >
360
+ > #### Changed
361
+ > - Improved checkbox component UI and styling.
362
+ >
363
+ > #### [v2.5.2] - 2022-11-21
364
+ >
365
+ > #### Added
366
+ >
367
+ > - Added support for government id localization overrides.
368
+ >
369
+ > #### Fixed
370
+ >
371
+ > - Fixed an issue where Gov id titles and prompts are not visible.
372
+ > - Fixed an issue where disabled button text is not visible in dark mode.
373
+ >
374
+ > #### [v2.5.1] - 2022-11-18
375
+ >
376
+ > #### Added
377
+ >
378
+ > - Added support for rendering QR code components.
379
+ > - Added improved error handling for document verification flows.
380
+ > - Added support for custom start screens on document verification flows.
381
+ >
382
+ > #### Changed
383
+ >
384
+ > - Removed section indexes from country select when there are few countries.
385
+
76
386
  - Upgrade to Android Inquiry SDK 2.2.45
77
387
 
388
+ > #### [v2.2.45] - 2022-11-30
389
+ >
390
+ > #### Added
391
+ > - Added some validations for SDK arguments.
392
+ >
393
+ > #### Fixed
394
+ > - Fixed a crash when using split screen mode during the government id flow and the screen is resized.
395
+ > - Fixed a crash when split screen is enabled and the permission modal is shown.
396
+ >
397
+ > #### [v2.2.44] - 2022-11-18
398
+ >
399
+ > #### Fixed
400
+ > - Fixed an issue where the selfie capture progress bar was too thin.
401
+ >
402
+ > #### Added
403
+ > - Added support for government id localization overrides.
404
+
78
405
  ## [v2.2.27] - 2022-11-16
79
406
 
80
407
  ### Changed
81
408
 
82
409
  - Upgrade to iOS Inquiry SDK 2.5.0
410
+
411
+ > #### [v2.5.0] - 2022-11-08
412
+ >
413
+ > #### Changed
414
+ >
415
+ > - Minimum deployment target is now iOS 13.0.
416
+ >
417
+ > #### Fixed
418
+ >
419
+ > - Fixed an issue where the processing animations stuttered after the camera feed was closed.
420
+ >
421
+ > #### Added
422
+ >
423
+ > - Added ability to configure margins on input components via the server.
424
+ > - Added the ability to use custom copy for permissions modals via the server.
425
+
83
426
  - Upgrade to Android Inquiry SDK 2.2.43
84
427
 
428
+ > #### [v2.2.43] - 2022-11-16
429
+ >
430
+ > #### Added
431
+ > - Added the ability to use custom copy for permissions modals via the server.
432
+ > - Added support for rendering QR code components.
433
+ >
434
+ > #### Changed
435
+ > - Document verification flow now uploads files prior to submit.
436
+ > - Improve error logging for certain types of errors.
437
+ >
438
+ > #### Fixed
439
+ > - Fixed lateinit crash on camera screens.
440
+ > - Fixed a rare network error crash.
441
+ > - Fixed a crash if activity is killed and resumed while permission modal is shown.
442
+ > - Fixed an ANR that can occur if permissions are accepted after the activity has been killed and recreated.
443
+ > - Fixed a bug where input select components would not render correctly if multiple input select
444
+ > components existed on a single screen.
445
+ >
446
+ > #### [v2.2.42] - 2022-11-08
447
+ >
448
+ > #### Added
449
+ > - Added ability to configure margins on input components via the server.
450
+ > - Added the photo picker as an option when choosing documents to upload.
451
+ > - Added the ability to render the document combined step start screen as a configurable server driven screen.
452
+ > - Added improved error handling for document verification flows.
453
+ >
454
+ > #### Changed
455
+ > - Improved accessibility throughout the flows, including talkback, touch target size, and speakable text.
456
+
85
457
  ## [v2.2.26] - 2022-10-20
86
458
 
87
459
  ### Changed
88
460
 
89
461
  - Upgrade to iOS Inquiry SDK 2.4.3
462
+
463
+ > #### [v2.4.3] - 2022-10-20
464
+ >
465
+ > #### Added
466
+ >
467
+ > - Added support for customizing cancel modal texts via the server.
468
+
90
469
  - Upgrade to Android Inquiry SDK 2.2.41
91
470
 
471
+ > #### [v2.2.41] - 2022-10-19
472
+ >
473
+ > #### Added
474
+ > - Added support for styling image preview borders in document flows.
475
+ > - Added support for customizing cancel modal texts via the server.
476
+ >
477
+ > #### Changed
478
+ > - Update dependencies.
479
+ > - Input Select component now has sticky header and blocks clicks on background components.
480
+ >
481
+ > #### Fixed
482
+ > - Don't allow buttons to run up against the edge of the screen when using margins from the server.
483
+
92
484
  ## [v2.2.25] - 2022-10-06
93
485
 
94
486
  ### Changed
95
487
 
96
488
  - Upgrade to iOS Inquiry SDK 2.4.2
489
+
490
+ > #### [v2.4.2] - 2022-09-30
491
+ >
492
+ > #### Added
493
+ >
494
+ > - Added the ability to style the upload government id flow via the server.
495
+ > - Added support for json logic for hiding and disabling various ui components.
496
+ > - Added the ability to use mDLs in the SDK.
497
+ > - Added public logging for load times.
498
+ >
499
+ > #### Changed
500
+ >
501
+ > - Relaxed blur detection on government id autocapture for pro max devices.
502
+ >
503
+ > #### Fixed
504
+ >
505
+ > - Auto-capture during selfie flow will now pause while user is presented with cancel modal.
506
+ >
507
+ > #### [v2.4.1] - 2022-09-23
508
+ >
509
+ > #### Changed
510
+ >
511
+ > - Moved the Sandbox force verification pass/fail menu to top of screen and added the button to camera screens.
512
+ > - Now surfacing clearer error message when invalid `fields` value is supplied on `InquiryConfiguration`.
513
+ >
514
+ > #### Added
515
+ >
516
+ > - Added support for number only input components in UI steps.
517
+ >
518
+ > #### Fixed
519
+ >
520
+ > - No longer crashing after a user selects a country with no supported id types.
521
+
97
522
  - Upgrade to Android Inquiry SDK 2.2.40
98
523
 
524
+ > #### [v2.2.40] - 2022-10-04
525
+ >
526
+ > #### Changed
527
+ > - Make sure that there is always a minimum built in margin on the selfie start screen page.
528
+ >
529
+ > #### [v2.2.39] - 2022-09-29
530
+ >
531
+ > #### Fixed
532
+ > - Removed shadow on primary material buttons when using server side theming.
533
+ >
534
+ > #### [v2.2.38] - 2022-09-29
535
+ >
536
+ > #### Added
537
+ > - Added support for checkbox components in UI steps.
538
+ > - Added support for number only input components in UI steps.
539
+ > - Added support for theming the government id upload flow via the server.
540
+ >
541
+ > #### Changed
542
+ > - Now surfacing clearer error message when invalid `fields` are included on the InquiryBuilder.
543
+ > - Update dependencies.
544
+ >
545
+ > #### Fixed
546
+ > - Fixed issues where IO streams were not closed after use.
547
+ > - Added support for the 'disabled' field which some components use.
548
+ > - Fixed a bug where date inputs were not disabled while submitting information.
549
+ > - Fixed some minor layout issues on UI steps.
550
+ > - Fixed a line wrapping issue for the month field on date inputs.
551
+ > - Fixed placeholders for address components when country code is not `US`.
552
+ > - Fixed some layout issues when errors were shown on input fields.
553
+
99
554
  ## [v2.2.24] - 2022-09-22
100
555
 
101
556
  ### Changed
102
557
 
103
558
  - Upgrade to iOS Inquiry SDK 2.4.0
559
+
560
+ > #### [v2.4.0] - 2022-09-15
561
+ >
562
+ > #### Changed
563
+ >
564
+ > - Now building the SDK with Xcode 14 in order to make use of iOS 16 features.
565
+ >
566
+ > #### Added
567
+ >
568
+ > - Added the ability to style footer components as a bottom presented sheet.
569
+ >
570
+ > #### Removed
571
+ >
572
+ > - Removed camera icon from camera permissions modal to be more consistent with other Persona modals.
573
+
104
574
  - Upgrade to Android Inquiry SDK 2.2.37
105
575
 
576
+ > #### [v2.2.37] - 2022-09-13
577
+ >
578
+ > #### Added
579
+ > - Added the ability to style footer components as a bottom presented sheet.
580
+ > - Added support for the 'hidden' field which some components use.
581
+ >
582
+ > #### Fixed
583
+ > - Fixed an issue where buttons were not getting paddings from the server properly applied.
584
+ > - Fixed an issue where buttons on the final complete screen were being added to footers incorrectly.
585
+ > - Fixed an issue where date input does not display error.
586
+ > - Fixed a crash when using custom styled buttons on API 21.
587
+
106
588
  ## [v2.2.23] - 2022-09-07
107
589
 
108
590
  ### Changed
109
591
 
110
592
  - Upgrade to iOS Inquiry SDK 2.3.9
593
+
594
+ > #### [v2.3.9] - 2022-09-02
595
+ >
596
+ > #### Fixed
597
+ >
598
+ > - Fixed a bug in the success checkmark animation so that it shows all 8 of the radiating dots around the check instead of just one.
599
+ > - Fixed address component validations.
600
+ >
601
+ > #### Changed
602
+ >
603
+ > - Render the error text on input select components as red when we have other styles coming from the server.
604
+ >
605
+ > #### [v2.3.8] - 2022-08-30
606
+ >
607
+ > #### Fixed
608
+ >
609
+ > - Fixed a bug where the new processing animation was not being fully configured by colors from the server.
610
+ > - Fixed a bug with hyperlinks not being tappable.
611
+ >
612
+ > #### [v2.3.7] - 2022-08-26
613
+ >
614
+ > #### Changed
615
+ >
616
+ > - Auto-submit confirmation code after it has been typed in.
617
+ >
618
+ > #### Added
619
+ >
620
+ > - Added the ability to render the government id select screen as a more granularly configurable page type.
621
+
111
622
  - Upgrade to Android Inquiry SDK 2.2.36
112
623
 
624
+ > #### [v2.2.36] - 2022-09-06
625
+ >
626
+ > #### Fixed
627
+ >
628
+ > - Added padding to branding elements to prevent run-up against the edge of the screen.
629
+ > - Fixed validation on address input.
630
+ > - Fixed location of disclaimer on government id camera screens.
631
+ >
632
+ > #### [v2.2.35] - 2022-09-01
633
+ >
634
+ > #### Fixed
635
+ >
636
+ > - Fixed an issue where submit buttons in footer components could get into a state where they appear to spin forever.
637
+ > - Fixed an issue where nested vertical stacks within UI steps would not render properly.
638
+ >
639
+ > #### [v2.2.34] - 2022-08-30
640
+ >
641
+ > #### Fixed
642
+ >
643
+ > - Fixed a crash when custom text attributes are set on the overlay hint of the government ID capture screen.
644
+ >
645
+ > #### [v2.2.33] - 2022-08-30
646
+ >
647
+ > #### Fixed
648
+ >
649
+ > - Fixed a bug where background images and colors wouldn't stretch to fill the screen.
650
+ >
651
+ > #### [v2.2.32] - 2022-08-29
652
+ >
653
+ > #### Changed
654
+ >
655
+ > - Autosubmit confirmation code after it has been typed in.
656
+ > - Confirmation code fields now paste properly and align with expected behavior when deleting and changing numbers.
657
+ > - Give a default margin of 24dp to footers
658
+ >
659
+ > #### Fixed
660
+ >
661
+ > - Fixed a crash related to lottie.
662
+ > - Fixed text layouts when the device is set to render large font sizes for accessibility.
663
+ > - Fixed a bug that caused inquiries which contained back-to-back combined steps of the same type to hang.
664
+
113
665
  ## [v2.2.22] - 2022-08-25
114
666
 
115
667
  ### Changed
116
668
 
117
669
  - Upgrade to iOS Inquiry SDK 2.3.6
670
+
671
+ > #### [v2.3.6] - 2022-08-18
672
+ >
673
+ > #### Changed
674
+ >
675
+ > - Processing and loading screens have been aligned to center of screen.
676
+ > - Selfie completion animation now plays when using static assets.
677
+ >
678
+ > #### Added
679
+ >
680
+ > - Added the ability to style processing screen text elements via the server.
681
+
118
682
  - Upgrade to Android Inquiry SDK 2.2.31
119
683
 
684
+ > #### [v2.2.31] - 2022-08-22
685
+ >
686
+ > #### Added
687
+ >
688
+ > - Added the ability to render the government id select screen as a more granularly configurable page type
689
+ > - Added the ability to style processing screen text elements via the server
690
+ >
691
+ > #### Fixed
692
+ >
693
+ > - Fix a bug where text fields will not retain their state on activity recreate.
694
+ > - Fix a bug where cursor will jump to the front in text fields on text input.
695
+ >
696
+ > #### Changed
697
+ > - Downgrade dependency on bouncy castle from jdk18on to jdk15to18.
698
+
120
699
  ## [v2.2.21] - 2022-08-18
121
700
 
122
701
  ### Fixed
@@ -128,27 +707,117 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
128
707
  ### Changed
129
708
 
130
709
  - Upgrade to iOS Inquiry SDK 2.3.5
710
+
711
+ > #### [v2.3.5] - 2022-08-15
712
+ >
713
+ > #### Changed
714
+ >
715
+ > - Default assets for government id, selfie, and document processing animations have been updated.
716
+ >
717
+ > #### Removed
718
+ >
719
+ > - Removed unused 'Try again' button after users have denied permissions for the camera.
720
+
131
721
  - Upgrade to Android Inquiry SDK 2.2.30
132
722
 
723
+ > #### [v2.2.30] - 2022-08-15
724
+ >
725
+ > #### Fixed
726
+ >
727
+ > - Workaround an Android 12 bugs where requesting permissions can cause a memory leak.
728
+ > - Fix a crash that would occur when a selfie/government id flow is launched on a device has no cameras.
729
+ >
730
+ > #### Changed
731
+ >
732
+ > - Keep screen on camera capture screens.
733
+ > - Default assets for government id, selfie, and document processing animations have been updated.
734
+ > - Permission request popup has been moved for the government ID step. It was moved from the ID select screen to the camera capture screen.
735
+
133
736
  ## [v2.2.19] - 2022-08-02
134
737
 
135
738
  ### Changed
136
739
 
137
740
  - Upgrade to iOS Inquiry SDK 2.3.4
741
+
742
+ > #### [v2.3.4] - 2022-08-02
743
+ >
744
+ > #### Fixed
745
+ >
746
+ > - Fixed a bug where existing document previews were vanishing after deleting a different document.
747
+ > - Fixed a layout issue on the selfie start page where text would not be shown correctly when the device screen wasn't large enough to show
748
+ > all of the content.
749
+ >
750
+ > #### [v2.3.3] - 2022-07-29
751
+ >
752
+ > #### Added
753
+ >
754
+ > - Added the ability to control page level vertical alignment via the server.
755
+ > - Added the ability to style buttons on the government id capture page via the server.
756
+ >
757
+ > #### Fixed
758
+ >
759
+ > - Fixed a bug where document previews were not showing when the chosen file was a PDF.
760
+ > - Fixed a bug where government id capture page instructions were not respecting alignment coming from the server.
761
+
138
762
  - Upgrade to Android Inquiry SDK 2.2.29
139
763
 
764
+ > #### [v2.2.29] - 2022-07-29
765
+ >
766
+ > #### Added
767
+ >
768
+ > - Added the ability to control page level vertical alignment via the server.
769
+ > - Added the ability to style buttons on the government id capture page via the server.
770
+ >
771
+ > #### Fixed
772
+ >
773
+ > - Fixed an animation bug on small screens on the review captured image screen.
774
+ > - Swapped the order of the buttons on the permission request bottom sheet to be consistent with Android standards.
775
+ > - Fixed an issue where you couldn't resume inquiries created in sandbox mode and have the pass/fail toggle show up.
776
+
140
777
  ## [v2.2.18] - 2022-07-27
141
778
 
142
779
  ### Changed
143
780
 
144
781
  - Upgrade to iOS Inquiry SDK 2.3.2
145
782
 
783
+ > #### [v2.3.2] - 2022-07-18
784
+ >
785
+ > #### Added
786
+ >
787
+ > - Added the following theme property:
788
+ > - `initialLoadingBackgroundImage`
789
+ > - Added support for skipping the selfie start page.
790
+ >
791
+ > #### Changed
792
+ >
793
+ > - The color set for backgroundColor on the theme now applies to the initial loading screen.
794
+ >
795
+ > #### Fixed
796
+ >
797
+ > - Fixed a bug where new selfie animations where not using server side theming colors (again).
798
+
146
799
  ## [v2.2.17] - 2022-07-19
147
800
 
148
801
  ### Changed
149
802
 
150
803
  - Upgrade to Android Inquiry SDK 2.2.28
151
804
 
805
+ > #### [v2.2.28] - 2022-07-19
806
+ >
807
+ > #### Fixed
808
+ >
809
+ > - Fixed a bug where buttons were not being properly aligned when a loading indicator is built into the button.
810
+ >
811
+ > #### [v2.2.27] - 2022-07-18
812
+ >
813
+ > #### Added
814
+ >
815
+ > - Support configuration to skip the instructions screen for selfie capture.
816
+ >
817
+ > #### Fixed
818
+ >
819
+ > - Fixed a bug where the government ID step will send the wrong parameters to the server in certain edge cases.
820
+
152
821
  ## [v2.2.16] - 2022-07-14
153
822
 
154
823
  ### Added
@@ -159,6 +828,20 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
159
828
 
160
829
  - Upgrade to Android Inquiry SDK 2.2.26
161
830
 
831
+ > #### [v2.2.26] - 2022-07-08
832
+ >
833
+ > #### Added
834
+ >
835
+ > - Added the following theme property:
836
+ > - `personaInitialLoadingBackgroundDrawable`
837
+ > - Added animations when transitioning between screens
838
+ >
839
+ > #### Changed
840
+ >
841
+ > - Improve barcode scanning to detect barcodes faster
842
+ > - Removed loading screens when navigating back
843
+ > - Update dependencies
844
+
162
845
  ## [v2.2.15] - 2022-07-01
163
846
 
164
847
  ### Fixed
@@ -171,25 +854,122 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
171
854
 
172
855
  - Upgrade to iOS Inquiry SDK 2.3.1
173
856
 
857
+ > #### [v2.3.1] - 2022-06-30
858
+ >
859
+ > #### Fixed
860
+ >
861
+ > - Fixed a bug where new selfie animations where not using server side theming colors.
862
+ > - Fixed a bug where selfie consent text was not using appropriate styles.
863
+
174
864
  ## [v2.2.13] - 2022-06-27
175
865
 
176
866
  ### Changed
177
867
 
178
868
  - Upgrade to Android Inquiry SDK 2.2.25
179
869
 
870
+ > #### [v2.2.25] - 2022-06-27
871
+ >
872
+ > #### Changed
873
+ >
874
+ > - When transitioning to the next step, show a progress bar embedded into the action button as opposed to showing a full screen progress bar.
875
+ >
876
+ > #### Fixed
877
+ >
878
+ > - Fix a crash for the document select step when a selected document cannot be opened.
879
+ > - Fix a bug that caused the government ID step to upload one more photo than necessary.
880
+ > - Made lottie animation loading more resilient.
881
+
180
882
  ## [v2.2.12] - 2022-06-15
181
883
 
182
884
  ### Changed
183
885
 
184
886
  - Upgrade to iOS Inquiry SDK 2.3.0
887
+
888
+ > #### [v2.3.0] - 2022-06-15
889
+ >
890
+ > #### Added
891
+ >
892
+ > - Added the IDFV to request headers (https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor)
893
+ > - Added the following theme property:
894
+ > - `selfieCountdownFont`
895
+ > - Added the ability to load custom assets locally on ui steps via dynamic asset names coming from the server.
896
+ >
897
+ > #### Changed
898
+ >
899
+ > - Match camera feed edge radius and hint box radius to the radius of the capture feed border.
900
+ >
901
+ > **UI UPDATES: SELFIE CAMERA CAPTURE SCREEN**
902
+ >
903
+ > We’ve made updates to the selfie verification flow to help reduce blurry and repeat pose captures.
904
+ > You’ll notice the following changes to the selfie verification flow:
905
+ >
906
+ > - New selfie animation includes an arrow that points users in the direction they should look for
907
+ > left and right pose capture.
908
+ >
909
+ > - Auto-capture is delayed for left and right pose until each animation plays. In addition, user will
910
+ > be able to clearly preview selfie during capture (blur overlay removed).
911
+ >
912
+ > If you have any questions about these changes, please reach out to your CSM.
913
+ >
914
+ > #### Fixed
915
+ >
916
+ > - Fixed bug where selfie blur overlay would show up solid black when Reduce Transparency was enabled.
917
+ > - Fixed bug where selfie circle animation was not using the correct frame.
918
+ >
919
+ > #### [v2.2.13] - 2022-05-26
920
+ >
921
+ > #### Added
922
+ >
923
+ > - Added the ability to render markdown in body texts and titles.
924
+
185
925
  - Upgrade to Android Inquiry SDK 2.2.24
186
926
 
927
+ > #### [v2.2.24] - 2022-06-15
928
+ >
929
+ > #### Fixed
930
+ >
931
+ > - Confirm back press when users press the back button on transition/load screens.
932
+ > - Disable submit button on document select screen if no documents are selected.
933
+ > - Show an icon for PDF documents selected for the document verification step.
934
+ >
935
+ > #### Added
936
+ >
937
+ > - Added a hint shadow that indicates when there is more content to be scrolled.
938
+ > - Added the app set ID to request headers (https://developer.android.com/training/articles/app-set-id)
939
+ >
940
+ > #### Changed
941
+ >
942
+ > - Match camera feed edge radius and hint box radius to the radius of the capture feed border.
943
+ > - Updated the implementation of government id auto capture to allow server configurability.
944
+ > - Update dependencies
945
+ > - Limit polling for inquiry status update to 90 seconds. Previously there was no time limit.
946
+ > - Update the network write timeout to 1 minute. Previously this was 10 seconds.
947
+
187
948
  ## [v2.2.11] - 2022-05-25
188
949
 
189
950
  ### Changed
190
951
 
191
952
  - Upgrade to Android Inquiry SDK 2.2.23
192
953
 
954
+ > #### [v2.2.23] - 2022-05-24
955
+ >
956
+ > #### Added
957
+ >
958
+ > - Added support for the following `InquiryField` types: `date`, `datetime`, `float`
959
+ >
960
+ > #### Changed
961
+ >
962
+ > - Change the government ID select screen to be configurable by the server
963
+ > - Update dependencies
964
+ > - Depend on Kotlin 1.6.10
965
+ >
966
+ > #### [v2.2.22] - 2022-05-20
967
+ >
968
+ > #### Fixed
969
+ >
970
+ > - Disable back action for government id flows without a back step
971
+ > - Improve handling of network errors
972
+
193
973
  ### Fixed
194
974
 
195
975
  - Passed through Inquiry Fields that weren't getting sent to the server
@@ -199,36 +979,224 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
199
979
  ### Changed
200
980
 
201
981
  - Upgrade to iOS Inquiry SDK 2.2.12
982
+
983
+ > #### [v2.2.12] - 2022-05-16
984
+ >
985
+ > #### Changed
986
+ >
987
+ > - Network requests are now more resilient to connectivity errors and certain server errors are now recoverable.
988
+ >
989
+
202
990
  - Upgrade to Android Inquiry SDK 2.2.21
203
991
 
992
+ > #### [v2.2.21] - 2022-05-16
993
+ >
994
+ > #### Changed
995
+ >
996
+ > - Make the number of images captured for the government id step configurable by the server
997
+ > - Make the manual capture button delay for the government id step configurable by the server
998
+ > - Update the image shown when there was an error verifying the back side of a government id
999
+ >
1000
+ > #### [v2.2.20] - 2022-05-06
1001
+ >
1002
+ > #### Changed
1003
+ >
1004
+ > - Allow users to retry navigating between certain steps on recoverable network errors
1005
+ > - Allow users to retry uploading government id/document files
1006
+ > - Improve network calls so they are more resilient
1007
+ > - Update dependency of Coil from 0.12.0 to 2.0.0-rc03
1008
+ >
1009
+ > #### Fixed
1010
+ >
1011
+ > - Display errors on input fields when there is a user input error
1012
+ > - Fix flickering of image/document previews in rare cases.
1013
+ >
1014
+ > #### [v2.2.19] - 2022-04-29
1015
+ >
1016
+ > #### Fixed
1017
+ >
1018
+ > - Fix the resolution of font names when loading custom font families in texts
1019
+ >
1020
+ > #### [v2.2.18] - 2022-04-27
1021
+ >
1022
+ > #### Changed
1023
+ >
1024
+ > - Handle more types of network errors
1025
+ >
1026
+ > #### [v2.2.17] - 2022-04-22
1027
+ >
1028
+ > #### Changed
1029
+ >
1030
+ > - Make the clickable area of the back and close button slightly bigger
1031
+ >
1032
+ > #### Fixed
1033
+ >
1034
+ > - Fix a race condition crash on the inquiry success screen
1035
+
204
1036
  ## [v2.2.9] - 2022-04-20
205
1037
 
206
1038
  ### Changed
207
1039
 
208
1040
  - Upgrade to iOS Inquiry SDK 2.2.11
1041
+
1042
+ > #### [v2.2.11] - 2022-04-20
1043
+ >
1044
+ > #### Added
1045
+ >
1046
+ > - Added the ability to render markdown in the selfie step disclaimer.
1047
+
209
1048
  - Upgrade to Android Inquiry SDK 2.2.16
210
1049
 
1050
+ > #### [v2.2.16] - 2022-04-20
1051
+ >
1052
+ > #### Added
1053
+ > - Added the ability to render markdown on selfie step disclosure text
1054
+ >
1055
+ > #### [v2.2.15] - 2022-04-13
1056
+ >
1057
+ > #### Removed
1058
+ >
1059
+ > - The following string resources have been removed, their values are now supplied by the server:
1060
+ > - `pi2_selfie_hold_still`
1061
+
211
1062
  ## [v2.2.8] - 2022-04-06
212
1063
 
213
1064
  ### Changed
214
1065
 
215
1066
  - Upgrade to iOS Inquiry SDK 2.2.10
1067
+
1068
+ > #### [v2.2.10] - 2022-04-04
1069
+ >
1070
+ > #### Added
1071
+ >
1072
+ > - Added the following theme property: `centerAlignRemoteAsset`.
1073
+ >
1074
+ > #### Changed
1075
+ >
1076
+ > - The loading icon for initial inquiry load has been changed to a neutral grey spinner.
1077
+ > - Removed the done button on the country select bottom sheet. Tapping a country now selects that country and dismisses the sheet
1078
+ > automatically. This mirrors the experience on the android sdk.
1079
+ >
1080
+ > #### Fixed
1081
+ >
1082
+ > - The correct color is applied to images on disabled buttons.
1083
+
216
1084
  - Upgrade to Android Inquiry SDK 2.2.14
217
1085
 
1086
+ > #### [v2.2.14] - 2022-04-04
1087
+ >
1088
+ > #### Added
1089
+ >
1090
+ > - Added the following style attribute: `personaCenterAlignRemoteAsset`
1091
+ >
1092
+ > #### Fixed
1093
+ >
1094
+ > - Handle 404s more gracefully
1095
+
218
1096
  ## [v2.2.7] - 2022-04-02
219
1097
 
220
1098
  ### Changed
221
1099
 
222
1100
  - Upgrade to iOS Inquiry SDK 2.2.9
1101
+
1102
+ > #### [v2.2.9] - 2022-03-29
1103
+ >
1104
+ > #### Fixed
1105
+ >
1106
+ > - No longer returning a status value of "unknown" for `inquiryComplete`.
1107
+
223
1108
  - Upgrade to Android Inquiry SDK 2.2.13
224
1109
 
1110
+ > #### [v2.2.13] - 2022-03-30
1111
+ >
1112
+ > #### Changed
1113
+ >
1114
+ > - Skip government ID select screen if only one ID class is available
1115
+ > - The loading icon for initial inquiry load has been changed to a neutral grey spinner
1116
+ >
1117
+ > #### Fixed
1118
+ >
1119
+ > - Allow for server-defined images to have nullable widths/heights without crashing
1120
+ >
1121
+ > #### [v2.2.12] - 2022-03-24
1122
+ >
1123
+ > #### Changed
1124
+ >
1125
+ > - Selfie manual capture button for the center pose now triggers a capture immediately for behavior
1126
+ > consistency. Previously it would trigger a countdown instead.
1127
+ >
1128
+ > #### Fixed
1129
+ >
1130
+ > - Show users the manual capture button immediately if auto capture cannot be performed on the device
1131
+ > - Recover from camera related errors more gracefully, allow users to retake photos on error
1132
+
225
1133
  ## [v2.2.6] - 2022-03-28
226
1134
 
227
1135
  ### Changed
228
1136
 
229
1137
  - Upgrade to iOS Inquiry SDK 2.2.8
1138
+
1139
+ > #### [v2.2.8] - 2022-03-16
1140
+ >
1141
+ > #### Changed
1142
+ >
1143
+ > - Transitive dependencies have been namespaced to avoid runtime symbol collisions.
1144
+ >
1145
+ > #### [v2.2.7] - 2022-03-14
1146
+ >
1147
+ > #### Fixed
1148
+ >
1149
+ > - Dynamic screens use `titleTextAlignment` and `bodyTextAlignment` theme properties again.
1150
+ > - Custom animation assets now properly use `loopMode` on selfie start.
1151
+ >
1152
+ > #### Removed
1153
+ >
1154
+ > - No longer showing a failure screen when client side errors occur.
1155
+
230
1156
  - Upgrade to Android Inquiry SDK 2.2.11
231
1157
 
1158
+ > #### [v2.2.11] - 2022-03-22
1159
+ >
1160
+ > #### Changed
1161
+ >
1162
+ > - Government id list items now use `textAppearanceListItem` instead of `textAppearanceSubtitle1`
1163
+ > - Selfie capture animations are now customizable via `personaSelfieLookLeftLottieRaw` and
1164
+ > `personaSelfieLookRightLottieRaw`
1165
+ > - When a static image (drawable) is set instead of a Lottie animation via
1166
+ > `personaSelfieLookLeftDrawable` and `personaSelfieLookRightDrawable`, the animation will not play.
1167
+ > Instead, the given static image will be used instead.
1168
+ >
1169
+ > #### Fixed
1170
+ >
1171
+ > - Respect the values of `personaSelfieLookLeftDrawable` and `personaSelfieLookRightDrawable`
1172
+ > - Prevent buttons from overlapping with UI elements on government ID flow
1173
+ >
1174
+ > #### [v2.2.10] - 2022-03-16
1175
+ >
1176
+ > #### Changed
1177
+ >
1178
+ > - Various animations and drawables are more themeable
1179
+ >
1180
+ > **UI UPDATES: SELFIE CAMERA CAPTURE SCREEN**
1181
+ >
1182
+ > We’ve made updates to the selfie verification flow to help reduce blurry and repeat pose captures.
1183
+ > You’ll notice the following changes to the selfie verification flow:
1184
+ >
1185
+ > - New selfie animation includes an arrow that points users in the direction they should look for
1186
+ > left and right pose capture.
1187
+ >
1188
+ > - Auto-capture is delayed for left and right pose until each animation plays. In addition, user will
1189
+ > be able to clearly preview selfie during capture (blur overlay removed).
1190
+ >
1191
+ > If you have any questions about these changes, please reach out to your CSM.
1192
+ >
1193
+ > #### Fixed
1194
+ >
1195
+ > - Reduce flickering due to re-layouts during first render pass
1196
+ > - Title/body text fields can now honor `android:textAlignment` properly
1197
+ > - Improve government ID capture's user experience on lower end devices; make UI more responsive
1198
+ > - Improve the capture speed of government ID auto capture and manual capture
1199
+
232
1200
  ## [v2.2.5] - 2022-03-22
233
1201
 
234
1202
  ### Fixed
@@ -240,8 +1208,56 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
240
1208
  ### Changed
241
1209
 
242
1210
  - Upgrade to Android Inquiry SDK 2.2.9
1211
+
1212
+ > #### [v2.2.9] - 2022-03-07
1213
+ >
1214
+ > #### Added
1215
+ >
1216
+ > - Show a (hide-able) cancel "X" on every non-loading screen to match iOS and web
1217
+ > - Added support for upload option with government id verification
1218
+ >
1219
+ > #### Changed
1220
+ >
1221
+ > - Buttons on government id review screen will flow vertically when text is more than one line
1222
+ > - Update the cancel sheet's copy
1223
+ >
1224
+ > #### Fixed
1225
+ >
1226
+ > - Fix compatibility issues with Lottie 5.0+
1227
+ > - Fix layout on government id select screen when no back button is shown
1228
+ > - Fix back button on government id review screen
1229
+
243
1230
  - Upgrade to iOS Inquiry SDK 2.2.6
244
1231
 
1232
+ > #### [v2.2.6] - 2022-03-07
1233
+ >
1234
+ > #### Added
1235
+ >
1236
+ > - Added option for uploading a government ID from the file system.
1237
+ > - Added improved face detection for government id autocapture.
1238
+ > - Added support for optional cancel buttons.
1239
+ > - Following strings have been added to `Persona.strings`
1240
+ > - `cancelTitle`
1241
+ > - `cancelBody`
1242
+ > - `cancelResumeButton`
1243
+ > - `cancelConfirmButton`
1244
+ >
1245
+ > #### Fixed
1246
+ >
1247
+ > - Fixed back button not appearing on dynamic ui screens.
1248
+ > - Fixed a crash when capturing on old devices.
1249
+ > - Fixed layout for government id select disclaimer text.
1250
+ >
1251
+ > #### [v2.2.5] - 2022-03-01
1252
+ >
1253
+ > #### Changed
1254
+ >
1255
+ > - Selfie camera hint style has changed to be consistent with Android.
1256
+ >
1257
+ > #### Fixed
1258
+ >
1259
+ > - Fixed government id captures cropping too close to the bottom of the id.
1260
+
245
1261
  ## [v2.2.3] - 2022-03-02
246
1262
 
247
1263
  ### Fixed
@@ -253,15 +1269,93 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
253
1269
  ### Changed
254
1270
 
255
1271
  - Upgrade to Android Inquiry SDK 2.2.8
1272
+
1273
+ > #### [v2.2.8] - 2022-02-24
1274
+ >
1275
+ > #### Added
1276
+ >
1277
+ > - Added support for custom government id scanning lottie animation
1278
+ > - Added support for custom selfie look left and look right drawable
1279
+ >
1280
+ > #### [v2.2.7] - 2022-02-22
1281
+ >
1282
+ > #### Added
1283
+ >
1284
+ > - Added support for custom government id overlays and hint animations
1285
+ >
1286
+ > #### Fixed
1287
+ >
1288
+ > - Allow "center-only" selfie experiences to pass
1289
+ > - Fixed crash in government id
1290
+
256
1291
  - Upgrade to iOS Inquiry SDK 2.2.4
257
1292
 
1293
+ > #### [v2.2.4] - 2022-02-24
1294
+ >
1295
+ > #### Added
1296
+ >
1297
+ > - Added the following theme properties:
1298
+ > - `governmentIdOverlayGenericFrontImage`
1299
+ > - `governmentIdOverlayBarcodeImage`
1300
+ > - `governmentIdOverlayMrzImage`
1301
+ > - `selfieStartScreenHeaderIcon`
1302
+ >
1303
+ > #### Removed
1304
+ >
1305
+ > - Following strings have been removed from `Persona.strings`
1306
+ > - `selfieSubmittingTitle`
1307
+ > - `selfieSubmittingBody`
1308
+ > - `governmentIdSubmittingTitle`
1309
+ > - `governmentIdSubmittingBody`
1310
+
258
1311
  ## [v2.2.1] - 2022-02-17
259
1312
 
260
1313
  ### Changed
261
1314
 
262
1315
  - Upgrade to Android Inquiry SDK 2.2.6
1316
+
1317
+ > #### [v2.2.6] - 2022-02-16
1318
+ >
1319
+ > #### Added
1320
+ >
1321
+ > - Various theme attributes have been added
1322
+ >
1323
+ > #### Changed
1324
+ >
1325
+ > - Default alignment of ui step screens
1326
+ > - Country select now presents a bottom sheet instead of a dropdown
1327
+ >
1328
+ > #### [v2.2.5] - 2022-02-11
1329
+ >
1330
+ > #### Added
1331
+ >
1332
+ > - Auto-capture for center pose selfies
1333
+ > - Support for additional government IDs
1334
+ > - Citizenship Certificate
1335
+ > - Consular ID
1336
+ > - Foreigner ID
1337
+ > - Health Insurance Card
1338
+ > - Long Term Pass
1339
+ > - National Bureau of Investigation Certificate
1340
+ > - Permanant Account Number card (SSN)
1341
+ >
1342
+ > #### Changed
1343
+ >
1344
+ > - Autofocus first input field on page load
1345
+ > - Only allow digits (0-9) in day/month input fields
1346
+
263
1347
  - Upgrade to iOS Inquiry SDK 2.2.3
264
1348
 
1349
+ > #### [v2.2.3] - 2022-02-16
1350
+ >
1351
+ > #### Added
1352
+ >
1353
+ > - Support for dark mode.
1354
+ >
1355
+ > #### Fixed
1356
+ >
1357
+ > - Improved blur detection during government id auto-capture.
1358
+
265
1359
  ### Added
266
1360
 
267
1361
  - Expose underlying Android/iOS SDK version with `#nativeSdkVersion`
@@ -276,7 +1370,129 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
276
1370
  ### Changed
277
1371
 
278
1372
  - Upgrade to iOS Inquiry SDK 2.2.2
1373
+
1374
+ > #### [v2.2.2] - 2022-02-10
1375
+ >
1376
+ > #### Added
1377
+ >
1378
+ > - Added the following theme properties:
1379
+ > - `tableViewChevronColor`
1380
+ > - Added `build` method to `InquiryConfiguration` to build a config from all possible parameters.
1381
+ >
1382
+ > #### Fixed
1383
+ >
1384
+ > - Theme property `governmentIdHintBackgroundColor` is now properly used.
1385
+ >
1386
+ > #### [v2.2.1] - 2022-02-08
1387
+ >
1388
+ > #### Added
1389
+ >
1390
+ > - Added support for optional disclaimer on government id screens
1391
+ > - Added the following theme properties:
1392
+ > - `governmentIdCaptureDisclaimerIcon`
1393
+ > - `governmentIdHintTextAlignment`
1394
+ > - `governmentIdHintTextColor`
1395
+ > - `governmentIdHintTextFont`
1396
+ > - `governmentIdHintBackgroundColor`
1397
+ > - `showGovernmentIdHintIcons`
1398
+ > - Added support for SVGs in remote asset components
1399
+ > - Added the ability to override the following strings:
1400
+ > - `cameraPermissionsTitle`
1401
+ > - `cameraPermissionsSelfieText`
1402
+ > - `cameraPermissionsGovernmentIdText`
1403
+ > - `cameraPermissionsSettingsDescription`
1404
+ > - `cameraPermissionsDismissButtonText`
1405
+ > - `cameraPermissionsEnableButtonText`
1406
+ > - `cameraPermissionsSettingsButtonText`
1407
+ > - `cameraPermissionsTryAgainButtonText`
1408
+ >
1409
+ > #### Changed
1410
+ >
1411
+ > - Spacing and margins have been adjusted for consistency
1412
+ >
1413
+ > #### Fixed
1414
+ >
1415
+ > - Fixed a bug with address autocomplete
1416
+ >
1417
+ > #### [v2.2.0] - 2022-01-27
1418
+ >
1419
+ > #### Changed
1420
+ >
1421
+ > - Persona module has been renamed to Persona2
1422
+
279
1423
  - Upgrade to Android Inquiry SDK 2.2.4
1424
+
1425
+ > #### [v2.2.4] - 2022-02-04
1426
+ >
1427
+ > #### Added
1428
+ >
1429
+ > - Added support for custom Selfie animation on selfie start view with
1430
+ > - Lottie file `personaInquirySelfieLottieRaw`
1431
+ > - Size between 0.0 and 1.0 for `personaInquirySelfieLottieWidthPercent`
1432
+ > - Added support for additional ID types
1433
+ >
1434
+ > #### Removed
1435
+ >
1436
+ > - The following string resources have been removed, their values are now supplied by the server:
1437
+ > - `persona_selfie_persona_governmentid_submitting_title`
1438
+ > - `persona_selfie_persona_governmentid_submitting_body`
1439
+ > - `selfie_hint_center`
1440
+ > - `selfie_hint_look_left`
1441
+ > - `selfie_hint_look_right`
1442
+ > - `governmentid_idlabel_dl`
1443
+ > - `governmentid_idlabel_id`
1444
+ > - `governmentid_idlabel_keyp`
1445
+ > - `governmentid_idlabel_mid`
1446
+ > - `governmentid_idlabel_myn`
1447
+ > - `governmentid_idlabel_nric`
1448
+ > - `governmentid_idlabel_ofw`
1449
+ > - `governmentid_idlabel_pp`
1450
+ > - `governmentid_idlabel_ppc`
1451
+ > - `governmentid_idlabel_pr`
1452
+ > - `governmentid_idlabel_rp`
1453
+ > - `governmentid_idlabel_sp`
1454
+ > - `governmentid_idlabel_sss`
1455
+ > - `governmentid_idlabel_umid`
1456
+ > - `governmentid_idlabel_pid`
1457
+ > - `governmentid_idlabel_vid`
1458
+ > - `governmentid_idlabel_visa`
1459
+ > - `governmentid_idlabel_wp`
1460
+ >
1461
+ > #### [v2.2.3] - 2022-02-03
1462
+ >
1463
+ > #### Fixed
1464
+ >
1465
+ > - Use styles that are night-mode friendly for chevrons and arrows
1466
+ >
1467
+ > #### [v2.2.2] - 2022-02-01
1468
+ >
1469
+ > #### Added
1470
+ >
1471
+ > - Support SVGs from the server
1472
+ >
1473
+ > #### Fixed
1474
+ >
1475
+ > - Enable haptic feedback on older versions of Android
1476
+ > - Address resource contention that stopped the camera after many usages
1477
+ >
1478
+ > #### [v2.2.1] - 2022-01-28
1479
+ >
1480
+ > #### Added
1481
+ >
1482
+ > - Show the countdown on the overlay
1483
+ >
1484
+ > #### Changed
1485
+ >
1486
+ > - Change selfie capture to be more strict, surface errors to users
1487
+ > - Depend on Kotlin 1.5.31
1488
+ > - Update resources to prevent name collisions with the v1.x SDK
1489
+ >
1490
+ > #### [v2.2.0] - 2022-01-25
1491
+ >
1492
+ > #### Breaking
1493
+ >
1494
+ > - `com.withpersona.sdk` has been changed to `com.withpersona.sdk2` everywhere
1495
+
280
1496
  - Update iOS and Android's namespace to allow for 1.x and 2.x implementations in parallel
281
1497
 
282
1498
  ## [v2.1.3] - 2022-01-31
@@ -284,34 +1500,203 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
284
1500
  ### Changed
285
1501
 
286
1502
  - Upgrade to iOS Inquiry SDK 2.1.3
1503
+
1504
+ > #### [v2.1.3] - 2022-01-25
1505
+ >
1506
+ > #### Added
1507
+ >
1508
+ > - Added the following theme properties:
1509
+ > - `governmentIdCaptureBackgroundColor`
1510
+ > - `governmentIdScanningStrokeStyle`
1511
+ > - `governmentIdCapturingStrokeStyle`
1512
+ > - `governmentIdConfirmingStrokeStyle`
1513
+ > - `governmentIdScanningAnimation`
1514
+ > - `showGovernmentIdOverlays`
1515
+ > - `selfieLookLeftAsset`
1516
+ > - `selfieLookRightAsset`
1517
+ >
1518
+ > #### Removed
1519
+ >
1520
+ > - Removed the following strings from `Persona.strings` (unused in dynamic flows):
1521
+ > - `governmentIdStartTitle`
1522
+ > - `governmentIdStartBody`
1523
+ > - `governmentIdChooseType`
1524
+ > - `selfieStartTitle`
1525
+ > - `selfieStartBody`
1526
+ > - `selfieStartButton`
1527
+
287
1528
  - Upgrade to Android Inquiry SDK 2.1.3
288
1529
 
1530
+ > #### [v2.1.3] - 2022-01-24
1531
+ >
1532
+ > #### Added
1533
+ >
1534
+ > - Support for server driven localizations in selfie templates
1535
+ >
1536
+ > #### Changed
1537
+ >
1538
+ > - Cancel modal now uses `textAppearanceHeadline6` and `textAppearanceSubtitle1`
1539
+ >
1540
+ > #### Removed
1541
+ >
1542
+ > - The following string resources have been removed:
1543
+ > - `persona_selfie_start_title`
1544
+ > - `persona_selfie_start_body`
1545
+ > - `persona_selfie_start_button`
1546
+ >
1547
+ > #### [v2.1.2] - 2022-01-18
1548
+ >
1549
+ > #### Added
1550
+ >
1551
+ > - Support for more server driven localizations on government ID templates
1552
+ > - Support more components for form templates
1553
+ > - Added address auto complete on address fields
1554
+ > - Improve auto capture to take better pictures
1555
+ >
1556
+ > #### Changed
1557
+ >
1558
+ > - Update dependencies
1559
+ > - Various bug fixes
1560
+
289
1561
  ## [v2.1.2] - 2021-12-17
290
1562
 
291
1563
  ### Changed
292
1564
 
293
1565
  - Upgrade to iOS Inquiry SDK 2.1.2
1566
+
1567
+ > #### [v2.1.2] - 2021-12-13
1568
+ >
1569
+ > #### Added
1570
+ >
1571
+ > - Added support for server driven localizations on gov id capture screen.
1572
+ > - Added support for multi-file document uploads.
1573
+
294
1574
  - Upgrade to Android Inquiry SDK 2.1.1
295
1575
 
1576
+ > #### [v2.1.1] - 2021-12-13
1577
+ >
1578
+ > #### Added
1579
+ >
1580
+ > - Allow multiple documents to be added on the same step
1581
+ > - Support for server driven localizations in government ID templates
1582
+ >
1583
+ > #### Changed
1584
+ >
1585
+ > - Update dependencies
1586
+ >
1587
+ > #### Removed
1588
+ >
1589
+ > - The following string resources have been removed:
1590
+ > - `persona_governmentid_start_title`
1591
+ > - `persona_governmentid_start_body`
1592
+ > - `persona_governmentid_failed_title`
1593
+ > - `persona_governmentid_submitting_title`
1594
+ > - `persona_governmentid_submitting_body`
1595
+
296
1596
  ## [v2.1.1] - 2021-12-02
297
1597
 
298
1598
  ### Changed
299
1599
 
300
1600
  - Upgrade to iOS Inquiry SDK 2.1.1
301
1601
 
1602
+ > #### [v2.1.1] - 2021-11-23
1603
+ >
1604
+ > #### Added
1605
+ >
1606
+ > - The background color for the silhouette overlay, shown when taking automated selfies, can now be themed via `selfieOverlayBackgroundColor`. If no color is provided, a blur effect is used instead (the default behavior).
1607
+ >
1608
+ > #### Fixed
1609
+ >
1610
+ > - Fixed a bug where form field errors would not be displayed underneath the affected fields.
1611
+ > - Fixed a bug where certain assets could be rendered at a lower resolution than expected.
1612
+
302
1613
  ## [v2.1.0] - 2021-11-18
303
1614
 
304
1615
  ### Changed
305
1616
 
306
1617
  - Upgrade to iOS Inquiry SDK 2.1.0
1618
+
1619
+ > #### [v2.1.0] - 2021-11-16
1620
+ >
1621
+ > #### Added
1622
+ >
1623
+ > - Added themeable text alignment on title and body labels: `titleTextAlignment` and `bodyTextAlignment`.
1624
+ > - Added `LoopMode` enum for `InquiryTheme.AnimationAsset` which determines loop mode of animation, defaults to `playOnce`.
1625
+ > - Added support for completing an Inquiry without showing the completion screen.
1626
+ > - Added support for Dynamic Type.
1627
+ > - Added support for the Reduce Motion accessibility setting.
1628
+ >
1629
+ > #### Changed
1630
+ >
1631
+ > - Attempting to start an Inquiry on templates prefixed with `tmpl_` will now fail immediately.
1632
+ > - Government ID camera capture experience has been redesigned.
1633
+ > - Improved support for Voice Over.
1634
+
307
1635
  - Upgrade to Android Inquiry SDK 2.1.0
308
1636
 
1637
+ > #### [v2.1.0] - 2021-11-18
1638
+ >
1639
+ > #### Added
1640
+ >
1641
+ > - Support completing an Inquiry flow without showing a completion screen
1642
+ >
1643
+ > #### Changed
1644
+ >
1645
+ > - Redesign Government ID capture screens
1646
+ > - Secondary buttons are now outlined
1647
+ > - Update dependencies
1648
+ >
1649
+ > #### Fixed
1650
+ >
1651
+ > - Remove Snackbar usage in Sandbox which older versions of AGP strips out
1652
+ > - Use the Material UI background for `materialButtonStyle` and `materialButtonStyleSecondary`
1653
+ >
1654
+ > #### [v2.0.3] - 2021-10-20
1655
+ >
1656
+ > #### Fixed
1657
+ >
1658
+ > - Return an error when the SDK is launched without internet
1659
+ > - Return session when canceling from document upload step
1660
+
309
1661
  ## [v2.0.3] - 2021-10-14
310
1662
 
311
1663
  ### Changed
312
1664
 
313
1665
  - Upgrade to Android Inquiry SDK 2.0.2
314
1666
 
1667
+ > #### [v2.0.2] - 2021-10-13
1668
+ >
1669
+ > #### Added
1670
+ >
1671
+ > - Support document upload step
1672
+ > - Forward along server errors on the Inquiry creation step
1673
+ > - Return error if using an incompatible template ID
1674
+ >
1675
+ > #### Fixed
1676
+ >
1677
+ > - Starting an Inquiry by Inquiry Template Version has been fixed
1678
+ > - Removed loading indicator blip after selfie and document verifications
1679
+ > - Re-add Field population on client-side Inquiry creation
1680
+ >
1681
+ > #### Changed
1682
+ >
1683
+ > - Update dependencies
1684
+ >
1685
+ > #### [v2.0.1] - 2021-08-26
1686
+ >
1687
+ > #### Added
1688
+ >
1689
+ > - Support the Keypass ID and Visa government ID types
1690
+ > - Show a cancel confirmation pop-up
1691
+ >
1692
+ > #### Fixed
1693
+ >
1694
+ > - `InquiryField.Unknown` return the name of the unknown type instead of just "unknown"
1695
+ >
1696
+ > #### Changed
1697
+ >
1698
+ > - Footer now has a thin line on top of it
1699
+
315
1700
  ## [v2.0.2] - 2021-09-09
316
1701
 
317
1702
  ### Fixed
@@ -324,6 +1709,23 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
324
1709
 
325
1710
  - Upgrade to iOS Inquiry SDK 2.0.1
326
1711
 
1712
+ > #### [v2.0.1] - 2021-09-01
1713
+ >
1714
+ > #### Added
1715
+ >
1716
+ > - Added support for Keypass ID and visa government id types.
1717
+ > - The footer container now has themable options via `footerBackgroundColor`, `footerBorderColor` and `footerBorderWidth`.
1718
+ >
1719
+ > #### Changed
1720
+ >
1721
+ > - Standard `InquiryField` key values are now camelCase instead of kebab-case.
1722
+ > - `InquiryField` enum case values are now optional.
1723
+ > - `InquiryDelegate.inquiryComplete` parameter `status` has been made not optional.
1724
+ >
1725
+ > #### Fixed
1726
+ >
1727
+ > - Relative links are no longer rendered as links in the `PrivacyPolicy` component.
1728
+
327
1729
  ## [v2.0.0] - 2021-08-26
328
1730
 
329
1731
  ### Added
@@ -333,7 +1735,48 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
333
1735
  ### Changed
334
1736
 
335
1737
  - Upgrade to iOS Inquiry SDK 2.0.0
1738
+
1739
+ > #### [v2.0.0] - 2021-08-06
1740
+ >
1741
+ > #### Added
1742
+ >
1743
+ > - `InquiryDelegate.inquiryCanceled` now includes a `sessionToken` parameter to resume the inquiry flow.
1744
+ >
1745
+ > #### Changed
1746
+ >
1747
+ > - Support Inquiry templates prefixed with `itmpl_` instead of `tmpl_`.
1748
+ > - `InquiryDelegate.inquirySuccess` and `InquiryDelegate.inquiryFailed` are now represented by `InquiryDelegate.inquiryComplete` with a status of completed or failed (though can be customizable in the future).
1749
+ > - `InquiryDelegate.inquiryCancelled` has been renamed to `InquiryDelegate.inquiryCanceled`.
1750
+ > - `Attributes` parameter in the `inquirySuccess` delegate are now a part of `inquiryComplete` fields parameter.
1751
+ >
1752
+ > #### Removed
1753
+ >
1754
+ > - `Relationships` and the containing list of `Verification` no longer exists.
1755
+
336
1756
  - Upgrade to Android Inquiry SDK 2.0.0
1757
+
1758
+ > #### [v2.0.0] - 2021-08-05
1759
+ >
1760
+ > #### Added
1761
+ >
1762
+ > - Support AndroidX's `registerForActivityResult` for interacting with the Inquiry
1763
+ > - `Cancel` response now returns the `sessionToken` so the Inquiry flow can be resumed
1764
+ >
1765
+ > #### Changed
1766
+ >
1767
+ > - `Success` and `Failure` callbacks are now represented by `Complete` with a status of `completed`
1768
+ > or `failed` (though can be customizable in the future)
1769
+ > - Support Inquiry templates prefixed with `itmpl_` instead of `tmpl_`
1770
+ > - `Attributes` returned in the `Success` response are now in the `Complete`'s `fields` response
1771
+ >
1772
+ > #### Deprecated
1773
+ >
1774
+ > - Recommend moving off `Inquiry#onActivityResult` and onto AndroidX's `registerForActivityResult`
1775
+ >
1776
+ > #### Removed
1777
+ >
1778
+ > - `Relationships` and the containing list of `Verification` no longer exists
1779
+
337
1780
  - `onSuccess` and `onFailure` callbacks are now represented by `onComplete` with a `status` of "completed" or "failed" (
338
1781
  though can be customizable in the future)
339
1782
  - Support Inquiry templates prefixed with `itmpl_` instead of `tmpl_`