【需求】荣耀手机离线推送 #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
需求描述:荣耀手机离线推送功能
应用名称:
知你
应用包名:
com.xunpaisoft.social
SHA256证书指纹1:
9017939B7CDA5C41482A8BAAEAE587CD9025525AC30B9644293A1E4BC8F6B825
申请时间:
2024-12-26 22:49:39
APP ID:
104475849
APP Secret:
8cdcbb2485c3f333fa8fd226707212adbe95d733bb672933c14c0d72e60b550f
Client ID:
d9fbf0f049834fb992df547819f8b160
Client Secret:
37MeGLszVlQrNNcQ2JMZxhXTHq1E0FQy
自己搭服务,使用postman可以跑起来
{
"sender": "test_sender_001",
"senderName": "卷毛小泡面",
"senderPortrait": "",
"convType": 0,
"target": "honor_device_001",
"targetName": "Honor设备",
"targetPortrait": "",
"userId": "honor_device_001",
"line": 0,
"cntType": 1,
"serverTime": 1767511609324,
"pushMessageType": 0,
"pushType": 9,
"pushContent": "早上好",
"pushData": "",
"unReceivedMsg": 1,
"mentionedType": 0,
"packageName": "com.xunpaisoft.social.im",
"deviceToken": "BAEAAAAAB.josyeHUUBo1Rf2l880iKwLtk53TbhdMw1fYLoz4w7-v2PjK10KTIrd0vCRbIHQXpOuOlu4E2WW4wMRX1XLq65JWG4eiNJ15gTd96DLqaJ6nLW_hDQHnLPA",
"voipDeviceToken": "",
"isHiddenDetail": false,
"language": "zh_CN",
"messageId": 0,
"callStartUid": 0,
"republish": false,
"existBadgeNumber": 0
}
代码路径

可以收到离线推送的消息