website icon indicating copy to clipboard operation
website copied to clipboard

Add guide for Password management for both iOS and Android

Open betty-projects opened this issue 4 years ago • 10 comments

Hi, I am trying to develop my first flutter app and I find it very hard to find information about password management for both iOS and Android.

The goal would be have an easy way to save user credentials from a login form on a password manager, especially KeyChain on iOS, and others on Android (like password1).

I have read numerous threads about AutofillGroup, but I am testing on physical iOS device and it doesn't seem to work. It appears the "password" button on top of the keyboard, but there is no instance related to the app. Also it doesn't ask the user if he wants to save credentials. Some threads like https://github.com/flutter/flutter/issues/72083 suggest to use AssociatedDomains and read about it on Apple documentation.. but it gets very confusing.

I suggest an easier way to implement this stuff, or at least to add on the main site a good documentation with examples. It is one of the most common and requested features in nowadays apps, and it is very difficult to find info about it.

betty-projects avatar Jul 10 '21 07:07 betty-projects

Hi @albero123rome Thanks for filing the issue, I understand the changes when implementing a form in Flutter with password management. It is certainly not easy straightforward. I will look into this and create docs for this in the coming weeks

I think the best way is to add a cookbook for this in https://flutter.dev/docs/cookbook#forms

TahaTesser avatar Jul 12 '21 13:07 TahaTesser

@TahaTesser Hi, I have the same issue. One question, who can add a new section in cookbook?

mafreud avatar Apr 26 '23 16:04 mafreud

@TahaTesser Hi, I have the same issue. One question, who can add a new section in cookbook?

If this needs a new section, you can do it yourself. Look into merged PRs for ideas.

TahaTesser avatar Apr 26 '23 16:04 TahaTesser

@TahaTesser ok. Thank you.

mafreud avatar Apr 26 '23 17:04 mafreud

cc @mariamhas This might be related to your work around authentication plugins and what we recommend.

gmackall avatar May 25 '23 18:05 gmackall

Me also face the same issuse.In android i complele the autofillgroup and it works fine. But the IOs only i face the same issuse.I search how to fix that issuse then i come with solution associate domain but i didn't get proper artical to add associated domain. In the Apple website also not have proper explain it so difficult to understand can you please provide any solution as you find for this issuse

Kathir01 avatar Aug 18 '23 11:08 Kathir01

@Kathir01 , Did you manage to solve it? My Android app offers the save screen, but it does not save the password for the next attempt.

guiwestrup avatar Nov 09 '23 16:11 guiwestrup

@guiwestrup, did you manage to get any solution yet? I am having the same issue.

@guiwestrup, did you manage to get any solution yet? I am having the same issue.

Nothing yet, I'm waiting for someone here to respond too :/

guiwestrup avatar Nov 29 '23 11:11 guiwestrup