SINCH :: PhoneNumberUtils issue for Indonesia number

ぐ巨炮叔叔 提交于 2019-12-02 14:41:26

问题


I am using PhoneNumberUtils supplied by SINCH(sinch-android-verification-1.4.0) but is gives different outcome for Indonesia number.

It says that supplied number is not a possible number with below method in Android Verifiation SDK

PhoneNumberUtils.isPossibleNumber("895369074498", "ID")

But it says it is possible number in iOS Verification SDK.

Can anyone help?

Thanks in advance


回答1:


It depends on the Android system version. The reason is, we are using the native libphonenumber on the phone, it is updated whenever the system is updated on the phone. For ios sdk it is different, it uses a libphonenumber lib from google, which is of a recent version.



来源:https://stackoverflow.com/questions/39997169/sinch-phonenumberutils-issue-for-indonesia-number

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!