使用push kit,确保用户允许接收通知消息。REST API发送通知消息,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/push-send-alert-V5支持在应用后台进程终止后仍然能够推送消息及角标。
使用push kit,确保用户允许接收通知消息。
REST API发送通知消息,参考链接:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/push-send-alert-V5支持在应用后台进程终止后仍然能够推送消息及角标。