[PR #6662] [PM-33511] feat: Add creationDate to UserState.Account #12906

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

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

State: closed
Merged: Yes


🎟️ Tracking

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

📔 Objective

Adds creationDate: Instant? to UserState.Account, mapped from profile.creationDate in UserStateJsonExtensions. This exposes the account creation date for downstream age-based eligibility checks (e.g., premium upgrade banner requires account age >= 7 days).

  • Adds property to UserState.Account data class
  • Maps from ProfileJson.creationDate in the extension function
  • Updates all test fixtures with creationDate parameter
  • Adds dedicated unit test for creationDate mapping
**Original Pull Request:** https://github.com/bitwarden/android/pull/6662 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-33511 ## 📔 Objective Adds `creationDate: Instant?` to `UserState.Account`, mapped from `profile.creationDate` in `UserStateJsonExtensions`. This exposes the account creation date for downstream age-based eligibility checks (e.g., premium upgrade banner requires account age >= 7 days). - Adds property to `UserState.Account` data class - Maps from `ProfileJson.creationDate` in the extension function - Updates all test fixtures with `creationDate` parameter - Adds dedicated unit test for `creationDate` mapping
GiteaMirror added the pull-request label 2026-04-11 03:53: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#12906