premium: enlaces a privacidad y terminos (EULA) en los flujos de compra

Guideline 3.1.2(c): Apple rechazo la 2.0.5 (77) por no tener enlaces
funcionales a la politica de privacidad y los terminos de uso dentro
del paywall. Anadidos en PremiumView y en el paywall del onboarding
(mealmood.app/privacy.html y terms.html), y ambos enlaces al final de
la descripcion del App Store en los 6 idiomas.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013H6bXqGX1ygwib1Dm3n3UG
This commit is contained in:
alexandrev-tibco
2026-09-07 08:04:39 +02:00
parent 62c5febcbf
commit 0b57812a6e
14 changed files with 70 additions and 7 deletions
@@ -60,6 +60,22 @@ struct PaywallStepView: View {
.foregroundColor(.mealMoodTextSecondary)
}
.accessibilityIdentifier("onboarding_cta_paywall_skip")
// Required by guideline 3.1.2(c) in every purchase flow.
HStack(spacing: 16) {
Link(destination: URL(string: "https://mealmood.app/privacy.html")!) {
Text("premium_privacy_link")
.font(.mealMoodCaption)
.underline()
.foregroundColor(.mealMoodTextSecondary)
}
Link(destination: URL(string: "https://mealmood.app/terms.html")!) {
Text("premium_terms_link")
.font(.mealMoodCaption)
.underline()
.foregroundColor(.mealMoodTextSecondary)
}
}
}
.padding(.horizontal, 24)
.padding(.bottom, 24)