valora-inc / wallet

The official repository for the Valora mobile cryptocurrency wallet.
https://valora.xyz
Apache License 2.0
178 stars 87 forks source link

Improve user experience for Chinese phone numbers #832

Closed codyborn closed 9 months ago

codyborn commented 3 years ago

SMS providers (Twilio/Nexmo/MB) do not allow sending SMS to Chinese phone numbers due to regulations. As such our verifications success rate is 0% from China. We should provide a message to users that are using China as the phone number country code letting them know in advanced that it's not supported and preventing continuation.

Proposed Approach: Create a separate list of "low success rate" countries (for now, only china on this list). If user, based on phone number country code, is from a country on this list, surface the following error message "Phone Number Confirmation is not supported in your country, please skip for now."

aslawson commented 3 years ago

Should block for all our unsupported regions: CU,SY,KP,IR,SD,CN (list may be longer now) but China is the most pressing since we see an average amount of traffic coming from there (compared to all other countries)