onfido-sdk-ui
onfido-sdk-ui copied to clipboard
Add ability to re-order document types during Document Selection step
Hi there,
We would like to encourage our users to use certain document type over others. During the Document Selection step, we would like to have the ability to re-arrange the order of document types. For example, in the screenshot below, the driver licence is the first option in the list and not passport.

I've started working on this locally, so please let me know if you would accept a PR for this.
Hi @jtran-financeit
We would have to first evaluate this feature internally as we need to take platform parity into consideration. Is there a particular reason that you want to recommend a specific document type over others, like is it based on pass rate or some internal business preference?
After going through a pilot phase for Onfido, we noticed that:
- 65% of the documents submitted were driver license
- Those who chose to use driver license had a success rate of 84%
This led to a request to bring the driver license type to the top of the list.
After discussing with some team members, we can add the Recommended tag on our end without changing the SDK.
The only thing we need is the ability to order the document types, perhaps based on their ordering in the documentTypes
option.
I'll update the issue description.