SINCH ::印度尼西亚号码的PhoneNumberUtils问题 [英] SINCH :: PhoneNumberUtils issue for Indonesia number

查看:112
本文介绍了SINCH ::印度尼西亚号码的PhoneNumberUtils问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SINCH(sinch-android-verification-1.4.0)提供的PhoneNumberUtils,但是对于印度尼西亚编号却给出了不同的结果.

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

使用下面的方法在Android Verificationation SDK中提供的号码不是可能的号码

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

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

但是它说iOS验证SDK中可能是数字.

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

任何人都可以帮忙吗?

预先感谢

推荐答案

它取决于Android系统版本. 原因是,我们在电话上使用本地libphonenumber,每当在电话上更新系统时,它就会更新. 对于ios sdk,情况有所不同,它使用的是来自Google的libphonenumber lib,它是最新版本.

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.

这篇关于SINCH ::印度尼西亚号码的PhoneNumberUtils问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆