(Bkash is a mobile banking app in Bangladesh.)
Issue: Can not login because auto-fill need to work perfectly for OTP verification. You can not type the OTP manually during login for security purposes.
Device used by me: Pixel 9a (GrapheneOS), usb cable and a laptop.
Solution: Its simple, google play services need to read OTP sms. the easiest way to do it is through adb command. (Maybe there is a toggle in settings but I didn't find it or I do not know). Following is tested on my linux laptop, it is similar for windows and macos.
in your PC or laptop install android-tools (Google's official Android SDK Platform Tools).
in your phone tap build number multiple times to enable developer options. then search developer options in settings and in there turn on USB debugging.
open terminal and type:
❯ adb devices
then it will try to connet with your phone. on your phone a popup will come then ALLOW it. do it again and now you will just do this:
❯ adb shell pm list packages -U com.google.android.gms
this command will give something like this: package:com.google.android.gms uid:10197
in here uid is important cuz in your next command you will use it in the middle just like this:
❯ adb shell appops set 10197 READ_OTP_SMS allow
AND DONE. here 10197 is the UID of google play services and now Google Play Services can READ OTP so Auto fill should work.
If you face any problem ask SIMPLE questions to CLAUDE or chatgpt. ALWAYS make reddit and forums YOUR MAIN priority. I found this solution through chatgpt and it worked BUT NEVER TRUST IT BLINDLY, AI is a TOOL so DO NOT TRUST it, use it for your own advantage after understanding it. AI is a double edged sword, if u dont understand it.