Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autofill is not capturing OTP on android 12 devices.. Not giving any error. #39

Open
Sayedmdkaif opened this issue Dec 14, 2022 · 6 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Sayedmdkaif
Copy link

autofill is not capturing OTP on android 12 devices..

Not giving any error.

Please update your code.

@Sayedmdkaif Sayedmdkaif added the bug Something isn't working label Dec 14, 2022
@lijogeorgep
Copy link

Same issue with me. please update the code. I think its related with some permission issue.

@GalimzyanovDanil
Copy link
Contributor

Could not reproduce the bug with Retriever API or Consent API. Checked on the Android 12 and 13 emulator and on a real device with Android 12.
Possible problem.
Enable the autofill service by navigating to Settings > Google > Autofill > SMS verification codes > Autofill service.
Note.
To use Retriever API you need The App signature, package calculates the hash for you and prints it in the console.
https://developers.google.com/identity/sms-retriever/verify#1_construct_a_verification_message

@Sayedmdkaif
Copy link
Author

Sayedmdkaif commented Feb 8, 2023 via email

@lijogeorgep
Copy link

lijogeorgep commented Jun 2, 2023

@GalimzyanovDanil This issue happens in the release build. It works fine when we test while debugging. For me it's not working in android 12 and 13. But works in android 10 devices. I am using Consent API.

@tinted-knight
Copy link
Contributor

Hi @lijogeorgep ! We would like to deliver a fix, although I tested an example app on Android 13 in the release build and it works just fine with Consent API. We are also using it in several internal projects and have no issues. May it be some device- or firmware- specific behavior that does happen sometimes with Android devices? We probably should dig in a little bit to find out.

@tinted-knight tinted-knight mentioned this issue Jul 6, 2023
22 tasks
@plasticfiresam
Copy link
Contributor

@lijogeorgep Could you provide more information about your case, including error and stacktrace, so we could continue investigation with this case?

@plasticfiresam plasticfiresam added question Further information is requested and removed new issues labels Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

6 participants