Cannot Get Newpassword to Generate Strong Password and Autofill

Cannot get newPassword to generate strong password and autofill

Do you have a UITextField that has the usernameTextField.textContentType = .username on the same page? I only got the strong password suggestion after I added the username field.

iOS 13 only occasionally suggests a strong password after switching from previous textfield

Apparently, the way I want autogenerated password to work is not possible at this moment.
For strong password suggestion to work, username textfield should be on the same screen as password textfield.
This is bizarre, but after researching apps like Twitter I discovered that non of them have strong password suggestion for a single password textfield. It's unknown whether it's a bug or a feature.
I'll have to go with reimplementing this feature manually.

Show Automatic Strong password iOS in Flutter app

I was able to solve this by meeting the following prerequisites for Autofill Strong Password to work on iOS:

  1. Set up Associated Domains: https://developer.apple.com/documentation/xcode/supporting-associated-domains. It involves serving an apple-app-site-association file from the root (or .well-known) directory of your webserver, and adding the Associated Domains entitlement to your list of app entitlements.
  2. Add the Autofill Credential Provider entitlement to your app.

PS. The latest Flutter 2.8.x contains a bug, which is discussed here https://github.com/flutter/flutter/issues/94043, so if you want to get it working you need to either downgrade to v.2.5.x or wait for the bug fix.

EDIT: With Flutter 2.10.1 the abovementioned bug is fixed.

Cannot show Automatic Strong Passwords for app bundleID when signup

Automatic Strong Passwords suggestion works if user has enabled the iCloud keychain in its iPhone. I resolved this error by doing the following steps

How to enable iCloud keychain

  1. Go to the Setting
  2. Tap on UserName (Apple Id)
  3. Tap on iCloud
  4. Tap on keychain
  5. Enable iCLoud Keychain

Set a PasswordField to secureTextEntry give me a strange behaviour

This happens when the system's user doesn't have iCloud Keychain enabled. As will often be the case on the Simulator :)

I ran into this on the simulator and came here. Tried it on my phone (where iCloud Keychain is enabled), and got this instead:

[AutoFill] Cannot show Automatic Strong Passwords for app bundleID:
your.bundle.id due to error: Cannot save passwords for this app. Make
sure you have set up Associated Domains for your app and AutoFill
Passwords is enabled in Settings

So this is Apple's cool AutoFill feature. There are some steps described here that should enable that.



Related Topics



Leave a reply



Submit