通知在xiomi设备上的锁定屏幕上不显示

发布于 2025-02-12 23:31:49 字数 301 浏览 1 评论 0原文

我正在使用 ZO0R 推动通知。通知工作正常,但是它们都没有出现在锁屏上,也没有出现在移动设备上,即使我将优先考虑到公众和知名度。有解决方案吗?

 visibility: 'public',
 priority: 'high',
 importance: Importance.HIGH,

I'm using push notifications by zo0r. Notifications are working fine but neither they show up on lockscreen nor they wake up mobile even though i've set priority to high and visibility to public. any solution?

 visibility: 'public',
 priority: 'high',
 importance: Importance.HIGH,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单调的奢华 2025-02-19 23:31:49

在发送通知时,您可以将优先级设置为高。

https://docs.expo.dev/versions/latest/latest/sdk/notifications /

在此处输入图像描述

可能会起作用。

While sending the notification U can set priority to high.

Look at https://docs.expo.dev/versions/latest/sdk/notifications/

Also enter image description here

May It gonna be work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文