Closed zhqu1148980644 closed 3 years ago
Parsing doesn't validate (this is the case with all the APIs upstream as well).
After parsing you want to call IsPossibleNumber
or IsValidNumber
@nicpottier IsValidNumber
also returns true
.
According to the upstream library that is correct https://libphonenumber.appspot.com/phonenumberparser?number=4163020541&country=CN. If you believe that is incorrect you should open an issue on https://github.com/google/libphonenumber.
According to the upstream library that is correct https://libphonenumber.appspot.com/phonenumberparser?number=4163020541&country=CN. If you believe that is incorrect you should open an issue on https://github.com/google/libphonenumber.
get it. thanks for your reply.
This code raises no error, though it's obviously not a chinese phone number.