I tried to configure an iOS. LocalNotification, but it looks like is not saving the fields. What's wrong?
UnityEngine.iOS.LocalNotification notification = new UnityEngine.iOS.LocalNotification();
notification.alertAction = "Alert Action Title";
notification.fireDate = new DateTime(2017, 10, 1);
Debug.Log("Notification alert action: " + notification.alertAction);
Debug.Log("Notification fire date: " + notification.fireDate);
Output:
Notification alert action:
Notification fire date: 01/01/2001 00:00:00
Using Unity 5.5.1p1
Thanks.
↧