Any one can show me some sample of IOS notification. I set up a simple like this. But nothing happen. No error alert.
var timeTrigger = new iOSNotificationTimeIntervalTrigger()
{
TimeInterval = delivery_time.TimeOfDay,
Repeats = false
};
var notification = new iOSNotification()
{
// You can specify a custom identifier which can be used to manage the notification later.
// If you don't provide one, a unique string will be generated automatically.
Identifier = _Identifier,
Title = "Hey! Come back to fight.",
Body = offlineCall[UnityEngine.Random.Range(0, offlineCall.Length)],
Subtitle = "Come back to fight",
ShowInForeground = true,
ForegroundPresentationOption = (PresentationOption.Alert | PresentationOption.Sound),
CategoryIdentifier = "category_a",
ThreadIdentifier = "thread1",
Trigger = timeTrigger,
};
iOSNotificationCenter.ScheduleNotification(notification);