我正在使用Xamarin的ARC通知插件创建一系列通知,但是尽管我至少将日期和时间设置为距离当前日期至少一天,所有的通知都会在打开应用后立即发送。我的问题是,我该如何设置通知模型,以便在指定的日期/时间接收通知?
var notif = new Notification(){
Id = count++,
Date = item.PostDate.Date,
Title = item.Type.Equals(DayType.Duminica)
? item.Title
: $"{item.Title} {Helpers.GetCurrentDateOldFormat(item.PostDate.AddDays(-13))}",
Message = item.Content,
When = App.Settings.NotificationTime // new TimeSpan(08, 00, 00)
};