Y
Hacker News
new
|
ask
|
show
|
jobs
by
mackwerk
4145 days ago
The whole phone number thing is broken, at least for danes. Danish numbers are 8 digits, this app believes they are 9.
1 comments
fabrika
4145 days ago
This is embarrassing. We will fix it. Thank you.
link
desdiv
4145 days ago
Just like crypto, you really shouldn't roll your own phone number validation libraries. Just use Google's libphonenumber[0]. There's an iOS port of it [1].
[0]
https://github.com/googlei18n/libphonenumber
[1]
https://github.com/iziz/libPhoneNumber-iOS
link