1.登录华为开发者中心
在应用服务里面找到消息推送服务
https://developer.huawei.com/consumer/cn/console#/serviceCards/
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/153959iqeyqpkrlyekyze8.jpg)
2.在应用列表里面找到需要开通消息推送的应用
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/154215sqva4aac4vavaaad.jpg)
在跳转页面申请开通消息推送服务
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/154239k0ljg06n2x8m2i92.jpg)
根据提示选择数据存储地址,一般大家选中国
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/154346ofveaclxa5wawe8x.jpg)
一般默认开启即可,部分平台需要开启回执用于统计数据,如果有需求也可以开通IOS推送和web推送
一般情况下,都可以不用开启,根据个人需求开通更加细分的推送服务
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/154535sp4rl0c0ax4etfcx.jpg)
3.配置APP的指纹【注意】【注意】必须配置指纹,不然无法生效
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/154854vaoaera00q4naih9.jpg)
切换到开发模式之后,一直下拉页面,页面拉到最底
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/155036ssfr566x6ceh5s22.jpg)
如图,配置好APP的证书指纹
如果获取APP的证书指纹,请登录一门app开发者平台,在【生成安装包页面】查看
![](https://bbs.yimenapp.com/data/attachment/forum/202010/28/155213vmq45qm96dz6pm45.jpg)
如有不清楚,可以联系我们客服帮处理
至此拿到
【特别提示】
使用云消息(慧推推送)的小伙伴还需要配置一下回执地址 ——必须配置回执地址,务必配置!
https://sofire.baidu.com/push/deliver/v1/callback/huawei
慧推ssl证书:
- -----BEGIN CERTIFICATE-----
- MIIEaTCCA1GgAwIBAgILBAAAAAABRE7wQkcwDQYJKoZIhvcNAQELBQAwVzELMAkG
- A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
- b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9v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W/i9iIxerH4f4gu3K3w4s
- 32R1juUYcqeMOovJrKV3UPfvnqTgoI8UV6MqX+x+bRDmuo2wCId2Dkyy2VG7EQLy
- XN0cvfNVlg/UBsD84iOKJHDTu/B5GqdhcIOKrwbFINihY9Bsrk8y1658GEV1BSl3
- 30JAZGSGvip2CTFvHST0mdCF/vIhCPnG9vHQWe3WVjwIKANnuvD58ZAWR65n5ryA
- SOlCdjSXVWkkDoPWoC209fN5ikkodBpBocLTJIg1MGCUF7ThBCIxPTsvFwayuJ2G
- K1pp74P1S8SqtCr4fKGxhZSM9AyHDPSsQPhZSZg=
- -----END CERTIFICATE-----
复制代码
——复制以上证书至华为回执地址
【详细教程步奏】
1.登录华为开发者平台,找到消息推送配置项目
2.点击项目级回执或者应用级回执,点击开通按钮,在弹出界面,新建回执
3.输入自定义回执名字,和慧推回执地址,以及ssl证书
4.之后再次点击项目级回执 或者应用级回执按钮,点击【开通】,在弹出界面选择刚才添加好了的回执后保存;
5.确认回执状态已开启
|