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
@@ -1,5 +1,5 @@
export interface PayWallPlugin {
showPayWall(options: {
type: string;
type: 'Pro' | 'AI';
}): Promise<{ success: boolean; type: string }>;
}