Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,麻烦支持一下华为的消息分类 #80

Open
ansen666 opened this issue Nov 9, 2023 · 0 comments
Open

大佬,麻烦支持一下华为的消息分类 #80

ansen666 opened this issue Nov 9, 2023 · 0 comments

Comments

@ansen666
Copy link

ansen666 commented Nov 9, 2023

华为默认是资讯营销分类,这个分类是静默通知,仅在通知栏展示消息,并且一天只能发三条消息。
参考文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/message-restriction-description-0000001361648361

开发文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/message-classification-0000001149358835#section1085395991513

我看了下服务器的代码,需要在com.huawei.push.message.Message.Builder静态类中增加android属性,这也是个对象
参考文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-References/https-send-api-0000001050986197#ZH-CN_TOPIC_0000001700731289__p5203378238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant