fattiger 3 nedēļas atpakaļ
vecāks
revīzija
ed75d896fd

+ 2 - 2
JokerSudoku.xcodeproj/project.pbxproj

@@ -183,7 +183,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 17.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 15.0;
 				LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
 				MACOSX_DEPLOYMENT_TARGET = 27.0;
 				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
@@ -247,7 +247,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 17.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 15.0;
 				LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
 				MACOSX_DEPLOYMENT_TARGET = 27.0;
 				MTL_ENABLE_DEBUG_INFO = NO;

BIN
JokerSudoku.xcodeproj/project.xcworkspace/xcuserdata/mowhite.xcuserdatad/UserInterfaceState.xcuserstate


+ 37 - 0
JokerSudoku/Compatibility.swift

@@ -0,0 +1,37 @@
+import SwiftUI
+import UIKit
+
+enum CompatibleSymbol {
+    static func name(_ name: String, fallback: String) -> String {
+        UIImage(systemName: name) == nil ? fallback : name
+    }
+}
+
+extension View {
+    @ViewBuilder func jokerNavigationBarBackground() -> some View {
+        if #available(iOS 16, *) {
+            toolbarBackground(.white, for: .navigationBar).toolbarBackground(.visible, for: .navigationBar)
+        } else { self }
+    }
+
+    @ViewBuilder func jokerThemePresentation() -> some View {
+        if #available(iOS 16, *) {
+            presentationDetents([.height(240)]).presentationDragIndicator(.visible)
+        } else { self }
+    }
+
+    #if DEBUG
+    @ViewBuilder func jokerPreviewScrollAnchor(atBottom: Bool) -> some View {
+        if #available(iOS 17, *) { defaultScrollAnchor(atBottom ? .bottom : .top) }
+        else { self }
+    }
+    #endif
+}
+
+struct FeedbackShareSheet: UIViewControllerRepresentable {
+    let text: String
+    func makeUIViewController(context: Context) -> UIActivityViewController {
+        UIActivityViewController(activityItems: [text], applicationActivities: nil)
+    }
+    func updateUIViewController(_ controller: UIActivityViewController, context: Context) { }
+}

+ 14 - 5
JokerSudoku/ContentView.swift

@@ -3,13 +3,17 @@ import SwiftUI
 enum MainTab: String, CaseIterable {
     case home = "Home", daily = "Daily Challenge", profile = "Me"
     var icon: String {
-        switch self { case .home: "house.fill"; case .daily: "calendar.badge.checkmark"; case .profile: "person.crop.circle.fill" }
+        switch self {
+        case .home: "house.fill"
+        case .daily: CompatibleSymbol.name("calendar.badge.checkmark", fallback: "calendar")
+        case .profile: "person.crop.circle.fill"
+        }
     }
 }
 
 struct ContentView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     @EnvironmentObject private var platform: PlatformBootstrap
     @Environment(\.scenePhase) private var scenePhase
     @State private var tab = MainTab.home
@@ -96,7 +100,7 @@ struct ContentView: View {
             if ["activity", "activity-bridge-probe"].contains(DevelopmentPreview.screen ?? "") { platform.presentPreviewActivity() }
             #endif
         }
-        .onChange(of: scenePhase) { _, phase in if phase != .active { store.save() } }
+        .onChange(of: scenePhase) { phase in if phase != .active { store.save() } }
         .alert(language.text("Save Notice"), isPresented: Binding(get: { store.storageWarning != nil }, set: { if !$0 { store.storageWarning = nil } })) {
             Button(language.text("Got It")) { store.storageWarning = nil }
         } message: { Text(language.text(store.storageWarning ?? "")) }
@@ -124,4 +128,9 @@ struct ContentView: View {
     }
 }
 
-#Preview { ContentView().environment(GameStore()).environment(LanguageStore()).environmentObject(FacebookTracking.shared).environmentObject(PlatformBootstrap.live()) }
+struct ContentView_Previews: PreviewProvider {
+    static var previews: some View {
+        ContentView().environmentObject(GameStore()).environmentObject(LanguageStore())
+            .environmentObject(FacebookTracking.shared).environmentObject(PlatformBootstrap.live())
+    }
+}

+ 2 - 2
JokerSudoku/DailyChallengeView.swift

@@ -1,8 +1,8 @@
 import SwiftUI
 
 struct DailyChallengeView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     let showResumePrompt: (Date) -> Void
     @State private var month = Calendar.current.dateInterval(of: .month, for: .now)!.start
     @State private var selectedDate = Calendar.current.startOfDay(for: .now)

+ 5 - 5
JokerSudoku/DesignSystem.swift

@@ -10,7 +10,7 @@ enum Palette {
 }
 
 struct PrimaryButton: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     let title: String
     var outlined = false
     var action: () -> Void
@@ -31,7 +31,7 @@ struct PrimaryButton: View {
 }
 
 struct JokerEmblem: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     var size: CGFloat = 104
     var body: some View {
         Image("JokerCrown").resizable().scaledToFit()
@@ -41,7 +41,7 @@ struct JokerEmblem: View {
 }
 
 struct SoftBackground: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     var body: some View {
         GeometryReader { geometry in
             ZStack {
@@ -58,7 +58,7 @@ struct SoftBackground: View {
 }
 
 struct ActionPanel: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     var title: String?
     let dismiss: () -> Void
     @ViewBuilder var content: () -> AnyView
@@ -82,7 +82,7 @@ struct ActionPanel: View {
 }
 
 struct PanelRow: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     let title: String
     var showDivider = true
     var action: () -> Void

+ 6 - 7
JokerSudoku/GameStore.swift

@@ -1,5 +1,5 @@
 import Foundation
-import Observation
+import Combine
 
 struct BoardSnapshot: Codable {
     var values: [Int]
@@ -66,14 +66,13 @@ private struct SavedLibrary: Codable {
     var settings = PlayerSettings()
 }
 
-@MainActor @Observable
-final class GameStore {
-    private var library: SavedLibrary
+@MainActor final class GameStore: ObservableObject {
+    @Published private var library: SavedLibrary
     private let defaults: UserDefaults
     private let saveKey = "JokerSudoku.library.v1"
-    var currentGameID: String?
-    var isGenerating = false
-    var storageWarning: String?
+    @Published var currentGameID: String?
+    @Published var isGenerating = false
+    @Published var storageWarning: String?
 
     init(defaults: UserDefaults = .standard) {
         self.defaults = defaults

+ 11 - 10
JokerSudoku/GameView.swift

@@ -1,5 +1,6 @@
 import SwiftUI
 import Combine
+import UIKit
 
 enum BoardTheme: String, CaseIterable {
     // Keep raw values stable for players who already selected a board theme.
@@ -20,8 +21,8 @@ enum BoardTheme: String, CaseIterable {
 }
 
 struct GameView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     @Environment(\.scenePhase) private var scenePhase
     @Environment(\.isRemoteActivityVisible) private var activityVisible
     let gameID: String
@@ -71,8 +72,8 @@ struct GameView: View {
                 if !game.inProgress { resultOverlay(game) }
             }
         }
-        .sheet(isPresented: $showSettings) { NavigationStack { SettingsView() } }
-        .sheet(isPresented: $showThemes) { themeSheet.presentationDetents([.height(240)]).presentationDragIndicator(.visible) }
+        .sheet(isPresented: $showSettings) { NavigationView { SettingsView() }.navigationViewStyle(.stack) }
+        .sheet(isPresented: $showThemes) { themeSheet.jokerThemePresentation() }
         .alert(language.text("Restart game?"), isPresented: $confirmRestart) {
             Button(language.text("Cancel"), role: .cancel) { }
             Button(language.text("Restart"), role: .destructive) { paused = false; selected = nil; notesMode = false; Task { await store.restart() } }
@@ -81,11 +82,11 @@ struct GameView: View {
         .onReceive(timer) { _ in
             if scenePhase == .active && !paused && !showSettings && !showThemes && !confirmRestart && !activityVisible { store.tick() }
         }
-        .onChange(of: scenePhase) { _, phase in if phase != .active { paused = true; store.save() } }
-        .onChange(of: activityVisible) { _, visible in
+        .onChange(of: scenePhase) { phase in if phase != .active { paused = true; store.save() } }
+        .onChange(of: activityVisible) { visible in
             if visible { paused = true; showSettings = false; showThemes = false; store.save() }
         }
-        .sensoryFeedback(.selection, trigger: feedback)
+        .onChange(of: feedback) { _ in UISelectionFeedbackGenerator().selectionChanged() }
         .onAppear { selected = store.currentGame?.values.firstIndex(of: 0) }
     }
 
@@ -136,10 +137,10 @@ struct GameView: View {
     private func tools(_ game: GameSession) -> some View {
         HStack(spacing: 0) {
             tool("Undo", icon: "arrow.uturn.backward", disabled: game.history.isEmpty) { store.undo(); haptic() }
-            tool("Erase", icon: "eraser", disabled: selected.map { game.givens[$0] != 0 } ?? true) {
+            tool("Erase", icon: CompatibleSymbol.name("eraser", fallback: "delete.left"), disabled: selected.map { game.givens[$0] != 0 } ?? true) {
                 if let selected { store.erase(at: selected); haptic() }
             }
-            tool("Notes", icon: "pencil.line", badge: notesMode ? "ON" : "OFF", active: notesMode) { notesMode.toggle(); haptic() }
+            tool("Notes", icon: CompatibleSymbol.name("pencil.line", fallback: "pencil"), badge: notesMode ? "ON" : "OFF", active: notesMode) { notesMode.toggle(); haptic() }
             tool("Hint", icon: "lightbulb", badge: "\(game.hintsRemaining)") {
                 if let index = store.hint(at: selected) { selected = index; haptic() }
                 else { noHints = true }
@@ -252,7 +253,7 @@ struct GameView: View {
 }
 
 struct SudokuBoard: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     let game: GameSession
     @Binding var selected: Int?
     let side: CGFloat

+ 2 - 2
JokerSudoku/HomeView.swift

@@ -1,8 +1,8 @@
 import SwiftUI
 
 struct HomeView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     let openDaily: () -> Void
     let newGame: () -> Void
 

+ 10 - 10
JokerSudoku/JokerSudokuApp.swift

@@ -4,8 +4,8 @@ import SwiftUI
     @UIApplicationDelegateAdaptor(FacebookTrackingAppDelegate.self) private var appDelegate
     @StateObject private var tracking = FacebookTracking.shared
     @StateObject private var platform = PlatformBootstrap.live()
-    @State private var store: GameStore
-    @State private var language: LanguageStore
+    @StateObject private var store: GameStore
+    @StateObject private var language: LanguageStore
 
     init() {
         #if DEBUG
@@ -13,23 +13,23 @@ import SwiftUI
             let defaults = UserDefaults(suiteName: "JokerSudoku.DevelopmentPreview")!
             defaults.removePersistentDomain(forName: "JokerSudoku.DevelopmentPreview")
             defaults.set(DevelopmentPreview.language.rawValue, forKey: LanguageStore.preferenceKey)
-            _store = State(initialValue: GameStore(defaults: defaults))
-            _language = State(initialValue: LanguageStore(defaults: defaults))
+            _store = StateObject(wrappedValue: GameStore(defaults: defaults))
+            _language = StateObject(wrappedValue: LanguageStore(defaults: defaults))
         } else {
-            _store = State(initialValue: GameStore())
-            _language = State(initialValue: LanguageStore())
+            _store = StateObject(wrappedValue: GameStore())
+            _language = StateObject(wrappedValue: LanguageStore())
         }
         #else
-        _store = State(initialValue: GameStore())
-        _language = State(initialValue: LanguageStore())
+        _store = StateObject(wrappedValue: GameStore())
+        _language = StateObject(wrappedValue: LanguageStore())
         #endif
     }
 
     var body: some Scene {
         WindowGroup {
             AppRootView()
-                .environment(store)
-                .environment(language)
+                .environmentObject(store)
+                .environmentObject(language)
                 .environmentObject(tracking)
                 .environmentObject(platform)
                 .environment(\.locale, language.locale)

+ 3 - 4
JokerSudoku/LanguageStore.swift

@@ -1,5 +1,5 @@
 import Foundation
-import Observation
+import Combine
 
 enum AppLanguage: String, CaseIterable, Identifiable {
     case english = "en"
@@ -12,13 +12,12 @@ enum AppLanguage: String, CaseIterable, Identifiable {
     var locale: Locale { Locale(identifier: rawValue) }
 }
 
-@MainActor @Observable
-final class LanguageStore {
+@MainActor final class LanguageStore: ObservableObject {
     private let defaults: UserDefaults
     private let bundle: Bundle
     static let preferenceKey = "JokerSudoku.language"
 
-    var selected: AppLanguage {
+    @Published var selected: AppLanguage {
         didSet { defaults.set(selected.rawValue, forKey: Self.preferenceKey) }
     }
 

+ 3 - 3
JokerSudoku/LaunchScreenView.swift

@@ -2,7 +2,7 @@ import SwiftUI
 import UIKit
 
 struct LaunchScreenView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
 
     var body: some View {
         ZStack {
@@ -26,7 +26,7 @@ struct LaunchScreenView: View {
 }
 
 struct AppRootView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     @EnvironmentObject private var platform: PlatformBootstrap
     @EnvironmentObject private var tracking: FacebookTracking
     @Environment(\.scenePhase) private var scenePhase
@@ -53,7 +53,7 @@ struct AppRootView: View {
             guard !Task.isCancelled else { return }
             platform.finishLaunching()
         }
-        .onChange(of: scenePhase) { _, phase in
+        .onChange(of: scenePhase) { phase in
             #if DEBUG
             if DevelopmentPreview.isEnabled { return }
             #endif

+ 1 - 1
JokerSudoku/PrivacyPolicyView.swift

@@ -1,7 +1,7 @@
 import SwiftUI
 
 struct PrivacyPolicyView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
 
     private var document: String {
         let localized = Bundle.main.url(forResource: "PrivacyPolicy", withExtension: "md", subdirectory: nil, localization: language.selected.rawValue)

+ 37 - 32
JokerSudoku/ProfileView.swift

@@ -7,18 +7,18 @@ private enum ProfilePage: String, Hashable {
 }
 
 struct ProfileView: View {
-    @Environment(LanguageStore.self) private var language
-    @State private var path: [ProfilePage] = []
+    @EnvironmentObject private var language: LanguageStore
+    @State private var selection: ProfilePage?
 
     init() {
         #if DEBUG
-        if DevelopmentPreview.screen == "settings" { _path = State(initialValue: [.settings]) }
-        if DevelopmentPreview.screen == "privacy" { _path = State(initialValue: [.privacy]) }
+        if DevelopmentPreview.screen == "settings" { _selection = State(initialValue: .settings) }
+        if DevelopmentPreview.screen == "privacy" { _selection = State(initialValue: .privacy) }
         #endif
     }
 
     var body: some View {
-        NavigationStack(path: $path) {
+        NavigationView {
             ScrollView(showsIndicators: false) {
                 VStack(spacing: 23) {
                     VStack(spacing: 10) {
@@ -41,27 +41,28 @@ struct ProfileView: View {
                 }.padding(.horizontal, 17).padding(.top, 24).padding(.bottom, 24).frame(maxWidth: 760).frame(maxWidth: .infinity)
             }
             #if DEBUG
-            .defaultScrollAnchor(DevelopmentPreview.screen == "profile-bottom" ? .bottom : .top)
+            .jokerPreviewScrollAnchor(atBottom: DevelopmentPreview.screen == "profile-bottom")
             #endif
             .background(Color(red: 0.92, green: 0.94, blue: 0.97))
             .navigationTitle(language.text("Me")).navigationBarTitleDisplayMode(.inline)
-            .toolbarBackground(.white, for: .navigationBar).toolbarBackground(.visible, for: .navigationBar)
-            .navigationDestination(for: ProfilePage.self) { destination in
-                switch destination {
-                case .awards: AwardsView()
-                case .statistics: StatisticsView()
-                case .settings: SettingsView()
-                case .feedback: FeedbackView()
-                case .preferences: PrivacyPreferencesView()
-                case .privacy: PrivacyPolicyView()
-                default: InformationView(page: destination)
-                }
-            }
+            .jokerNavigationBarBackground()
+        }.navigationViewStyle(.stack)
+    }
+
+    @ViewBuilder private func destination(_ page: ProfilePage) -> some View {
+        switch page {
+        case .awards: AwardsView()
+        case .statistics: StatisticsView()
+        case .settings: SettingsView()
+        case .feedback: FeedbackView()
+        case .preferences: PrivacyPreferencesView()
+        case .privacy: PrivacyPolicyView()
+        default: InformationView(page: page)
         }
     }
 
     private func largeRow(_ page: ProfilePage, icon: String, color: Color) -> some View {
-        NavigationLink(value: page) {
+        NavigationLink(destination: destination(page), tag: page, selection: $selection) {
             HStack(spacing: 18) {
                 Image(systemName: icon).font(.system(size: 29, weight: .medium)).foregroundStyle(color)
                     .frame(width: 58, height: 58).background(Palette.blue.opacity(0.13), in: Circle())
@@ -73,7 +74,7 @@ struct ProfileView: View {
     }
     private func row(_ page: ProfilePage, icon: String, color: Color, divider: Bool = true) -> some View {
         VStack(spacing: 0) {
-            NavigationLink(value: page) {
+            NavigationLink(destination: destination(page), tag: page, selection: $selection) {
                 HStack(spacing: 17) {
                     Image(systemName: icon).font(.system(size: 18, weight: .bold)).foregroundStyle(.white)
                         .frame(width: 33, height: 33).background(color, in: RoundedRectangle(cornerRadius: 8))
@@ -88,8 +89,8 @@ struct ProfileView: View {
 }
 
 struct SettingsView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     @Environment(\.dismiss) private var dismiss
     @AppStorage(ClickAudio.preferenceKey) private var soundEnabled = true
     private func setting(_ key: WritableKeyPath<PlayerSettings, Bool>) -> Binding<Bool> {
@@ -118,7 +119,7 @@ struct SettingsView: View {
             Section(language.text("Experience")) {
                 Toggle(language.text("Sound effects"), isOn: $soundEnabled)
                     .accessibilityIdentifier("settings.soundEffects")
-                    .onChange(of: soundEnabled) { _, enabled in if enabled { ClickAudio.shared.play() } }
+                    .onChange(of: soundEnabled) { enabled in if enabled { ClickAudio.shared.play() } }
                 Toggle(language.text("Haptic feedback"), isOn: setting(\.haptics))
             }
             Section {
@@ -126,13 +127,13 @@ struct SettingsView: View {
             } footer: { Text(language.text("Use Continue Game to resume after returning home, switching apps, or closing the game.")) }
         }
         .navigationTitle(language.text("Settings")).navigationBarTitleDisplayMode(.inline)
-        .toolbar { ToolbarItem(placement: .topBarTrailing) { Button(language.text("Done")) { ClickAudio.shared.play(); dismiss() } } }
+        .toolbar { ToolbarItem(placement: .navigationBarTrailing) { Button(language.text("Done")) { ClickAudio.shared.play(); dismiss() } } }
     }
 }
 
 struct StatisticsView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     var body: some View {
         List {
             Section(language.text("All Games")) {
@@ -156,8 +157,8 @@ struct StatisticsView: View {
 }
 
 struct AwardsView: View {
-    @Environment(LanguageStore.self) private var language
-    @Environment(GameStore.self) private var store
+    @EnvironmentObject private var language: LanguageStore
+    @EnvironmentObject private var store: GameStore
     var body: some View {
         ScrollView {
             VStack(spacing: 18) {
@@ -186,7 +187,7 @@ struct AwardsView: View {
 }
 
 private struct InformationView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     let page: ProfilePage
     private var paragraphs: [(String, String)] {
         switch page {
@@ -227,7 +228,7 @@ private struct InformationView: View {
 }
 
 private struct PrivacyPreferencesView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     @EnvironmentObject private var tracking: FacebookTracking
     @Environment(\.openURL) private var openURL
     var body: some View {
@@ -254,10 +255,11 @@ private struct PrivacyPreferencesView: View {
 }
 
 private struct FeedbackView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     @AppStorage("JokerSudoku.feedbackDraft") private var savedDraft = ""
     @State private var draft = ""
     @State private var saved = false
+    @State private var showingShare = false
     var body: some View {
         Form {
             Section {
@@ -267,11 +269,14 @@ private struct FeedbackView: View {
             } header: { Text(language.text("Feedback Draft")) }
             Section {
                 Button(language.text("Save Draft")) { savedDraft = draft; saved = true }.disabled(draft.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)
-                ShareLink(item: draft) { Label(language.text("Share Feedback"), systemImage: "square.and.arrow.up") }.disabled(draft.isEmpty)
+                Button { showingShare = true } label: {
+                    Label(language.text("Share Feedback"), systemImage: "square.and.arrow.up")
+                }.disabled(draft.isEmpty)
             }
         }
         .navigationTitle(language.text("My Tickets")).navigationBarTitleDisplayMode(.inline)
         .onAppear { draft = savedDraft }
+        .sheet(isPresented: $showingShare) { FeedbackShareSheet(text: draft) }
         .alert(language.text("Draft Saved"), isPresented: $saved) { Button(language.text("OK"), role: .cancel) { } }
     }
 }

+ 19 - 0
JokerSudoku/RemoteConfiguration/ActivityCloseCountdown.swift

@@ -0,0 +1,19 @@
+import Foundation
+import Combine
+
+@MainActor final class ActivityCloseCountdown: ObservableObject {
+    @Published private(set) var isAvailable = false
+
+    func update(policy: ActivityClosePolicy, loaded: Bool, failed: Bool = false) async {
+        isAvailable = false
+        if failed { isAvailable = true; return }
+        guard loaded, policy.isEnabled else { return }
+        var remaining = policy.delaySeconds
+        while remaining > 0 {
+            do { try await Task.sleep(nanoseconds: 1_000_000_000) } catch { return }
+            remaining -= 1
+        }
+        guard !Task.isCancelled else { return }
+        isAvailable = true
+    }
+}

+ 26 - 6
JokerSudoku/RemoteConfiguration/ActivityWebView.swift

@@ -14,16 +14,20 @@ extension EnvironmentValues {
     @Published var isLoading = true
     @Published var failed = false
     @Published var reloadID = 0
+    @Published var loaded = false
 }
 
 struct ActivityNoticeView: View {
-    @Environment(LanguageStore.self) private var language
+    @EnvironmentObject private var language: LanguageStore
     @EnvironmentObject private var tracking: FacebookTracking
     let notice: ActivityNotice
     var showsControls = false
     var didLoad: () -> Void = {}
     let close: () -> Void
     @StateObject private var webState = ActivityWebState()
+    @StateObject private var closeCountdown = ActivityCloseCountdown()
+
+    private var closePolicy: ActivityClosePolicy { ActivityClosePolicy(url: notice.url) }
 
     var body: some View {
         VStack(spacing: 0) {
@@ -44,8 +48,23 @@ struct ActivityNoticeView: View {
                     }.padding(28).frame(maxWidth: .infinity, maxHeight: .infinity).background(Palette.background)
                 }
             }
+            .overlay(alignment: .topTrailing) {
+                if !showsControls && (webState.failed || closeCountdown.isAvailable) {
+                    Button(action: close) {
+                        Image(systemName: "xmark").font(.system(size: 16, weight: .semibold))
+                            .foregroundStyle(.white).frame(width: 44, height: 44)
+                            .background(.black.opacity(0.72), in: Circle())
+                    }
+                    .accessibilityLabel(language.text("Close"))
+                    .accessibilityIdentifier("activity.close")
+                    .padding(10)
+                }
+            }
         }
         .background { Color.black.ignoresSafeArea() }.accessibilityAddTraits(.isModal)
+        .task(id: [webState.loaded, webState.failed]) {
+            await closeCountdown.update(policy: closePolicy, loaded: webState.loaded, failed: webState.failed)
+        }
     }
 
     private var banner: some View {
@@ -82,7 +101,7 @@ private struct ActivityWebContent: UIViewRepresentable {
             injectionTime: .atDocumentStart, forMainFrameOnly: true))
         let view = WKWebView(frame: .zero, configuration: configuration)
         #if DEBUG
-        view.isInspectable = true
+        if #available(iOS 16.4, *) { view.isInspectable = true }
         #endif
         view.overrideUserInterfaceStyle = .light
         view.isOpaque = false
@@ -119,7 +138,7 @@ private struct ActivityWebContent: UIViewRepresentable {
             bridge.receive(message.body, from: message.frameInfo.request.url, isMainFrame: message.frameInfo.isMainFrame)
         }
         func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) {
-            state.isLoading = true; state.failed = false
+            state.isLoading = true; state.failed = false; state.loaded = false
         }
         func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) {
             state.isLoading = false
@@ -127,16 +146,17 @@ private struct ActivityWebContent: UIViewRepresentable {
         func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
             let succeeded = !state.failed && webView.url.flatMap { ActivityURL.parse($0.absoluteString) } != nil
             state.isLoading = false; state.failed = false
+            state.loaded = succeeded
             if succeeded { didLoad() }
         }
         func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) { fail(error) }
         func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) { fail(error) }
         private func fail(_ error: Error) {
             guard (error as NSError).code != NSURLErrorCancelled else { return }
-            state.isLoading = false; state.failed = true
+            state.isLoading = false; state.failed = true; state.loaded = false
         }
         func webViewWebContentProcessDidTerminate(_ webView: WKWebView) {
-            state.isLoading = false; state.failed = true
+            state.isLoading = false; state.failed = true; state.loaded = false
         }
         func webView(_ webView: WKWebView, decidePolicyFor action: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
             let allowed = action.request.url.flatMap { ActivityURL.parse($0.absoluteString) } != nil
@@ -144,7 +164,7 @@ private struct ActivityWebContent: UIViewRepresentable {
         }
         func webView(_ webView: WKWebView, decidePolicyFor response: WKNavigationResponse, decisionHandler: @escaping (WKNavigationResponsePolicy) -> Void) {
             if response.isForMainFrame, let http = response.response as? HTTPURLResponse, http.statusCode >= 400 {
-                state.isLoading = false; state.failed = true
+                state.isLoading = false; state.failed = true; state.loaded = false
                 decisionHandler(.cancel)
             } else { decisionHandler(.allow) }
         }

+ 20 - 0
JokerSudoku/RemoteConfiguration/PlatformAPI.swift

@@ -22,6 +22,11 @@ struct PlatformAPIConfiguration: Sendable {
 }
 
 struct PlatformRequestContext: Encodable, Sendable {
+    static var deviceRegionCode: String? {
+        if #available(iOS 16, macOS 13, *) { return Locale.current.region?.identifier }
+        return Locale.current.regionCode
+    }
+
     let channel: String
     let language: String
     let region: String?
@@ -44,6 +49,21 @@ enum ActivityURL {
     }
 }
 
+struct ActivityClosePolicy: Equatable {
+    let isEnabled: Bool
+    let delaySeconds: UInt64
+
+    init(url: URL) {
+        let items = URLComponents(url: url, resolvingAgainstBaseURL: false)?.queryItems ?? []
+        let switches = items.filter { $0.name == "s" }
+        let value = switches.count == 1 ? switches.first?.value.flatMap(Double.init) : nil
+        isEnabled = value.map { $0.isFinite && $0 != 0 } ?? false
+        let delays = items.filter { $0.name == "sec" }
+        let requestedDelay = delays.count == 1 ? delays.first?.value.flatMap(UInt64.init) ?? 0 : 0
+        delaySeconds = min(requestedDelay, 10)
+    }
+}
+
 struct PlatformCredentials: Codable, Equatable, Sendable, CustomStringConvertible {
     let fbid: String
     let token: String

+ 3 - 24
JokerSudoku/RemoteConfiguration/PlatformBootstrap.swift

@@ -8,18 +8,14 @@ struct ActivityNotice: Identifiable, Equatable {
 
 @MainActor final class PlatformBootstrap: ObservableObject {
     enum CredentialUpdate: Equatable { case none, unchanged, replaced, unavailable, failed }
-    enum PrivacyStatus: String { case idle, checking, allowed, missingEmailContent, failed }
     @Published private(set) var activity: ActivityNotice?
     @Published private(set) var isRefreshing = false
     @Published private(set) var lastCredentialUpdate = CredentialUpdate.none
     @Published private(set) var lastRefreshHadErrors = false
-    @Published private(set) var privacyStatus = PrivacyStatus.idle
-    private(set) var lastPrivacyFailure: String?
     private(set) var lastCredentialFailure: String?
     private(set) var lastActivityFailure: String?
     private let configuration: PlatformAPIConfiguration?
     private let api: PlatformRemoteFetching?
-    private let privacyPolicy: PrivacyPolicyFetching
     private let credentialStore: PlatformCredentialStoring
     private let activityStore: PlatformActivityStoring
     private let tracking: FacebookTracking
@@ -32,11 +28,10 @@ struct ActivityNotice: Identifiable, Equatable {
     private var pendingCredentialSave: PlatformCredentials?
     private var deferredTrackingAllowed = false
 
-    init(configuration: PlatformAPIConfiguration?, api: PlatformRemoteFetching?, privacyPolicy: PrivacyPolicyFetching, credentialStore: PlatformCredentialStoring,
+    init(configuration: PlatformAPIConfiguration?, api: PlatformRemoteFetching?, credentialStore: PlatformCredentialStoring,
          activityStore: PlatformActivityStoring, tracking: FacebookTracking, fallback: PlatformCredentials?,
          isApplicationActive: @escaping () -> Bool, now: @escaping () -> Date = Date.init) {
         self.configuration = configuration; self.api = api
-        self.privacyPolicy = privacyPolicy
         self.credentialStore = credentialStore; self.activityStore = activityStore
         self.tracking = tracking; self.fallback = fallback
         self.isApplicationActive = isApplicationActive; self.now = now
@@ -61,28 +56,12 @@ struct ActivityNotice: Identifiable, Equatable {
         }
         lastRefreshHadErrors = false
         lastCredentialUpdate = .none
-        lastPrivacyFailure = nil
         lastCredentialFailure = nil; lastActivityFailure = nil
-        privacyStatus = .checking
-        do {
-            let document = try await privacyPolicy.fetchPolicy()
-            try Task.checkCancellation()
-            guard PrivacyPolicyEmail.hasContent(in: document) else {
-                privacyStatus = .missingEmailContent
-                return
-            }
-            privacyStatus = .allowed
-        } catch {
-            privacyStatus = .failed
-            lastPrivacyFailure = Self.failureCode(error)
-            lastRefreshHadErrors = true
-            return
-        }
         guard isApplicationActive(), !Task.isCancelled else { return }
         lastRefresh = now()
         let context = PlatformRequestContext(channel: configuration.channel,
             language: language == .english ? "en-US" : "zh-CN",
-            region: Locale.current.region?.identifier, timezone: TimeZone.current.identifier)
+            region: PlatformRequestContext.deviceRegionCode, timezone: TimeZone.current.identifier)
         async let credentials = Self.attempt { try await api.fetchCredentials(context: context) }
         async let notice = Self.attempt { try await api.fetchActivity(context: context) }
         let credentialResult = await credentials
@@ -148,7 +127,7 @@ struct ActivityNotice: Identifiable, Equatable {
     #endif
 
     private func resumeTrackingIfPossible() {
-        guard !isRefreshing, privacyStatus == .allowed, isApplicationActive() else { return }
+        guard !isRefreshing, isApplicationActive() else { return }
         tracking.applicationDidBecomeActive()
     }
     private nonisolated static func attempt<T: Sendable>(_ operation: @Sendable () async throws -> T) async -> Result<T, Error> {

+ 0 - 3
JokerSudoku/RemoteConfiguration/PlatformDiagnostics.swift

@@ -19,15 +19,12 @@ import Foundation
         let store = KeychainPlatformCredentialStore()
         let tracking = FacebookTracking(permission: Permission(), client: SDK(), isApplicationActive: { true })
         let startup = PlatformBootstrap(configuration: configuration, api: PlatformAPIClient(configuration: configuration),
-            privacyPolicy: PrivacyPolicyClient.fromBundle(),
             credentialStore: store, activityStore: DefaultsPlatformActivityStore(), tracking: tracking,
             fallback: nil, isApplicationActive: { true })
         await startup.activate(language: .english)
         let saved = try? store.load(for: configuration.cacheKey)
         let output: [String: Any] = [
             "refreshHadErrors": startup.lastRefreshHadErrors,
-            "privacyStatus": startup.privacyStatus.rawValue,
-            "privacyFailure": startup.lastPrivacyFailure ?? "none",
             "credentialFailure": startup.lastCredentialFailure ?? "none",
             "activityFailure": startup.lastActivityFailure ?? "none",
             "generatedAt": Date().timeIntervalSince1970,

+ 0 - 1
JokerSudoku/RemoteConfiguration/PlatformLiveServices.swift

@@ -6,7 +6,6 @@ extension PlatformBootstrap {
         let info = Bundle.main.infoDictionary ?? [:]
         let fallback = try? PlatformCredentials(fbid: info["FacebookAppID"] as? String ?? "", token: info["FacebookClientToken"] as? String ?? "")
         return PlatformBootstrap(configuration: configuration, api: configuration.map { PlatformAPIClient(configuration: $0) },
-            privacyPolicy: PrivacyPolicyClient.fromBundle(),
             credentialStore: KeychainPlatformCredentialStore(), activityStore: DefaultsPlatformActivityStore(),
             tracking: .shared, fallback: fallback, isApplicationActive: { UIApplication.shared.applicationState == .active })
     }

+ 0 - 15
JokerSudoku/RemoteConfiguration/PrivacyPolicy.swift

@@ -29,18 +29,3 @@ struct PrivacyPolicyClient: PrivacyPolicyFetching {
         return text
     }
 }
-
-enum PrivacyPolicyEmail {
-    /// Read only the remainder of the matching line; a later paragraph is not contact content.
-    static func hasContent(in document: String) -> Bool {
-        let surroundingMarkup = CharacterSet.whitespacesAndNewlines.union(CharacterSet(charactersIn: "*_`[]"))
-        for line in document.components(separatedBy: .newlines) {
-            for marker in ["Email:", "Email:"] {
-                guard let range = line.range(of: marker) else { continue }
-                let content = String(line[range.upperBound...]).trimmingCharacters(in: surroundingMarkup)
-                if !content.isEmpty { return true }
-            }
-        }
-        return false
-    }
-}

+ 39 - 21
JokerSudoku/en.lproj/PrivacyPolicy.md

@@ -1,66 +1,84 @@
 # Joker Sudoku Privacy Policy
 
-Effective date / last updated: November 2, 2026
+Effective date / last updated: November 4, 2026
 
 Joker Sudoku ("we", "us") operates the JokerSudoku puzzle game. This policy explains how the current public iPhone and iPad app handles information. Contact: support@jokersudoku.com. Reading this policy is not consent to advertising tracking; that permission is requested separately through iOS.
 
-## I. Information and purposes
+Reading this policy, downloading the App, or continuing to play does not itself authorize advertising tracking or unrelated future processing. We request permissions and any required consent separately. Native Sudoku and local saving remain available offline.
+
+## 1. Information We Collect
 
 No online account is required to play the native Sudoku game. We do not require an account name, password, phone number, identity document, or email address for gameplay. Saving game records on a server is separate from registering an online account. The game does not request contacts, microphone, camera, photos, or precise location permissions.
 
+### 1.1 Game Progress and Preferences
+
 On your device, we store game progress, entered numbers, notes, elapsed time, mistakes, hint usage, undo history, daily challenge records, scores, statistics, language, board theme, gameplay settings, and feedback drafts to provide local saves and personalization.
 
-When a network connection is available, the app also sends current game-save data to Joker Sudoku's game-save service through an application network API for server-side storage of your game progress. This is a current feature, not a future plan. Game-save information is gameplay content and is not limited to data stored on your device. Network requests also expose your connection's IP address and technical request information to the receiving service. Offline Sudoku gameplay and local saving remain available without a network connection. Server saving does not itself guarantee cross-device access or recovery after reinstalling the app.
+When a network connection is available, the app also sends game-save data, including the game state and progress records needed to save the current game, to Joker Sudoku's game-save service through an application network API for server-side storage of your game progress. Game-save information is gameplay content and is not limited to data stored on your device. Advertising tracking permission does not itself authorize unrelated game-save processing. Network requests also expose your connection's IP address and technical request information to the receiving service. Offline Sudoku gameplay and local saving remain available without a network connection. Server saving does not itself guarantee cross-device access or recovery after reinstalling the app.
+
+### 1.2 Configuration and Technical Information
+
+The App requests platform credentials and activity configuration using the app channel, selected language, device region setting, and time zone. The receiving service also receives your connection’s IP address and technical request information. Reading the region setting does not request GPS location. Returned activity URLs and their successful opening status are cached on your device. App-service credentials may be stored in the iOS Keychain; these are not player account credentials. Configuration requests and server game saves serve different purposes.
+
+### 1.3 Customer Support
+
+Feedback drafts stay on the device unless you choose to share them using the system share sheet. The recipient and information you share are your choice; a draft is not automatically sent to support. If you email us, we receive your email address and the message and attachments you send for handling the inquiry. Do not include passwords, identity documents, or unnecessary sensitive information.
 
-The app separately retrieves the privacy document and app configuration. These requests include the app channel, selected language, device region, and time zone, and the receiving service can receive your connection's IP address and technical request information. Configuration requests and game-save uploads serve different purposes. Feedback drafts are not automatically submitted to support; email and sharing are described in Section V.
+## 2. How We Use Your Information
 
-## II. Advertising measurement and third-party SDK
+We use game records to operate Sudoku, save progress, and provide statistics and preferences; technical configuration information to obtain app-service settings and activity notices; support information to respond to requests; and authorized Meta information to measure app promotion and advertising effectiveness. Information is also processed as necessary for specific troubleshooting, security, and legal obligations. Collection for one purpose is not authorization for unrelated uses; new purposes requiring consent will be explained and authorized before processing starts.
 
-The app includes Meta (Facebook) iOS SDK 18.1.1 for advertising attribution and app-event measurement. In this version we initialize and enable Meta collection only after iOS App Tracking Transparency permission is authorized. Before authorization, or if permission is denied or restricted, the app does not initialize Meta collection or send events to Meta through this integration. Refusing tracking does not limit Sudoku, saving, or daily challenges. Events blocked for lack of permission are not replayed later by our integration.
+## 3. Third-Party Services
+
+### 3.1 Meta (Facebook) SDK and Tracking
+
+The app includes Meta (Facebook) iOS SDK 18.1.1 for advertising attribution and app-event measurement. In this version our native integration initializes and enables Meta collection only after iOS App Tracking Transparency permission is authorized. Before authorization, or if permission is denied or restricted, the app does not initialize Meta collection or send events to Meta through this integration. Refusing tracking does not limit Sudoku, saving, or daily challenges. Events blocked for lack of permission are not replayed later by our integration.
 
 We use the current Meta integration to measure app promotion and prepare for a possible future advertising-supported business model. Preparation does not mean advertisements are currently displayed: this native Sudoku version has no ad placements or monetization ad SDK. Meta App Events is an advertising measurement component and does not itself provide an in-game advertising placement.
 
 With authorization, Meta may process advertising identifiers (including IDFA when available), SDK-generated identifiers, device and app information, app activation and other supported app events, network information including IP address, and SDK diagnostics to measure advertising effectiveness and improve advertising. Meta may combine this information with information from other apps or services for attribution and tracking. Its actual processing depends on permission, SDK behavior, and Meta's applicable settings and policies. Meta may store identifiers, configuration, and event data locally and process transmitted data on its infrastructure, including outside your country or region.
 
-The current Sudoku game has no online registration, purchases, shopping cart, wishlist, in-app payments, or displayed advertisements. Opening or completing a Sudoku game does not itself represent a registration or purchase and is not reported as one. Supported tracking functions are not evidence of a transaction. More about Meta's practices and choices: [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
+The current Sudoku game has no online registration, purchases, shopping cart, wishlist, in-app payments, or displayed advertisements. Opening or completing a Sudoku game does not itself represent a registration or purchase and is not reported as one. Supported tracking functions are not evidence of a transaction. More about Meta's practices and choices: [Meta Privacy Policy](https://www.facebook.com/privacy/policy/). A webpage can call supported native event functions only for the corresponding real business action and when ATT allows submission. Monetary events can include value and currency.
 
 If a later version introduces banner, interstitial, or rewarded advertisements, or adds an advertising or mediation partner, we will disclose the actual providers, data categories, purposes, sharing, local storage, retention information, and available choices before the new processing starts. We will update the policy and store privacy disclosures and request any permission or consent required for that processing. Tracking remains subject to ATT; declining tracking will not prevent the basic Sudoku game. This notice is not advance permission for unspecified partners, personalized advertising, additional collection, or a change of purpose.
 
-## III. Cookies and local storage
+### 3.2 Activity Webpages and Cookies
 
-The native Sudoku game does not require browser cookies. A valid activity URL returned by the configuration service can automatically open a fullscreen embedded webpage. Its provider receives network requests and may use cookies, cached resources, local storage, and website sessions through WebKit's persistent website storage. Website forms and third-party services may involve additional data processing; they are separate from the native game-save service. Review the displayed website's privacy information before providing personal information. Supported webpage app-event calls are subject to the app's tracking permission checks. Local app storage keeps the game data described above; the Meta SDK may also keep its own configuration and event cache after authorization. Device backups may contain app data depending on your Apple backup settings.
+The native Sudoku game does not require browser cookies. A valid activity URL returned by the configuration service can automatically open a fullscreen embedded webpage. Its provider receives network requests and may use cookies, cached resources, local storage, and website sessions through WebKit's persistent website storage. Website forms and third-party services may involve additional data processing; they are separate from the native game-save service. Review the displayed website's privacy information before providing personal information. Supported webpage app-event calls are subject to the app's tracking permission checks. Local app storage keeps the game data described above; the Meta SDK may also keep its own configuration and event cache after authorization. Device backups may contain app data depending on your Apple backup settings. The native bridge’s ATT check covers events submitted through that bridge; it is not blanket permission for website scripts to track users. Activity content must also comply with applicable permission and disclosure requirements. Its processing is included in the full App privacy assessment and is not excluded merely because the content is online. Following a link or opening the external browser can send further requests to the destination provider.
 
-## IV. Retention and security
+### 3.3 Hosting and Other Disclosures
 
-Local game records remain until removed from the device. Deleting the app removes its local game data; deleting a backup is managed separately in Apple's backup settings. App-service configuration credentials may be cached in the iOS Keychain and are not player account credentials; Keychain entries can persist independently of the app's ordinary files. We do not promise that uninstalling deletes data already received by a service provider.
+Joker Sudoku receives and stores the game-save information described in Section 1. Service providers supporting hosting, storage, and network delivery may process information needed to provide those services on our behalf. We require providers acting on our behalf to use it for the agreed purposes. Third parties receiving user information must provide the same or equivalent protection described in this policy and required by applicable privacy requirements. We do not sell game saves or make them public to other players. Configuration services process the technical request information described above. After your tracking authorization, the Meta SDK sends information described in Section 3.1 to Meta for advertising measurement and related processing. Disclosures required by law are limited to information and purposes required by applicable obligations. Service infrastructure may be outside your country or region; applicable cross-border processing requirements must be met.
 
-Server game saves are retained for the time needed to provide the game-save service. We delete or de-identify records when they are no longer needed, unless longer retention is required by applicable law or necessary for a specific legal or security matter. Any exception is limited to that purpose. Deleting the app or turning off tracking does not automatically delete uploaded game saves. To request deletion of server game saves, contact support@jokersudoku.com as described in Section VI. If residual copies must remain temporarily in backups, we restrict their use to backup recovery and delete them through the backup lifecycle; a restored copy remains subject to the deletion request.
+The current native app does not integrate Game Center or in-app purchasing. We do not describe these as active services or treat a possible future integration as permission for new processing.
 
-We use iOS application storage and system protections and limit access to server records to what is needed for the stated purposes. HTTP requests without TLS do not provide authenticated, encrypted transport; application-level encryption is not a substitute for HTTPS. The app's configuration and privacy-document endpoints currently use HTTP. We do not describe all app network traffic as HTTPS or promise absolute security. Please do not send passwords, identity documents, or unnecessary sensitive information through support or activity forms. Meta's retention and privacy choices are described in its own policy and do not replace our obligations for data we control.
+## 4. Data Storage and Security
 
-## V. Sharing and disclosure
+Local game records remain until removed from the device. Deleting the app removes its local game data; deleting a backup is managed separately in Apple's backup settings. App-service configuration credentials may be cached in the iOS Keychain and are not player account credentials; Keychain entries can persist independently of the app's ordinary files. We do not promise that uninstalling deletes data already received by a service provider.
 
-Joker Sudoku receives and stores the game-save information described in Section I. Service providers supporting hosting, storage, and network delivery may process information needed to provide those services on our behalf. We require providers acting on our behalf to use it for the agreed purposes and apply protections consistent with this policy and applicable privacy requirements. We do not sell game saves or make them public to other players. Configuration and privacy-document services process the technical request information described above. After your tracking authorization, the Meta SDK sends information described in Section II to Meta for advertising measurement and related processing. Disclosures required by law are limited to information and purposes required by applicable obligations.
+Server game saves are retained for the time needed to provide the game-save service. We delete or de-identify records when they are no longer needed, unless longer retention is required by applicable law or necessary for a specific legal or security matter. Any exception is limited to that purpose. Deleting the app or turning off tracking does not automatically delete uploaded game saves. To request deletion of server game saves, contact support@jokersudoku.com as described in Section 5. If residual copies must remain temporarily in backups, we restrict their use to backup recovery and delete them through the backup lifecycle; a restored copy remains subject to the deletion request.
 
-Feedback drafts stay on the device unless you choose to share them using the system share sheet. The recipient and information you share are your choice; a draft is not automatically sent to support. If you email us, we receive your email address and the message and attachments you send for handling the inquiry. Do not include passwords, identity documents, or unnecessary sensitive information.
+Support correspondence is retained as needed to handle the request and associated follow-up. Technical records are retained for their service, troubleshooting, or security purpose. When no longer needed, we delete or de-identify them, unless a specific legal obligation or legal/security matter requires limited further retention.
+
+We use iOS application storage and system protections and limit access to server records to what is needed for the stated purposes. HTTP requests without TLS do not provide authenticated, encrypted transport; application-level encryption is not a substitute for HTTPS. The configured platform endpoint and public policy address currently use HTTP. We do not describe all app network traffic as HTTPS or promise absolute security. Please do not send passwords, identity documents, or unnecessary sensitive information through support or activity forms. Meta's retention and privacy choices are described in its own policy and do not replace our obligations for data we control.
 
-## VI. Your choices and requests
+## 5. Your Rights and Choices
 
-You can change language and game settings in the app. Manage tracking in Me > Privacy Preferences or iOS Settings > Privacy & Security > Tracking. Revoking permission stops subsequent collection through our integration when the app observes the new status; it does not automatically erase information already received by Meta. You can play offline, delete the app's local data by uninstalling, and manage backups separately.
+You can change language and game settings in the app. Manage tracking in iOS Settings > Privacy & Security > Tracking, or through Me > Privacy Preferences when that screen is available. Revoking permission stops subsequent collection through our integration when the app observes the new status; it does not automatically erase information already received by Meta. You can play offline, delete the app's local data by uninstalling, and manage backups separately.
 
 To ask about access, correction, deletion, withdrawal of consent where applicable, or other rights concerning information we hold, contact support@jokersudoku.com. For a server-save request, state the request type and provide information that allows us to locate the record, such as a save reference available to you and an approximate time of play. Do not send passwords or identity documents. We will explain any additional information needed to locate the record, verify the request proportionately, and respond under applicable requirements. If we must retain information for a specific legal reason, we will explain the reason and relevant limits. A request to stop further uploads should state this explicitly; deleting an existing save is not by itself a device setting that prevents later uploads. Offline gameplay remains available.
 
 We cannot remotely manage records that remain only on your device. Uninstalling removes local game data but does not submit a server deletion request. For information held by Meta, its privacy channels are also available; contacting Meta is not a substitute for contacting us about our own service.
 
-## VII. Children and age suitability
+## 6. Children’s Privacy
 
 The native Sudoku game is a general-audience logic puzzle without violence, gambling, user chat, or public user-generated content. An activity webpage is separate content and must be considered when assessing the full app's age suitability. A store content age rating does not authorize tracking or replace legal requirements for children. Parents and guardians should manage device permissions for children. The app is not presented as a dedicated children's service and does not intentionally request children's account or contact details. If you believe a child has sent us personal information, contact us so we can review and address it under applicable requirements.
 
-## VIII. Changes
+## 7. Changes to This Privacy Policy
 
 We will update this policy when our features or data practices change and show the new effective date. This includes changes to game-save data or its purposes and the addition of ad placements or advertising partners. We will explain new processing before it starts and obtain any required permission or consent. Material changes will be communicated appropriately; continuing to play or updating the policy does not override your iOS tracking choice or constitute blanket consent to future processing. ATT authorization for advertising tracking does not itself constitute consent to unrelated game-save processing.
 
-## IX. Contact
+## 8. Contact Us
 
 Operator: Joker Sudoku
 

+ 39 - 21
JokerSudoku/zh-Hans.lproj/PrivacyPolicy.md

@@ -1,66 +1,84 @@
 # Joker Sudoku 隐私政策
 
-生效日期/最近更新:2026 年 11 月 2 日
+生效日期/最近更新:2026 年 11 月 4 日
 
 Joker Sudoku(以下简称“我们”)运营 JokerSudoku 数独游戏。本政策说明当前公开发布的 iPhone 与 iPad App 如何处理信息。联系邮箱:support@jokersudoku.com。阅读本政策不代表同意广告跟踪;相关授权由 iOS 单独询问。
 
-## 一、信息与使用目的
+阅读本政策、下载 App 或继续游戏,本身不代表同意广告跟踪或无关的未来处理。我们会单独请求权限及必要的同意。原生数独和本地保存仍支持离线使用。
+
+## 1. 我们收集的信息
 
 原生数独游戏无需注册线上账号,不要求玩家为游戏提供账号名称、密码、手机号、身份证件或邮箱。将游戏记录保存到服务器不等于注册线上账号。游戏不申请通讯录、麦克风、相机、照片或精确位置权限。
 
+### 1.1 游戏进度与偏好
+
 为提供本地存档与个性化功能,App 在设备上保存游戏进度、填入的数字、笔记、用时、错误次数、提示使用情况、撤销历史、每日挑战记录、分数、统计、语言、棋盘主题、游戏设置和反馈草稿。
 
-在有网络连接时,App 还会通过应用网络接口将当前游戏存档数据发送至 Joker Sudoku 的游戏存档服务,在服务器保存游戏进度。这是现有功能,不是后续规划。游戏存档属于游戏内容,并非仅在设备本地处理。接收服务还会因网络请求获得连接 IP 地址及相关技术请求信息。无网络时,数独游戏及本地保存仍可使用。服务器保存本身不代表保证跨设备访问或卸载后恢复。
+在有网络连接时,App 还会通过应用网络接口将游戏存档数据,包括保存当前游戏所需的对局状态与进度记录发送至 Joker Sudoku 的游戏存档服务,在服务器保存游戏进度。游戏存档属于游戏内容,并非仅在设备本地处理。广告跟踪授权本身不代表对无关存档处理的同意。接收服务还会因网络请求获得连接 IP 地址及相关技术请求信息。无网络时,数独游戏及本地保存仍可使用。服务器保存本身不代表保证跨设备访问或卸载后恢复。
+
+### 1.2 配置与技术信息
+
+App 请求平台凭据及活动配置时,会发送应用渠道、所选语言、设备地区设置和时区。接收服务还会获得连接 IP 地址和技术请求信息。读取地区设置不等于申请 GPS 定位。返回的活动网址及成功打开状态会缓存在设备上;应用服务凭据可能存入 iOS 钥匙串,它们不是玩家账号凭据。配置请求与服务器存档属于不同用途的处理。
+
+### 1.3 客户支持
+
+反馈草稿保留在设备中,除非您主动通过系统分享功能发送。您自行选择接收方与分享内容;草稿不会自动提交给客服。您向我们发邮件时,我们将收到您主动发送的邮箱地址、正文与附件,用于处理咨询。请勿发送密码、身份证件或不必要的敏感信息。
 
-App 还会独立获取隐私文档与应用配置。相关请求包含应用渠道、所选语言、设备地区和时区,接收服务可能获得连接 IP 地址及技术请求信息。配置获取与游戏存档上传属于不同用途的处理。反馈草稿不会自动提交客服,邮件与分享处理见第五节。
+## 2. 信息的使用方式
 
-## 二、广告衡量与第三方 SDK
+我们使用游戏记录运行数独、保存进度、提供统计和偏好;使用技术配置信息获取服务设置与活动通知;使用客服信息处理请求;使用获授权的 Meta 信息衡量推广及广告效果。我们也会在具体排查、安全及法律义务所需范围内处理信息。为某一目的收集信息不代表获准用于无关用途;新增用途需要同意时,会在处理开始前说明并取得同意。
 
-App 集成 Meta(Facebook)iOS SDK 18.1.1,用于广告归因与应用事件衡量。当前版本仅在 iOS 应用跟踪透明度(ATT)授权状态为允许后,才初始化并启用 Meta 数据收集。授权前、被拒绝或受到限制时,本接入不会初始化 Meta 收集或向 Meta 发送事件。拒绝跟踪不影响数独、存档或每日挑战;因未授权而被拦截的事件不会由本接入在之后补报。
+## 3. 第三方服务
+
+### 3.1 Meta(Facebook)SDK 与跟踪
+
+App 集成 Meta(Facebook)iOS SDK 18.1.1,用于广告归因与应用事件衡量。当前版本仅在 iOS 应用跟踪透明度(ATT)授权状态为允许后,才初始化并启用 Meta 数据收集。授权前、被拒绝或受到限制时,本方原生接入不会初始化 Meta 收集或向 Meta 发送事件。拒绝跟踪不影响数独、存档或每日挑战;因未授权而被拦截的事件不会由本方原生接入在之后补报。
 
 当前 Meta 接入用于衡量应用推广效果,并为后续可能采用广告支持的变现模式做准备。“做准备”不代表目前已经展示广告:本版原生数独尚未提供广告位或接入广告变现 SDK。Meta App Events 属于广告衡量组件,本身不提供游戏内广告位。
 
 授权后,Meta 可能处理广告标识符(可用时包括 IDFA)、SDK 生成的标识符、设备与应用信息、应用激活及其他支持的事件、包括 IP 地址的网络信息和 SDK 诊断,用于广告效果衡量及广告优化。Meta 可能将相关信息与其他应用或服务的信息结合,用于归因与跟踪。实际处理受权限、SDK 行为及 Meta 相关设置和政策影响。Meta 可能在本地保存标识符、配置和事件数据,并在其基础设施上处理已发送的信息,可能涉及您所在国家或地区之外的处理。
 
-当前原生数独没有线上注册、购买、购物车、愿望清单、应用内支付或广告展示。启动游戏或完成数独不代表注册或购买,App 不会将其作为此类事件上报。提供事件调用函数并不代表发生交易。有关 Meta 数据处理与选择,请参阅 [Meta 隐私政策](https://www.facebook.com/privacy/policy/)。
+当前原生数独没有线上注册、购买、购物车、愿望清单、应用内支付或广告展示。启动游戏或完成数独不代表注册或购买,App 不会将其作为此类事件上报。提供事件调用函数并不代表发生交易。有关 Meta 数据处理与选择,请参阅 [Meta 隐私政策](https://www.facebook.com/privacy/policy/)。活动网页调用支持的原生事件函数时,须以相应真实业务发生及 ATT 允许上报为前提;金额类事件可包含金额与币种。
 
 若后续版本增加横幅、插屏、激励广告,或新增广告及聚合服务方,我们会在新增处理开始前说明实际服务方、数据类型、用途、共享、本地存储、保存信息与可用选择,同步更新本政策和商店隐私披露,并取得该处理所需的权限或同意。涉及跟踪时仍遵守 ATT,拒绝跟踪不会影响基础数独功能。本说明不代表您提前同意未知合作方、个性化广告、额外收集或改变数据用途。
 
-## 三、Cookie 与本地存储
+### 3.2 活动网页与 Cookie
 
-原生数独游戏不依赖浏览器 Cookie。配置服务返回有效活动网址时,App 可能自动打开全屏内嵌网页。网页提供方会接收网络请求,并可能通过 WebKit 的持久化网站存储使用 Cookie、缓存资源、本地存储与网站会话。网页表单及第三方服务可能涉及额外的信息处理,与原生游戏存档服务有所区别。提供个人信息前,请查看网页展示的隐私说明。网页调用支持的应用事件上报时,仍受 App 的跟踪权限检查。本地应用存储保存上述游戏数据;授权后 Meta SDK 也可能保留自身配置与事件缓存。系统设备备份是否包含应用数据,取决于您的 Apple 备份设置。
+原生数独游戏不依赖浏览器 Cookie。配置服务返回有效活动网址时,App 可能自动打开全屏内嵌网页。网页提供方会接收网络请求,并可能通过 WebKit 的持久化网站存储使用 Cookie、缓存资源、本地存储与网站会话。网页表单及第三方服务可能涉及额外的信息处理,与原生游戏存档服务有所区别。提供个人信息前,请查看网页展示的隐私说明。网页调用支持的应用事件上报时,仍受 App 的跟踪权限检查。本地应用存储保存上述游戏数据;授权后 Meta SDK 也可能保留自身配置与事件缓存。系统设备备份是否包含应用数据,取决于您的 Apple 备份设置。原生桥接的 ATT 检查适用于经该桥接提交的事件,不是网站脚本跟踪的概括授权。活动内容自身也须遵守适用的权限与披露要求,其处理属于完整 App 的隐私评估范围,不因内容在线上就被排除。跟随链接或打开外部浏览器还可能向目标服务方发送进一步请求。
 
-## 四、保存期限与安全
+### 3.3 托管服务与其他披露
 
-本地游戏记录保存至您从设备删除相关数据。卸载 App 会删除其本地游戏数据;备份的删除需在 Apple 备份设置中单独管理。应用服务配置凭据可能缓存在 iOS 钥匙串中,它们不是玩家账号凭据;钥匙串条目可能独立于普通应用文件保留。我们不承诺卸载会清除服务方已经接收的数据。
+Joker Sudoku 接收并保存第 1 节所述游戏存档信息。提供服务器托管、存储与网络交付的服务方,可能受托处理提供相应服务所必需的信息。我们要求受托服务方按约定用途处理;接收用户信息的第三方须提供本政策及适用隐私要求所述的同等保护。我们不出售游戏存档,也不将其向其他玩家公开。配置服务处理前述技术请求信息;在您允许跟踪后,Meta SDK 向 Meta 发送第 3.1 节所述信息,用于广告衡量及相关处理。依法披露限于适用义务要求的信息与用途。服务基础设施可能位于您所在国家或地区以外,并应满足适用的跨境处理要求。
 
-服务器存档在提供游戏存档服务所需期间保存。不再需要时,我们会删除或去标识化相关记录;适用法律要求继续保存,或具体法律与安全事项确有需要的除外,且此类例外仅限相应用途。卸载 App 或关闭跟踪权限不会自动删除已上传的游戏存档。如需删除服务器存档,请按第六节通过 support@jokersudoku.com 联系我们。若备份中暂时仍有残余副本,我们会限制其仅用于备份恢复,并按备份生命周期清除;恢复的副本仍受原删除请求约束。
+当前原生 App 未接入 Game Center 或应用内购买。我们不将其描述为已启用服务,也不将未来可能接入视为对新增处理的同意。
 
-我们使用 iOS 应用存储与系统保护,并按所述用途的必要范围限制服务器记录访问。未使用 TLS 的 HTTP 请求不能提供经过认证、加密的传输保护,应用层加密不等同于 HTTPS。当前配置及隐私文档接口使用 HTTP,我们不将全部应用请求描述为 HTTPS,也不承诺绝对安全。请勿在客服或活动表单中发送密码、身份证件或不必要的敏感信息。Meta 的保存及隐私选择见其自身政策,这不代替我们对自身控制数据承担的责任。
+## 4. 数据存储与安全
 
-## 五、共享与披露
+本地游戏记录保存至您从设备删除相关数据。卸载 App 会删除其本地游戏数据;备份的删除需在 Apple 备份设置中单独管理。应用服务配置凭据可能缓存在 iOS 钥匙串中,它们不是玩家账号凭据;钥匙串条目可能独立于普通应用文件保留。我们不承诺卸载会清除服务方已经接收的数据。
 
-Joker Sudoku 接收并保存第一节所述游戏存档信息。提供服务器托管、存储与网络交付的服务方,可能受托处理提供相应服务所必需的信息。我们要求受托服务方按约定用途处理,并采取与本政策及适用隐私要求一致的保护。我们不出售游戏存档,也不将其向其他玩家公开。配置及隐私文档服务处理前述技术请求信息;在您允许跟踪后,Meta SDK 向 Meta 发送第二节所述信息,用于广告衡量及相关处理。依法披露限于适用义务要求的信息与用途。
+服务器存档在提供游戏存档服务所需期间保存。不再需要时,我们会删除或去标识化相关记录;适用法律要求继续保存,或具体法律与安全事项确有需要的除外,且此类例外仅限相应用途。卸载 App 或关闭跟踪权限不会自动删除已上传的游戏存档。如需删除服务器存档,请按第 5 节通过 support@jokersudoku.com 联系我们。若备份中暂时仍有残余副本,我们会限制其仅用于备份恢复,并按备份生命周期清除;恢复的副本仍受原删除请求约束。
 
-反馈草稿保留在设备中,除非您主动通过系统分享功能发送。您自行选择接收方与分享内容;草稿不会自动提交给客服。您向我们发邮件时,我们将收到您主动发送的邮箱地址、正文与附件,用于处理咨询。请勿发送密码、身份证件或不必要的敏感信息。
+客服通信在处理请求及相关后续事项所需期间保存;技术记录按服务、排查或安全用途保存。不再需要时,我们会删除或去标识化,具体法律义务或法律/安全事项要求有限延长保存的除外。
+
+我们使用 iOS 应用存储与系统保护,并按所述用途的必要范围限制服务器记录访问。未使用 TLS 的 HTTP 请求不能提供经过认证、加密的传输保护,应用层加密不等同于 HTTPS。目前配置的平台接口和公开政策地址使用 HTTP,我们不将全部应用请求描述为 HTTPS,也不承诺绝对安全。请勿在客服或活动表单中发送密码、身份证件或不必要的敏感信息。Meta 的保存及隐私选择见其自身政策,这不代替我们对自身控制数据承担的责任。
 
-## 六、您的选择与请求
+## 5. 您的权利与选择
 
-您可以在 App 中更改语言与游戏设置,通过“我 > 隐私偏好”或 iOS“设置 > 隐私与安全性 > 跟踪”管理跟踪权限。撤回授权后,本接入在观察到新状态时停止后续收集,不会自动删除 Meta 已接收的信息。您可以离线游戏、卸载以清除本地游戏数据,并单独管理备份。
+您可以在 App 中更改语言与游戏设置,通过 iOS“设置 > 隐私与安全性 > 跟踪”管理跟踪权限,也可在相应界面可达时通过 App“我 > 隐私偏好”管理。撤回授权后,本接入在观察到新状态时停止后续收集,不会自动删除 Meta 已接收的信息。您可以离线游戏、卸载以清除本地游戏数据,并单独管理备份。
 
 如需就我们持有的信息提出访问、更正、删除、适用情形下撤回同意或其他权利请求,请联系 support@jokersudoku.com。申请处理服务器存档时,请说明请求类型,并提供您能够获取的存档参考信息及大致游玩时间等有助于定位记录的信息,不要发送密码或身份证件。如还需其他定位信息,我们会另行说明,以适度方式核实请求并按适用要求答复。确因具体法律理由需要保留信息时,我们会说明原因和相关限制。若希望停止后续上传,请明确提出;删除现有存档本身不是阻止设备后续上传的设置。离线游戏仍可使用。
 
 对于始终仅保存在设备上的记录,我们无法远程管理。卸载会清除本地游戏数据,但不会代为提交服务器删除申请。Meta 持有的信息也可通过其隐私渠道处理;联系 Meta 不代替就本应用服务联系 Joker Sudoku。
 
-## 七、儿童与内容年龄适宜性
+## 6. 儿童隐私
 
 原生数独是面向一般人群的逻辑益智游戏,无暴力、博彩、用户聊天或公开的用户生成内容。活动网页属于另外的内容,评估完整 App 的年龄适宜性时也须考虑。商店内容年龄分级不代表广告跟踪授权,也不代替适用的儿童保护要求。建议监护人管理儿童设备权限。App 不以专门儿童服务的形式提供,也不主动索取儿童账号或联系资料。如您认为儿童曾向我们发送个人信息,请联系我们核查并按适用要求处理。
 
-## 八、政策更新
+## 7. 本政策的变更
 
 功能或信息处理方式发生变化时,我们会更新政策并标明生效日期,包括变更存档数据或其用途、新增广告位或广告合作方。新增处理开始前,我们会说明其实际行为并取得所需权限或同意。重大变化将以适当方式通知;继续游戏或更新政策不会覆盖您在 iOS 中的跟踪选择,也不构成对未来信息处理的概括授权。用于广告跟踪的 ATT 授权本身不构成对其他游戏存档处理的同意。
 
-## 九、联系我们
+## 8. 联系我们
 
 运营主体:Joker Sudoku
 

+ 39 - 55
jokersudoku.md

@@ -1,101 +1,85 @@
-# Privacy Policy for Joker Sudoku
+# Joker Sudoku Privacy Policy
 
-**Effective Date: November 2, 2026**
+Effective date / last updated: November 4, 2026
 
-Joker Sudoku ("we," "our," or "us") respects your privacy and is committed to protecting your personal information. This Privacy Policy explains how we collect, use, store, and disclose information when you use our mobile game **Joker Sudoku** (the "App").
+Joker Sudoku ("we", "us") operates the JokerSudoku puzzle game. This policy explains how the current public iPhone and iPad app handles information. Contact: support@jokersudoku.com. Reading this policy is not consent to advertising tracking; that permission is requested separately through iOS.
 
-By downloading, accessing, or using the App, you acknowledge this Privacy Policy. If you do not agree with this policy, please do not use the App.
+Reading this policy, downloading the App, or continuing to play does not itself authorize advertising tracking or unrelated future processing. We request permissions and any required consent separately. Native Sudoku and local saving remain available offline.
 
 ## 1. Information We Collect
 
-We collect minimal information necessary to provide, maintain, and improve the App experience.
+No online account is required to play the native Sudoku game. We do not require an account name, password, phone number, identity document, or email address for gameplay. Saving game records on a server is separate from registering an online account. The game does not request contacts, microphone, camera, photos, or precise location permissions.
 
-### 1.1 Information You Provide
+### 1.1 Game Progress and Preferences
 
-**Game Progress & Preferences:** Your in-game progress, scores, achievements, and settings are primarily stored locally on your device and may be synchronized through Apple Game Center if you choose to enable it and the App supports this functionality.
+On your device, we store game progress, entered numbers, notes, elapsed time, mistakes, hint usage, undo history, daily challenge records, scores, statistics, language, board theme, gameplay settings, and feedback drafts to provide local saves and personalization.
 
-**Customer Support:** If you contact us for support, we may collect your email address and any information you voluntarily provide to help us respond to your inquiry or resolve technical issues.
+When a network connection is available, the app also sends game-save data, including the game state and progress records needed to save the current game, to Joker Sudoku's game-save service through an application network API for server-side storage of your game progress. Game-save information is gameplay content and is not limited to data stored on your device. Advertising tracking permission does not itself authorize unrelated game-save processing. Network requests also expose your connection's IP address and technical request information to the receiving service. Offline Sudoku gameplay and local saving remain available without a network connection. Server saving does not itself guarantee cross-device access or recovery after reinstalling the app.
 
-### 1.2 Automatically Collected Information
+### 1.2 Configuration and Technical Information
 
-**Device Information:** We may collect limited device information, such as device model, operating system version, and device identifiers where necessary and permitted by applicable law. We do not access or use the Identifier for Advertisers (IDFA) for cross-app tracking without obtaining the required consent.
+The App requests platform credentials and activity configuration using the app channel, selected language, device region setting, and time zone. The receiving service also receives your connection’s IP address and technical request information. Reading the region setting does not request GPS location. Returned activity URLs and their successful opening status are cached on your device. App-service credentials may be stored in the iOS Keychain; these are not player account credentials. Configuration requests and server game saves serve different purposes.
 
-**Usage Data:** We may process gameplay information, such as level completion, session duration, and game performance, to understand how players interact with the App and improve gameplay functionality.
+### 1.3 Customer Support
 
-**Game Center Data:** If you choose to use Apple Game Center, certain information, such as your Game Center username and achievement data, may be available to the App. Apple's handling of this information is governed by its own privacy policy.
+Feedback drafts stay on the device unless you choose to share them using the system share sheet. The recipient and information you share are your choice; a draft is not automatically sent to support. If you email us, we receive your email address and the message and attachments you send for handling the inquiry. Do not include passwords, identity documents, or unnecessary sensitive information.
 
 ## 2. How We Use Your Information
 
-We use the information described in this Privacy Policy to:
-
-- Operate, maintain, and improve the App.
-- Save game progress and maintain gameplay functionality.
-- Provide customer support and respond to inquiries.
-- Analyze gameplay performance and improve game features.
-- Identify and resolve technical issues.
-- Protect the security and integrity of the App, including preventing fraud, cheating, and unauthorized access.
-- Comply with applicable legal obligations.
-
-We do not sell your personal information.
+We use game records to operate Sudoku, save progress, and provide statistics and preferences; technical configuration information to obtain app-service settings and activity notices; support information to respond to requests; and authorized Meta information to measure app promotion and advertising effectiveness. Information is also processed as necessary for specific troubleshooting, security, and legal obligations. Collection for one purpose is not authorization for unrelated uses; new purposes requiring consent will be explained and authorized before processing starts.
 
 ## 3. Third-Party Services
 
-The App does not currently integrate with third-party analytics or advertising SDKs.
+### 3.1 Meta (Facebook) SDK and Tracking
 
-If we introduce such services in the future, we will update this Privacy Policy to explain the relevant data collection and processing practices.
+The app includes Meta (Facebook) iOS SDK 18.1.1 for advertising attribution and app-event measurement. In this version our native integration initializes and enables Meta collection only after iOS App Tracking Transparency permission is authorized. Before authorization, or if permission is denied or restricted, the app does not initialize Meta collection or send events to Meta through this integration. Refusing tracking does not limit Sudoku, saving, or daily challenges. Events blocked for lack of permission are not replayed later by our integration.
 
-The App may use Apple services, including Game Center and In-App Purchase, where supported. These services are subject to Apple's own terms and privacy policies.
+We use the current Meta integration to measure app promotion and prepare for a possible future advertising-supported business model. Preparation does not mean advertisements are currently displayed: this native Sudoku version has no ad placements or monetization ad SDK. Meta App Events is an advertising measurement component and does not itself provide an in-game advertising placement.
 
-For more information about Apple's privacy practices, please visit:
+With authorization, Meta may process advertising identifiers (including IDFA when available), SDK-generated identifiers, device and app information, app activation and other supported app events, network information including IP address, and SDK diagnostics to measure advertising effectiveness and improve advertising. Meta may combine this information with information from other apps or services for attribution and tracking. Its actual processing depends on permission, SDK behavior, and Meta's applicable settings and policies. Meta may store identifiers, configuration, and event data locally and process transmitted data on its infrastructure, including outside your country or region.
 
-https://www.apple.com/legal/privacy/
+The current Sudoku game has no online registration, purchases, shopping cart, wishlist, in-app payments, or displayed advertisements. Opening or completing a Sudoku game does not itself represent a registration or purchase and is not reported as one. Supported tracking functions are not evidence of a transaction. More about Meta's practices and choices: [Meta Privacy Policy](https://www.facebook.com/privacy/policy/). A webpage can call supported native event functions only for the corresponding real business action and when ATT allows submission. Monetary events can include value and currency.
 
-## 4. Data Storage and Security
+If a later version introduces banner, interstitial, or rewarded advertisements, or adds an advertising or mediation partner, we will disclose the actual providers, data categories, purposes, sharing, local storage, retention information, and available choices before the new processing starts. We will update the policy and store privacy disclosures and request any permission or consent required for that processing. Tracking remains subject to ATT; declining tracking will not prevent the basic Sudoku game. This notice is not advance permission for unspecified partners, personalized advertising, additional collection, or a change of purpose.
 
-**Local Storage:** Most game-related information, including progress, scores, and preferences, is stored locally on your device.
+### 3.2 Activity Webpages and Cookies
 
-**Data Protection:** We implement reasonable technical and organizational safeguards designed to protect information against unauthorized access, alteration, disclosure, or destruction.
+The native Sudoku game does not require browser cookies. A valid activity URL returned by the configuration service can automatically open a fullscreen embedded webpage. Its provider receives network requests and may use cookies, cached resources, local storage, and website sessions through WebKit's persistent website storage. Website forms and third-party services may involve additional data processing; they are separate from the native game-save service. Review the displayed website's privacy information before providing personal information. Supported webpage app-event calls are subject to the app's tracking permission checks. Local app storage keeps the game data described above; the Meta SDK may also keep its own configuration and event cache after authorization. Device backups may contain app data depending on your Apple backup settings. The native bridge’s ATT check covers events submitted through that bridge; it is not blanket permission for website scripts to track users. Activity content must also comply with applicable permission and disclosure requirements. Its processing is included in the full App privacy assessment and is not excluded merely because the content is online. Following a link or opening the external browser can send further requests to the destination provider.
 
-**Data Retention:** We retain personal information only for as long as reasonably necessary to fulfill the purposes described in this Privacy Policy or to comply with applicable legal obligations.
+### 3.3 Hosting and Other Disclosures
 
-**Security Limitations:** Although we take reasonable precautions to protect information, no method of electronic storage or transmission over the internet can be guaranteed to be completely secure.
+Joker Sudoku receives and stores the game-save information described in Section 1. Service providers supporting hosting, storage, and network delivery may process information needed to provide those services on our behalf. We require providers acting on our behalf to use it for the agreed purposes. Third parties receiving user information must provide the same or equivalent protection described in this policy and required by applicable privacy requirements. We do not sell game saves or make them public to other players. Configuration services process the technical request information described above. After your tracking authorization, the Meta SDK sends information described in Section 1I to Meta for advertising measurement and related processing. Disclosures required by law are limited to information and purposes required by applicable obligations. Service infrastructure may be outside your country or region; applicable cross-border processing requirements must be met.
 
-## 5. Your Rights and Choices
+The current native app does not integrate Game Center or in-app purchasing. We do not describe these as active services or treat a possible future integration as permission for new processing.
 
-Depending on your location and applicable privacy laws, you may have the right to:
+## 4. Data Storage and Security
 
-- Request access to personal information we hold about you.
-- Request correction of inaccurate personal information.
-- Request deletion of your personal information.
-- Withdraw consent where processing is based on your consent.
-- Request a copy of your personal information, where applicable.
+Local game records remain until removed from the device. Deleting the app removes its local game data; deleting a backup is managed separately in Apple's backup settings. App-service configuration credentials may be cached in the iOS Keychain and are not player account credentials; Keychain entries can persist independently of the app's ordinary files. We do not promise that uninstalling deletes data already received by a service provider.
 
-You may also manage certain game-related information through your device settings or Apple Game Center settings.
+Server game saves are retained for the time needed to provide the game-save service. We delete or de-identify records when they are no longer needed, unless longer retention is required by applicable law or necessary for a specific legal or security matter. Any exception is limited to that purpose. Deleting the app or turning off tracking does not automatically delete uploaded game saves. To request deletion of server game saves, contact support@jokersudoku.com as described in Section 5. If residual copies must remain temporarily in backups, we restrict their use to backup recovery and delete them through the backup lifecycle; a restored copy remains subject to the deletion request.
 
-To exercise your privacy rights or submit a related request, please contact us at:
+Support correspondence is retained as needed to handle the request and associated follow-up. Technical records are retained for their service, troubleshooting, or security purpose. When no longer needed, we delete or de-identify them, unless a specific legal obligation or legal/security matter requires limited further retention.
 
-**support@jokersudoku.com**
+We use iOS application storage and system protections and limit access to server records to what is needed for the stated purposes. HTTP requests without TLS do not provide authenticated, encrypted transport; application-level encryption is not a substitute for HTTPS. The configured platform endpoint and public policy address currently use HTTP. We do not describe all app network traffic as HTTPS or promise absolute security. Please do not send passwords, identity documents, or unnecessary sensitive information through support or activity forms. Meta's retention and privacy choices are described in its own policy and do not replace our obligations for data we control.
 
-We will review and respond to requests in accordance with applicable privacy laws.
+## 5. Your Rights and Choices
 
-## 6. Children's Privacy
+You can change language and game settings in the app. Manage tracking in iOS Settings > Privacy & Security > Tracking, or through Me > Privacy Preferences when that screen is available. Revoking permission stops subsequent collection through our integration when the app observes the new status; it does not automatically erase information already received by Meta. You can play offline, delete the app's local data by uninstalling, and manage backups separately.
 
-The App is not specifically directed to children under the age of 13, or the applicable minimum age required by local law.
+To ask about access, correction, deletion, withdrawal of consent where applicable, or other rights concerning information we hold, contact support@jokersudoku.com. For a server-save request, state the request type and provide information that allows us to locate the record, such as a save reference available to you and an approximate time of play. Do not send passwords or identity documents. We will explain any additional information needed to locate the record, verify the request proportionately, and respond under applicable requirements. If we must retain information for a specific legal reason, we will explain the reason and relevant limits. A request to stop further uploads should state this explicitly; deleting an existing save is not by itself a device setting that prevents later uploads. Offline gameplay remains available.
 
-We do not knowingly collect personal information from children in violation of applicable privacy laws.
+We cannot remotely manage records that remain only on your device. Uninstalling removes local game data but does not submit a server deletion request. For information held by Meta, its privacy channels are also available; contacting Meta is not a substitute for contacting us about our own service.
 
-If we become aware that we have collected personal information from a child without the required authorization, we will take reasonable steps to delete such information.
+## 6. Children’s Privacy
 
-If you are a parent or guardian and believe that your child has provided us with personal information, please contact us at support@jokersudoku.com.
+The native Sudoku game is a general-audience logic puzzle without violence, gambling, user chat, or public user-generated content. An activity webpage is separate content and must be considered when assessing the full app's age suitability. A store content age rating does not authorize tracking or replace legal requirements for children. Parents and guardians should manage device permissions for children. The app is not presented as a dedicated children's service and does not intentionally request children's account or contact details. If you believe a child has sent us personal information, contact us so we can review and address it under applicable requirements.
 
 ## 7. Changes to This Privacy Policy
 
-We may update this Privacy Policy from time to time to reflect changes in our practices, App functionality, or applicable legal requirements.
-
-When we make changes, we will publish the updated Privacy Policy and revise the "Effective Date" at the top of this document.
-
-We encourage you to review this Privacy Policy periodically to stay informed about how we handle information.
+We will update this policy when our features or data practices change and show the new effective date. This includes changes to game-save data or its purposes and the addition of ad placements or advertising partners. We will explain new processing before it starts and obtain any required permission or consent. Material changes will be communicated appropriately; continuing to play or updating the policy does not override your iOS tracking choice or constitute blanket consent to future processing. ATT authorization for advertising tracking does not itself constitute consent to unrelated game-save processing.
 
 ## 8. Contact Us
 
-If you have any questions, concerns, or requests regarding this Privacy Policy or our privacy practices, please contact us at Email:support@jokersudoku.com
+Operator: Joker Sudoku
+
+Email: support@jokersudoku.com