feat: 统一呼叫铃声 只是安卓本地呼叫通知声音改为微信铃声

This commit is contained in:
“DaisyWu” 2025-02-18 15:59:30 +08:00
parent 214ae198d9
commit 769fcdff65
2 changed files with 2 additions and 6 deletions

View File

@ -65,9 +65,7 @@ class UdpTalkRequestHandler extends ScpMessageBaseHandle
_handleSendExpect(); _handleSendExpect();
// //
//test:使 //test:使
if (Platform.isIOS) {
playRingtone(); playRingtone();
}
// //
_showTalkRequestNotification(talkObjectName: talkObjectName); _showTalkRequestNotification(talkObjectName: talkObjectName);
// //

View File

@ -78,10 +78,8 @@ class ScpMessageBaseHandle {
// //
void playRingtone() async { void playRingtone() async {
//test:使 //test:使
if (Platform.isIOS) {
await audioManager.playRingtone(); await audioManager.playRingtone();
} }
}
// //
void stopRingtone() async { void stopRingtone() async {