feat(push): 新增iOS APNs推送通知功能
- 添加推送通知管理器和设备令牌管理 - 实现推送通知权限请求和令牌注册 - 新增推送通知设置页面 - 集成推送通知初始化到应用启动流程 - 添加推送通知API服务和本地存储管理 - 更新个人页面添加推送通知设置入口
This commit is contained in:
@@ -311,6 +311,11 @@ export default function PersonalScreen() {
|
||||
switchValue: notificationEnabled,
|
||||
onSwitchChange: handleNotificationToggle,
|
||||
},
|
||||
{
|
||||
icon: 'settings-outline' as const,
|
||||
title: '推送通知设置',
|
||||
onPress: () => pushIfAuthedElseLogin('/push-notification-settings'),
|
||||
},
|
||||
],
|
||||
},
|
||||
// 开发者section(需要连续点击三次用户名激活)
|
||||
|
||||
Reference in New Issue
Block a user