[PR #6692] [PM-33513] feat: Add checkout callback deep link handling #12935

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

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

State: closed
Merged: Yes


🎟️ Tracking

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

📔 Objective

Add deep link handling for Stripe checkout callbacks so the app can detect when a user returns from a Stripe payment flow.

  • Add isPremiumCheckoutCallback Intent extension property in ShortcutUtils.kt for the bitwarden://premium-upgrade-callback deep link
  • Add PremiumCheckoutResult data object to the SpecialCircumstance sealed class
  • Handle checkout callback URI in MainViewModel.handleIntent(), setting the special circumstance
  • Add exhaustiveness branches in RootNavViewModel.kt for the new sealed class member
  • Unit tests for intent parsing (ShortcutUtilsTest) and ViewModel handling (MainViewModelTest)
**Original Pull Request:** https://github.com/bitwarden/android/pull/6692 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-33513 ## 📔 Objective Add deep link handling for Stripe checkout callbacks so the app can detect when a user returns from a Stripe payment flow. - Add `isPremiumCheckoutCallback` Intent extension property in `ShortcutUtils.kt` for the `bitwarden://premium-upgrade-callback` deep link - Add `PremiumCheckoutResult` data object to the `SpecialCircumstance` sealed class - Handle checkout callback URI in `MainViewModel.handleIntent()`, setting the special circumstance - Add exhaustiveness branches in `RootNavViewModel.kt` for the new sealed class member - Unit tests for intent parsing (`ShortcutUtilsTest`) and ViewModel handling (`MainViewModelTest`)
GiteaMirror added the pull-request label 2026-04-11 03:54:05 -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#12935