Flutter_Messaging 不要在真实设备上播放声音 Android Phone

Flutter_Messaging Do Not Play Sound on a Real Android Phone

目前,我已经在我的应用程序上实现了 Firebase 云消息传递。通知在前台和后台运行。

当我运行模拟器上的应用程序时,声音是用默认音乐播放的。一旦我 运行 在真正的 Android 设备上,有通知​​但没有任何通知声音。有人可以告诉我问题出在哪里吗?

在发送给客户端的 JSON 中设置更高的优先级,这里有所有文档:

https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message