andy02 andy02 - 5 months ago 23
Android Question

How to set OTP automatically on edittext read from the message

Server sends an OTP and it also shows on my android monitor(by using log.) but the problem I face it doesnt set on my edittext automatically, My App should be able to automatically read the OTP sent by the server. How can I achieve this? Any help or guidance in this regard would be highly appreciated.


check this site here is example how to get otp automatically

Also please don't forget to make static to your EditText from your Activity/Fragment