Is there still an issue with LocalNotifications in Unity 5?

Hi, I saw a couple threads like this: Unity Issue Tracker - Local notifications are not working on iOS 8 and http://forum.unity3d.com/threads/local-notification-not-working-in-ios-8-unity4-5-4-xcode6-0-1.271487/ and am wondering if it’s still an issue in 5. A responder said it was fixed, but I’m having issues.

In my Start(), I call:

	#if UNITY_IPHONE
	iOS.NotificationServices.RegisterForNotifications(iOS.NotificationType.Alert);
	#endif

and in another function, I call:

    Debug.Log("ALERT!!!");
    var tornadoAlert: iOS.LocalNotification = new iOS.LocalNotification();
    tornadoAlert.alertAction = "Alert!";
    tornadoAlert.alertBody = "tornado test!";
    tornadoAlert.soundName = "tornado_alert";
    tornadoAlert.fireDate = Date.Now.AddSeconds(2);
iOS.NotificationServices.ScheduleLocalNotification(tornadoAlert);

But it doesn’t work. The editor will log the debug message, but the Xcode console will not. Any ideas?

Thanks!

: jesse

Hey try using UnityEngine.iOS.NotificationServices.ScheduleLocalNotification(notif);

It worked for me