General: See your Pro status and switch from subscription to one-time purchase (#638)

* feat(upgrade): Add Pro status view, grace UI and sub-to-IAP switch

* fix(upgrade): Pad restore purchase to a minimum visible duration

* ui(upgrade): Mention Play-website install fix in restore troubleshooting

* fix(upgrade): Stop re-acknowledging already-acked purchases

* ui(settings): Move upgrade status row into the Other category
This commit is contained in:
Matthias Urhahn
2026-07-22 15:40:57 +02:00
committed by GitHub
parent bfc0e1cfaa
commit 825892df74
30 changed files with 3134 additions and 537 deletions
+31
View File
@@ -44,8 +44,35 @@
<string name="upgrade_screen_restore_troubleshooting_msg">If you\'ve recently purchased, it may take a moment for Google Play to sync.</string>
<string name="upgrade_screen_restore_sync_patience_hint">Try again in a few minutes if your purchase doesn\'t appear.</string>
<string name="upgrade_screen_restore_multiaccount_hint">Make sure you\'re signed in with the same Google account used for the purchase.</string>
<string name="upgrade_screen_restore_webinstall_hint">Multiple accounts can confuse Google Play. Installing the app through the Google Play website forces the association with a specific account.</string>
<string name="upgrade_screen_restore_banner_title">Already bought Pro?</string>
<string name="upgrade_screen_restore_banner_body">It looks like you upgraded to Pro on this device before. Restore your purchase to unlock it again.</string>
<string name="upgrade_screen_restore_success_message">Purchase restored.</string>
<string name="upgrade_screen_restore_status_title">Status looks wrong?</string>
<string name="upgrade_screen_restore_status_body">If you own an upgrade that isn\'t shown here, restore your purchase.</string>
<string name="upgrade_screen_owned_hero_title">You have CAPod Pro!</string>
<string name="upgrade_screen_owned_hero_sub_body">Unlocked by your subscription. Thank you for supporting CAPod!</string>
<string name="upgrade_screen_owned_hero_iap_body">Unlocked by your one-time purchase. Thank you for supporting CAPod!</string>
<string name="upgrade_screen_owned_sub_title">Yearly subscription</string>
<string name="upgrade_screen_owned_sub_renewing_body">Your subscription is active and set to renew. Billing is managed by Google Play.</string>
<string name="upgrade_screen_owned_sub_not_renewing_body">Your subscription is active, but not set to renew. Pro stays available until the current period ends.</string>
<string name="upgrade_screen_owned_iap_title">One-time purchase</string>
<string name="upgrade_screen_owned_iap_body">Yours forever. No renewals, no expiry.</string>
<string name="upgrade_screen_owned_both_renewing_warning">You own the one-time purchase, but your subscription is still set to renew. Cancel it in Google Play to avoid paying twice.</string>
<string name="upgrade_screen_manage_subscription_action">Manage subscription</string>
<string name="upgrade_screen_iap_offer_title">Switch to the one-time purchase</string>
<string name="upgrade_screen_owned_iap_locked_note">Available once your subscription is no longer set to renew. Cancel it in Google Play to switch.</string>
<string name="upgrade_screen_owned_iap_purchase_note">This is a separate purchase — it does not cancel or refund your subscription. Use the same Google account.</string>
<string name="upgrade_screen_sub_still_renewing_title">Subscription still active</string>
<string name="upgrade_screen_sub_still_renewing_message">Your subscription is still set to renew. Cancel it in Google Play first, then switch to the one-time purchase. Just cancelled? Give Google Play a moment and try again.</string>
<string name="upgrade_screen_sub_check_failed_title">Subscription check failed</string>
<string name="upgrade_screen_sub_check_failed_message">Couldn\'t check your subscription status with Google Play. To avoid a double purchase, try again in a moment.</string>
<string name="upgrade_screen_grace_title">Confirming your purchase</string>
<string name="upgrade_screen_grace_body_short">Google Play hasn\'t confirmed your purchase yet. Pro is still active — no action needed.</string>
<string name="upgrade_screen_grace_body">Google Play hasn\'t confirmed your purchase for a while. Pro is still active. Make sure you\'re online and signed in with the Google account used for the purchase, then try restoring.</string>
<string name="upgrade_foss_supporter_since">Supporter since %s</string>
<string name="upgrade_foss_supporter_thanks">Thank you for supporting CAPod\'s development!</string>
<string name="upgrade_foss_sponsor_again_action">Open sponsor page</string>
<string name="settings_monitor_connected_notification_label">Extra notification</string>
<string name="settings_monitor_connected_notification_description">Shows an extra notification when a device is connected. This lets you hide the permanent \"No devices\" notification by disabling the \"Device status\" channel.</string>
@@ -137,6 +164,10 @@
<string name="settings_category_debug_label">Debug</string>
<string name="settings_general_label">Settings</string>
<string name="settings_general_description">General tweaks that affect the whole app.</string>
<string name="settings_upgrade_status_gplay_label">CAPod Pro</string>
<string name="settings_upgrade_status_gplay_description">Your upgrade and purchase status.</string>
<string name="settings_upgrade_status_foss_label">Sponsor CAPod</string>
<string name="settings_upgrade_status_foss_description">Your supporter status.</string>
<string name="settings_overview_hide_unmatched_label">Hide unmatched devices</string>
<string name="settings_overview_hide_unmatched_description">Don\'t show nearby devices that don\'t match any of your profiles in the overview, e.g. other people\'s AirPods.</string>