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

This is embarrassing. We will fix it. Thank you.
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