Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitss authored Apr 1, 2017
1 parent 516dba8 commit 078855b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ private void autoReadSmsOtp() {
@Override
public void messageReceived(String messageText) {
Toast.makeText(getBaseContext(), messageText, Toast.LENGTH_LONG).show();
//If you want to disable sms listener, set isAutoReadOtp to 'false'.
SmsReceiver.isAutoReadOtp = false;
}
});
}
Expand Down

0 comments on commit 078855b

Please sign in to comment.