You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Public: Upgraded to React v17.0.1 and React Native v0.64.3
128
167
- Public: Updating Country Code list to match iOS SDK
129
168
130
169
## [5.0.0] - 2022-02-18
131
170
132
171
### Changed:
172
+
133
173
- Public: Updated underlying Onfido iOS SDK to version 24.3.0 (up from 23.1.0).
134
174
For more information visit the [Onfido iOS SDK releases on Github](https://github.com/onfido/onfido-ios-sdk/releases)
135
175
NOTE: This version of SDK will only support building your app with Xcode 13 due to lack of backward compatibility introduced by Apple with Xcode 13.
@@ -146,60 +186,67 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
146
186
## [4.0.0] - 2022-01-13
147
187
148
188
### Changed:
189
+
149
190
- Public: Upgraded the Gradle version of the Onfido's React Native SDK to v7.0.2
150
191
- Public: Upgraded the Android Gradle Plugin to v7.0.4
151
192
152
-
153
193
## [3.0.0] - 2021-12-22
154
194
155
195
### Changed:
196
+
156
197
- Public: Updated underlying Onfido iOS SDK to version 23.1.0 (up from 22.3.0). For more information visit the [Onfido iOS SDK releases on Github](https://github.com/onfido/onfido-ios-sdk/releases) NOTE: This version of SDK will only support building your app with Xcode 13 due to lack of backward compatibility introduced by Apple with Xcode 13.
157
198
- Public: Updated underlying Onfido Android SDK to version 10.3.2 (up from 10.1.0). For more information visit the [Onfido Android SDK releases on Github](https://github.com/onfido/onfido-android-sdk/releases)
158
199
159
-
160
200
## [2.2.1] - 2022-01-25
161
201
162
202
### Changed:
163
203
164
204
- Public: Removed the final screen from being always shown at the end of the flow steps on Android
165
205
166
-
167
206
## [2.2.0] - 2021-09-15
168
207
169
208
### Changed:
209
+
170
210
- Public: Updated underlying Onfido iOS SDK to version 22.3.0 (up from 21.4.0). For more information visit the [Onfido iOS SDK releases on Github](https://github.com/onfido/onfido-ios-sdk/releases)
171
211
- Public: Updated underlying Onfido Android SDK to version 10.1.0 (up from 9.3.1). For more information visit the [Onfido Android SDK releases on Github](https://github.com/onfido/onfido-android-sdk/releases)
172
212
173
213
### Fixed:
214
+
174
215
- Public: Fixed script that added Onfido bintray link to users' `android/app/build.gradle` to now add `mavenCentral()` instead, if not already present.
175
216
- Public: Fixed sample Localizable file to match newest iOS string keys.
176
217
177
-
## [2.1.1] - 2021-07-27
218
+
## [2.1.1] - 2021-07-27
178
219
179
220
### Changed:
221
+
180
222
- Public: Updated React peer dependency to include up to versions 17.0.x
181
223
182
224
## [2.1.0] - 2021-07-19
183
225
184
226
### Changed:
227
+
185
228
- Public: Updated error messages to propagate more info from underlying native SDKs.
186
229
187
230
## [2.0.0] - 2021-06-11
188
231
189
232
### Added:
233
+
190
234
- Public: Added support for enabling the user consent screen for iOS and Android.
191
235
192
236
### Changed:
237
+
193
238
- Public: Updated underlying Onfido iOS SDK to version 21.4.0 (up from 20.1.0). For more information visit the [Onfido iOS SDK releases on Github](https://github.com/onfido/onfido-ios-sdk/releases)
194
239
- Public: Updated underlying Onfido Android SDK to version 9.3.1 (up from 9.0.0). For more information visit the [Onfido Android SDK releases on Github](https://github.com/onfido/onfido-android-sdk/releases)
195
240
196
241
## [1.3.4] - 2021-05-18
197
242
198
243
### Added:
244
+
199
245
- Public: Updated README with troubleshooting information and okhttp3 resolution guide.
200
246
- Public: Updated error responses to be more descriptive.
201
247
202
248
### Fixed:
249
+
203
250
- Public: Apply okhttp3 fix to SampleApp.
204
251
- Public: Add fix for XCode 12.5 to SampleApp Podfile.
205
252
- Public: Fix an iOS bug where the Onfido flow isn't presented to user if the rootViewController is not at the top of the view hierarchy.
@@ -208,42 +255,51 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
208
255
## [1.3.3] - 2021-02-26
209
256
210
257
### Added:
258
+
211
259
- Public: Added support for hide logo and cobranding enterprise features
212
260
213
261
## [1.3.2] - 2020-09-29
214
262
215
263
### Fixed:
264
+
216
265
- UI: Fixed iOS crash problem on Xcode12 simulator
217
266
218
267
## [1.3.1] - 2020-09-02
219
268
220
269
### Fixed:
270
+
221
271
- UI: Fixed iOS custom appearance problem on real device
222
272
223
273
## [1.3.0] - 2020-08-04
224
274
225
275
### Changed:
276
+
226
277
- Public: Upgraded android SDK version to 7.2.0
227
278
228
279
## [1.2.2] - 2020-07-16
229
280
230
281
### Fixed:
282
+
231
283
- Public: Added fix in Github Repository filter
232
284
233
285
## [1.2.0] - 2020-07-07
234
286
235
287
### Added:
288
+
236
289
- Public: Added custom localisation support for ios
237
290
238
291
### Changed:
292
+
239
293
- Public: Upgraded iOS SDK version
240
294
241
295
## [1.0.1] - 2020-04-16
242
296
243
297
### Fixed:
298
+
244
299
- Public: Added fix for bug where npm install in SampleApp is deleting files in SampleApp directory.
With version 10.0.0 of the Onfido React Native SDK, NFC is enabled by default and offered to customer when both the document and the device support NFC.
170
+
171
+
For more information on how to configure NFC and the list of supported documents, please refer to the [NFC for Document Report](https://developers.onfido.com/guide/document-report-nfc) guide.
172
+
169
173
170
174
NFC dependencies are not included in the SDK to avoid increasing the SDK size when the NFC feature is disabled. To use the NFC feature, you need to include the following dependencies (with the specified versions) in your build script:
171
175
@@ -200,7 +204,7 @@ You also need to add the following Proguard rules to your `proguard-rules.pro` f
200
204
#### 4.3 Custom Android Application Class
201
205
**Note**: You can skip this step if you don't have any custom application class.
202
206
203
-
⚠️ As of version 9.0.0, Onfido SDK runs in a separate process on Android. This means that when the Onfido SDK is started, a new application instance will be created. To prevent re-running any initialization code that you have in your custom Application class, you can use the following `isOnfidoProcess` function and return from the `onCreate` method as shown below:
207
+
⚠️ After the release of version 9.0.0, Onfido RN SDK runs in a separate process. This means that when the Onfido SDK started, a new application instance will be created. To prevent reinitializing you have in the Android application class, you can use the `isOnfidoProcess`extension function and return from `onCreate` as shown below:
204
208
205
209
This will prevent initialization-related crashes such as: [`FirebaseApp is not initialized in this process`](https://github.com/firebase/firebase-android-sdk/issues/4693)
206
210
@@ -266,15 +270,10 @@ cd ..
266
270
267
271
##### Enabling NFC extraction
268
272
269
-
Recent passports, national identity cards and residence permits contain a chip that can be accessed using Near Field Communication (NFC).
270
-
The Onfido SDKs provide a set of screens and functionalities to extract this information, verify its authenticity and provide the results as part of a Document report.
271
-
With version [8.4.0] of the Onfido React Native SDK, NFC is enabled by default and offered to customer when both the document and the device support NFC.
273
+
With version 10.0.0 of the Onfido React Native SDK, NFC is enabled by default and offered to customer when both the document and the device support NFC.
272
274
273
275
For more information on how to configure NFC and the list of supported documents, please refer to the [NFC for Document Report](https://developers.onfido.com/guide/document-report-nfc) guide.
274
276
275
-
###### Pre-requisites
276
-
277
-
278
277
This feature requires Near Field Communication Tag Reading capability in your app target. If you haven't added it before, please follow the steps in Apple's documentation.
279
278
280
279
@@ -285,7 +284,6 @@ You're required to have the following key in your application's Info.plist file:
285
284
<string>Required to read ePassports</string>
286
285
```
287
286
288
-
289
287
You have to include the entries below in your app target's Info.plist file to be able to read NFC tags properly.
290
288
291
289
```xml
@@ -429,9 +427,8 @@ config = {
429
427
},
430
428
captureFace: {
431
429
type: OnfidoCaptureType.VIDEO
432
-
},
433
-
},
434
-
enableNFC: true
430
+
}
431
+
}
435
432
}
436
433
```
437
434
@@ -441,14 +438,14 @@ config = {
441
438
***`flowSteps`**:Required. This object is used to toggle individual screens on and off and set configurations inside the screens.
442
439
***`welcome`**:Optional. This toggles the welcome screen on or off. If omitted, thisscreen does not appear in the flow.
443
440
* Valid values:`true`, `false`
441
+
***`proofOfAddress`**:Optional. This toggles the proof of address screen on or off. If omitted, thisscreen does not appear in the flow.
442
+
* Valid values:`true`, `false`
444
443
***`captureDocument`**:Optional. This object contains configuration for the capture documentscreen. If docType and countryCode are not specified, a screen will appear allowing the user to choose these values. If omitted, thisscreen does not appear in the flow.
445
444
***`docType`**: Required if countryCode is specified.
**Note**:`GENERIC`document type doesn't offer an optimised capture experience for a desired document type.
448
447
* **`countryCode`**: Required if docType is specified.
449
448
* Valid values in `OnfidoCountryCode`: Any ISO 3166-1 alpha-3 code. For example: `OnfidoCountryCode.USA`.
450
-
* **`enableNFC`**: Optional. This toggles the ePassport NFC extraction feature. If omitted, this feature is not enabled in the flow. There is also application configuration changes needed to use this feature. To do that please follow [Onfido Developer Hub](#https://developers.onfido.com/guide/document-report-nfc#enable-nfc-in-the-onfido-sdks)
451
-
* Valid values: `true`, `false`.
452
449
* **`captureFace`**: Optional. This object object containing options for capture face screen. If omitted, this screen does not appear in the flow.
453
450
* **`type`**: Required if captureFace is specified.
454
451
* Valid values in `OnfidoCaptureType`: `PHOTO`, `VIDEO`, `MOTION`.
@@ -691,8 +688,6 @@ You can customize the SDK by adding a `colors.json` file to your xcode project a
0 commit comments