identity-samples icon indicating copy to clipboard operation
identity-samples copied to clipboard

Google Save Credentials Android Programmtically

Open muhammadalikhan3340 opened this issue 2 years ago • 3 comments

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 Google Archive Code Samples 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

muhammadalikhan3340 avatar Oct 27 '22 11:10 muhammadalikhan3340

Did you try it with the new activity result launcher api

AbGhost-cyber avatar Nov 01 '22 08:11 AbGhost-cyber

@AbGhost-cyber yes indeed as in the samples MainActivity line: 115

muhammadalikhan3340 avatar Nov 02 '22 07:11 muhammadalikhan3340

any update about this issue? I have same problem

MirzaUkas avatar Mar 28 '24 06:03 MirzaUkas