feat(client): iOS 上架合规——首启隐私同意弹窗 + 注销账号入口
个保法/审核 5.1.1:移动端首启全屏隐私同意(链接隐私政策/用户协议, 同意持久化;不同意 Android 退出、iOS 留提示);我的页 iOS 形态新增 「注销账号」(sheet 说明 + 预填 mailto 至 support@51yanmei.com)。 关于页隐私政策/服务条款链接已有,桌面/Web 零改动。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ import 'core/theme/theme_controller.dart';
|
||||
import 'core/theme/themes.dart';
|
||||
import 'providers/connectivity_provider.dart';
|
||||
import 'widgets/ds/ds_atoms.dart';
|
||||
import 'widgets/privacy_consent_gate.dart';
|
||||
|
||||
void main() {
|
||||
usePathUrlStrategy();
|
||||
@@ -113,6 +114,9 @@ class _JiuAppState extends ConsumerState<JiuApp> {
|
||||
title: kDebugMode ? '岩美 [DEBUG]' : '岩美',
|
||||
theme: buildTheme(themeKey),
|
||||
routerConfig: router,
|
||||
// 首启隐私同意闸(移动端 only):覆盖全部路由,同意前遮罩交互
|
||||
builder: (context, child) =>
|
||||
PrivacyConsentGate(child: child ?? const SizedBox.shrink()),
|
||||
debugShowCheckedModeBanner: false,
|
||||
localizationsDelegates: const [
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
|
||||
Reference in New Issue
Block a user