Skip to main content
Version: v8xxx

Supported documents on iOS

Each BlinkID iOS SDK version has a JSON file listing the document classes it supports. A file covers all patch releases of its version: the 8001.0 file applies to 8001.0.0, 8001.0.1, and so on. For one list of all supported documents, see Supported documents.

React Native and Flutter apps on iOS run the iOS SDK. Use the file for the iOS SDK version your plugin uses.

Match documents in results​

Each document has the country, region, and documentType values that the SDK returns in result.documentClassInfo. Each value has an id, the name of the enum case, and a rawValue, the same classification as a plain string. On iOS, the SDK returns the enum case in countryId, regionId, and documentTypeId. region is null for documents that have no region. For example, the Croatian identity card, which the SDK returns as .croatia and .id:

{
"country": { "id": "croatia", "rawValue": "CROATIA" },
"region": null,
"documentType": { "id": "id", "rawValue": "ID" }
}
tip

When id is null, your SDK version has no enum value for the document. Match it on rawValue instead, as described in Parse document class info.

Versions​