ios通知测试
parent
1596bcf21f
commit
b51d81a835
|
@ -1 +1 @@
|
|||
Subproject commit e308df9b0c54a031513e53e6ccea63cb23316105
|
||||
Subproject commit fdd9587d42783dadf5f859d31529e709e0c3588b
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,6 @@ UnityConnectSettings:
|
|||
m_GameIds:
|
||||
AndroidPlayer: 5640254
|
||||
iPhonePlayer: 5640255
|
||||
m_GameId: 5640254
|
||||
m_GameId: 5640255
|
||||
PerformanceReportingSettings:
|
||||
m_Enabled: 0
|
||||
|
|
Loading…
Reference in New Issue