Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am unable to set message code on edit text #1

Closed
anilthakur opened this issue Oct 22, 2016 · 2 comments
Closed

I am unable to set message code on edit text #1

anilthakur opened this issue Oct 22, 2016 · 2 comments

Comments

@anilthakur
Copy link

I have download project and run this project then i am unable to get callback on

smsVerifyCatcher = new SmsVerifyCatcher(this, new OnSmsCatchListener() {
@OverRide
public void onSmsCatch(String message) {
String code =parseCode(message);//Parse verification code
etCode.setText(code);//set code in edit text

            Toast.makeText(MainActivity.this,"click",Toast.LENGTH_LONG).show();
            //then you can send verification code to server
        }
    }); please tell where am doing wrong any more thing we have to set?
@bevzaanton
Copy link
Contributor

You have to set phone number filter, which comes with SMS
In sample project I set:

smsVerifyCatcher.setPhoneNumberFilter("777");

Are you sending SMS from phone number: 777?

@cyberformed
Copy link

not working at all. application is unable to catch the message also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants