Android autofill OTP received from different numbers
up vote
0
down vote
favorite
I can autofill OTP using BroadcastReceiver and a listener (following this) but the problem is the passcode is received from different numbers for different users and therefore using smsMessage.getDisplayOriginatingAddress()
cannot be used to ensure the code is received from the intended source. Is there any other way like an ID to check the message is from the intended source?
Thank you.
java android one-time-password
add a comment |
up vote
0
down vote
favorite
I can autofill OTP using BroadcastReceiver and a listener (following this) but the problem is the passcode is received from different numbers for different users and therefore using smsMessage.getDisplayOriginatingAddress()
cannot be used to ensure the code is received from the intended source. Is there any other way like an ID to check the message is from the intended source?
Thank you.
java android one-time-password
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I can autofill OTP using BroadcastReceiver and a listener (following this) but the problem is the passcode is received from different numbers for different users and therefore using smsMessage.getDisplayOriginatingAddress()
cannot be used to ensure the code is received from the intended source. Is there any other way like an ID to check the message is from the intended source?
Thank you.
java android one-time-password
I can autofill OTP using BroadcastReceiver and a listener (following this) but the problem is the passcode is received from different numbers for different users and therefore using smsMessage.getDisplayOriginatingAddress()
cannot be used to ensure the code is received from the intended source. Is there any other way like an ID to check the message is from the intended source?
Thank you.
java android one-time-password
java android one-time-password
edited Nov 9 at 21:35
Steve Vinoski
16.2k32133
16.2k32133
asked Nov 9 at 20:42
Hoda M
12
12
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232995%2fandroid-autofill-otp-received-from-different-numbers%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown