[2026-07-resubmission] Add guest browsing flow with App Attest session for App Review resubmission

Adds a pre-login public store locator (guest session via DeviceCheck/App
Attest, keychain-backed token storage) so the app no longer forces sign-in
before showing any content, plus updated support URL metadata.
This commit is contained in:
Daniel Arantes Loverde
2026-07-30 11:35:25 -03:00
parent 3e93196b92
commit 017bd7168f
21 changed files with 1140 additions and 136 deletions

View File

@@ -4,6 +4,7 @@ import SwiftUI
struct CartView: View {
@Binding var appState: AppState
@Binding var selectedTab: MainTab
@Binding var root: RootFlow
@State var openCheckout = false
@State var couponCode = ""
@State var appliedCouponCode: String? = nil
@@ -148,6 +149,10 @@ struct CartView: View {
summaryRow(title: "Total", value: formatCurrency(totalValue), highlighted: true)
Button {
guard appState.session.isAuthenticated else {
root = .auth
return
}
openCheckout = true
} label: {
HStack(spacing: 10) {