您好我使用Cognalys进行电话号码验证。
这是我的代码验证部分
private void verify() {
Cognalys.verifyMobileNumber(Number_verify_Activity.this,
"REMOVED FOR PRIVACY",
"REMOVED FOR PRIVACY", etPhoneNo.getText().toString(),
new VerificationListner() {
@Override
public void onVerificationStarted() {
}
@Override
public void onVerificationSucess() {
progressDialog.dismiss();
Toast.makeText(Number_verify_Activity.this, "Your number Verified", Toast.LENGTH_LONG);
Intent intent = new Intent(Number_verify_Activity.this, NameActivity.class);
intent.putExtra("phonenumber", tvCountryCode + "" + etPhoneNo.getText().toString());
startActivity(intent);
}
@Override
public void onVerificationFailed(ArrayList<String> arrayList) {
progressDialog.dismiss();
Toast.makeText(Number_verify_Activity.this, "Your number Not Verified", Toast.LENGTH_LONG).show();
}
});
我也收到了他们的未接来电,但我和#34;它显示您的号码未经验证&#34;
此外,我检查了Cognalys的仪表板,显示数字已经过验证。
有什么想法吗?
谢谢!