diff --git a/Forest/Assets/PhxhSDK b/Forest/Assets/PhxhSDK index e308df9..fdd9587 160000 --- a/Forest/Assets/PhxhSDK +++ b/Forest/Assets/PhxhSDK @@ -1 +1 @@ -Subproject commit e308df9b0c54a031513e53e6ccea63cb23316105 +Subproject commit fdd9587d42783dadf5f859d31529e709e0c3588b diff --git a/Forest/Assets/Scripts/Gameplay/Debug/SROptions.Notification.cs b/Forest/Assets/Scripts/Gameplay/Debug/SROptions.Notification.cs index d9c583e..9221d13 100644 --- a/Forest/Assets/Scripts/Gameplay/Debug/SROptions.Notification.cs +++ b/Forest/Assets/Scripts/Gameplay/Debug/SROptions.Notification.cs @@ -20,8 +20,11 @@ public partial class SROptions { #if UNITY_ANDROID DateTime dateTime = DateTime.Now.AddSeconds(10f); - NotificationID = Notification.Android.SetNotification("通知", "测试通知", DateTime.UtcNow.AddSeconds(5f), "small", "large", "测试", true); + NotificationID = Notification.Android.SetNotification("通知", "测试通知", dateTime, "small", "large", "测试", true); DebugUtil.Log($"发送安卓测试通知,通知id:{NotificationID},时间:{dateTime},测试版本1"); +#elif UNITY_IOS + Notification.IOS.SetNotification("1", "通知","测试通知"); + DebugUtil.Log($"发送IOS测试通知,通知id:{NotificationID},时间:{DateTime.Now.AddSeconds(10f)},测试版本1"); #endif } diff --git a/Forest/ProjectSettings/UnityConnectSettings.asset b/Forest/ProjectSettings/UnityConnectSettings.asset index 29b1b1d..22937ef 100644 --- a/Forest/ProjectSettings/UnityConnectSettings.asset +++ b/Forest/ProjectSettings/UnityConnectSettings.asset @@ -35,6 +35,6 @@ UnityConnectSettings: m_GameIds: AndroidPlayer: 5640254 iPhonePlayer: 5640255 - m_GameId: 5640254 + m_GameId: 5640255 PerformanceReportingSettings: m_Enabled: 0