mirror of
https://github.com/kuaifan/dootask.git
synced 2026-07-31 18:35:56 +00:00
2.2 KiB
2.2 KiB
id, title, type, feature, scope, locale, aliases, related_tools, related_pages, prerequisites, negative, last_verified
| id | title | type | feature | scope | locale | aliases | related_tools | related_pages | prerequisites | negative | last_verified | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| push-notice.config.howto | 配置友盟 APP 推送 | howto | push-notice | admin | zh |
|
|
|
v1.7.90 |
配置友盟 APP 推送
入口
桌面端:左侧栏「管理后台」→「系统设置」→「APP 推送」选项卡
操作步骤
- 在「开启推送」选择「开启」
- 「iOS 参数配置」区填写:
- Appkey
- App Master Secret
- 「Android 参数配置」区填写:
- Appkey
- App Master Secret
- 底部「提交」保存
- 保存后即时生效,无需重启服务
字段说明
| 字段 | 默认 | 说明 |
|---|---|---|
| push | close | 总开关;close 时所有 APP 推送任务不入队 |
| ios_key | 空 | 友盟 iOS App Key |
| ios_secret | 空 | 友盟 iOS App Master Secret,前端 password 显示 |
| android_key | 空 | 友盟 Android App Key |
| android_secret | 空 | 友盟 Android App Master Secret |
推送配置生效后做什么
- 接 alias 注册:APP 启动登录后自动调
api/users/umeng/alias注册别名(详见 push-notice.alias.concept) - 推送触发:新消息到达
WebSocketDialogMsgTask会调用PushUmengMsg入队推送,参考 push-notice.scenarios.concept - 推送结果落
umeng_logs表:可用于排查(详见 push-notice.troubleshoot.faq)
不支持
- 国内厂商通道(OPPO/华为/小米/VIVO)不开箱即用:需走友盟厂商通道下发,并在友盟控制台单独配置厂商证书
- 不能用替代推送服务,DooTask 推送层与友盟 SDK 强绑定