Is it good idea to use Google libphonenumber library for commercial application? Eg. we are thinking to add validation of a phone number at the time of sign up. Earlier we were using regex for it. As we have OTP based verification system, so regex works good for us. And hence, we do not get any bad phone numbers in our system. Earlier, we were working only for single country numbers, so regex was easy. Now we are thinking to accept international numbers also. So, we found that google libphonenumber library does validate for any international number. https://github.com/googlei18n/libphonenumber
This seems a good option and also seems very accurate. But in this, we think there is 1 problem that when some numbers are open in some country, then we always need to update the version of library in our system also so that it will start accepting those numbers. We found that this open source library is also used by Whatsapp. https://www.whatsapp.com/opensource/?l=es
But how do they manage this problem of updating version every time? Also, is any other company which is also using it.
Can someone please suggest, what should we do? Should we use regex for international numbers or this library.