Skip to content

ashu777/ReadOTPAutomaticallyUsingSmsRetriverApi-Android

Repository files navigation

ReadOTPAutomaticallyUsingSmsRetriverApi-Android

From the year 2019, Read CALL LOGS and SMS are comes under Critical permission .If These Permissions are used in app and uploaded to play store ,it will suspend app from Playstore. To overcome this issue and give user a better experience of auto fill of OTP, SMSRETRIVER API comes to effect. Here SMSRETRIVER API will be used to detect otp for autofill.

Message sample: "<#> Hello, Please enter 503960 as your One Time Password (OTP) to continue your login with XYZ. Please do not share with anyone. l2xPcDHuQTj"