fix(settings): Manage-subscription deep link used namespace, not applicationId

ExternalLinks.MANAGE_SUBSCRIPTION pointed Play's subscription manager at
package=app.closer (the code namespace); the Play package is the applicationId
closer.app. In production the Manage button would miss the app's subscription
entry. Invisible to all QA so far because no real subscription has ever existed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
null 2026-07-11 18:22:03 -05:00
parent 35b0eac2df
commit 4e807cb088
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ object ExternalLinks {
// TODO: Update placeholder URL before production.
const val SUBSCRIPTION_TERMS = "https://closer.app/subscription-terms"
const val SUPPORT = "https://closer.app/support"
const val MANAGE_SUBSCRIPTION = "https://play.google.com/store/account/subscriptions?package=app.closer"
// NOTE: `package` must be the Play applicationId ("closer.app"), NOT the code namespace ("app.closer").
const val MANAGE_SUBSCRIPTION = "https://play.google.com/store/account/subscriptions?package=closer.app"
fun openUrl(context: Context, url: String) {
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))