🐛 Trying to fix apns push notification sound

This commit is contained in:
LittleSheep 2025-06-01 01:56:36 +08:00
parent ca57faa7c3
commit 57775eb0a1

View File

@ -237,9 +237,7 @@ public class NotificationService(
}
if (notification.Priority >= 5)
{
dict["sound"] = new Dictionary<string, object> { ["name"] = "default", ["volume"] = 1.0 };
}
dict["sound"] = "default";
dict["platform"] = platformCode;
dict["alert"] = alertDict;