[iOS][Unity] The identity chooser dialog should open automatically only when the identity is not set |
||||
Issue description== Issue with importing data dialog Sign-in with one identity Sign-out Open the sign-in dialog with tapping on "Not johndoe@example.com" Select a second identity Tap on "Yes, I'm in" Choose "Combine my data" or "Keep my data separate" result: When this last dialog disappear, the unified consent dialog appears again, and the identity chooser is automatically opened, while signing in. == Issue with adding an account Open the sign-in dialog with tapping on "Not johndoe@example.com" Add a new identity result: When the SSO dialog disappears, the identity chooser dialog is opened again. It should not be the case since the user selected its identity.
,
Oct 19
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3c8d19003100147d59ff4c348aeb4d9c7ec2bc3b commit 3c8d19003100147d59ff4c348aeb4d9c7ec2bc3b Author: Jérôme Lebel <jlebel@chromium.org> Date: Fri Oct 19 10:00:01 2018 [iOS][Unity] Fixing issue to open automatically the identity chooser dialog Adding -UnifiedConsentCoordinator.identitySelectedByUser to track when the user selects an identity. This is to make sure the identity chooser dialog is opened automatically only when the user didn't select an identity yet. Bug: 896709 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: Ib849ac7d385910398f62bf7e7e933f79983e3691 Reviewed-on: https://chromium-review.googlesource.com/c/1288790 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#601097} [modify] https://crrev.com/3c8d19003100147d59ff4c348aeb4d9c7ec2bc3b/ios/chrome/browser/ui/authentication/unified_consent/identity_chooser/identity_chooser_coordinator.mm [modify] https://crrev.com/3c8d19003100147d59ff4c348aeb4d9c7ec2bc3b/ios/chrome/browser/ui/authentication/unified_consent/unified_consent_coordinator.mm
,
Oct 19
,
Oct 19
,
Oct 30
Verified in 72.0.3595.0 Canary Devices: iPhone8(iOS 11.4.1), iPhone X(iOS 12.0.1), iPhone 7plus(iOS 10.3.3), iPad Air(iOS 11.4.1) 1. Identity chooser dialog does not appear after adding a new account and after dismissing import data dialog 2. Identity chooser dialog appears on tapping "Change Account" Looks good, issue fixed Link to video: https://drive.google.com/file/d/1eC0yG3obw32hBz3PfHMHE2st0eOzkalW/view?usp=sharing |
||||
►
Sign in to add a comment |
||||
Comment 1 by jlebel@chromium.org
, Oct 18