[PR #6523] [PM-32121] Add CookieAcquisition screen and ViewModel #12787

Closed
opened 2026-04-11 03:51:16 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6523

State: closed
Merged: Yes


🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-32121

📔 Objective

Add the Cookie Acquisition screen and ViewModel for the cookie-vending flow. This screen prompts users to sync cookies with their browser when required by their SSO configuration.

Changes:

  • CookieAcquisitionScreen — Stateless Compose screen with launch browser, continue without syncing, and help link actions
  • CookieAcquisitionViewModel — BaseViewModel with State/Action/Event pattern, handles cookie callback results from deep link, manages pending cookie acquisition request lifecycle
  • CookieAcquisitionNavigation — Type-safe navigation with @Serializable route and slide transitions
  • CookieAcquisitionHandler — Remembered handler for action dispatch
  • ill_sso_cookie_sync.xml — Vector drawable illustration for the screen
  • Full test coverage for both ViewModel and Screen

📸 Screenshots

Comp Actual (preview)
**Original Pull Request:** https://github.com/bitwarden/android/pull/6523 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-32121 ## 📔 Objective Add the Cookie Acquisition screen and ViewModel for the cookie-vending flow. This screen prompts users to sync cookies with their browser when required by their SSO configuration. **Changes:** - `CookieAcquisitionScreen` — Stateless Compose screen with launch browser, continue without syncing, and help link actions - `CookieAcquisitionViewModel` — BaseViewModel with State/Action/Event pattern, handles cookie callback results from deep link, manages pending cookie acquisition request lifecycle - `CookieAcquisitionNavigation` — Type-safe navigation with `@Serializable` route and slide transitions - `CookieAcquisitionHandler` — Remembered handler for action dispatch - `ill_sso_cookie_sync.xml` — Vector drawable illustration for the screen - Full test coverage for both ViewModel and Screen ## 📸 Screenshots | Comp | Actual (preview) | |--------|--------| | <img width="365" src="https://github.com/user-attachments/assets/b569d797-8c5c-4770-8095-defde70a039e" /> | <img width="365" src="https://github.com/user-attachments/assets/41c07c20-910f-484c-b192-837590ef5ade" /> |
GiteaMirror added the pull-request label 2026-04-11 03:51:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12787