Skip to content

Commit

Permalink
Replace stub subscription id with active one
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov committed Mar 11, 2025
1 parent fec371b commit 0dced4a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ class SubscriptionServiceGooglePlay(
}

override fun launchManageSubscriptionScreen(context: Context) {
val subscriptionId = activeSubscriptions.firstOrNull()?.subscription?.id ?: return

val packageName = "io.horizontalsystems.bankwallet"
val s = "https://play.google.com/store/account/subscriptions?sku=test.subscription_1&package=$packageName"
val s = "https://play.google.com/store/account/subscriptions?sku=${subscriptionId}&package=$packageName"
val intent = Intent(ACTION_VIEW, Uri.parse(s)).apply {
// The URL should either launch directly in a non-browser app (if it's
// the default) or in the disambiguation dialog.
Expand Down

0 comments on commit 0dced4a

Please sign in to comment.