feat(ios): upgrade button in setting (#13645)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- Added a Subscription section in Mobile Settings (for signed-in users)
with plan info and an Upgrade button that opens the native paywall.
  - Supports showing “Pro” and “AI” paywalls.
  - Integrated native paywall provider on iOS.

- Style
- Introduced new styling for the subscription card, content, and button.

- Localization
- Added English strings for subscription title, description, and button.

- Chores
- Minor iOS project cleanup and internal wiring to enable the paywall
module.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
EYHN
2025-09-26 14:27:45 +08:00
committed by GitHub
parent 3f9d9fef63
commit 54498df247
14 changed files with 161 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
"it-IT": 100,
"it": 1,
"ja": 100,
"ko": 53,
"ko": 52,
"pl": 100,
"pt-BR": 100,
"ru": 100,

View File

@@ -8306,6 +8306,18 @@ export function useAFFiNEI18N(): {
* `Only current mode`
*/
["com.affine.comment.filter.only-current-mode"](): string;
/**
* `Unlock more features`
*/
["com.affine.payment.subscription.title"](): string;
/**
* `The universal editor that lets you work, play, present or create just about anything.`
*/
["com.affine.payment.subscription.description"](): string;
/**
* `Upgrade`
*/
["com.affine.payment.subscription.button"](): string;
/**
* `Reply`
*/

View File

@@ -2084,6 +2084,9 @@
"com.affine.comment.filter.show-resolved": "Show resolved comments",
"com.affine.comment.filter.only-my-replies": "Only my replies and mentions",
"com.affine.comment.filter.only-current-mode": "Only current mode",
"com.affine.payment.subscription.title": "Unlock more features",
"com.affine.payment.subscription.description": "The universal editor that lets you work, play, present or create just about anything.",
"com.affine.payment.subscription.button": "Upgrade",
"com.affine.comment.reply": "Reply",
"com.affine.comment.copy-link": "Copy link",
"com.affine.context-menu.copy": "Copy",