android / android/identity-samples

Google Save Credentials Android Programmtically

Open
#42 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
515
Forks
283
Avg merge
9h 37m
Merged PRs (30d)
2

Description

Objective: I want to save custom credentials into the password Manager & later get that from the saved password list in Security-->Password Manager-->List of passwords.

What I have done: I tried the following approaches:

[Save passwords with Credential Saving](https://developers.google.com/identity/one-tap/android/save-passwords)
[Google Archive Code Samples](https://github.com/googlearchive/android-credentials)
And getting the following error:

16: Skipping password saving since the user is likely prompted with Android Autofill

Sometimes the bottom sheet became visible to save the password in the password manager but most of the time I am getting the above error. In some places, I have read that a conflict with AutoFill service is the cause of this. But I cannot get more knowledge of this problem since not much documentation/implementation is there.

Any help in this matter would be highly appreciated. Thanks

Contributor guide

Open the contributing guide

Research direction

Start with the linked Credential Saving documentation and the archived android-credentials samples, then reproduce the intermittent error message in an Android sample. Compare runs where the bottom sheet appears with runs that report Autofill; done means identifying the reproducible conditions and documenting the supported resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.