onfido-sdk-ui icon indicating copy to clipboard operation
onfido-sdk-ui copied to clipboard

User details sms number does not work without country calling code

Open Mally442 opened this issue 5 years ago • 1 comments

If the sms number excludes the country calling code (as per the code below), a validation error message is shown "Check your mobile number is correct" when clinking the Send link button. Entering the number manually without the calling code works, so I don't see why this shouldn't

userDetails: { smsNumber: '07500123456' }

SKD version 5.0.0

Mally442 avatar Apr 04 '19 11:04 Mally442

Hi, thanks for reporting this issue. Currently, the smsNumber option should always include the country code as in the example below. userDetails: { smsNumber: '+447500123456' } We appreciate your suggestion and we will evaluate changing the behaviour in the future, but for now please use the above format to make the feature work. I hope this helps.

stefaniacardenas avatar Apr 23 '19 10:04 stefaniacardenas