I’m working on debugging a mobile game for iOS and I have found Unity Remote 4 to be invaluable for unit testing. One thing I did notice however is that push notifications are not appearing during the test. Are notifications not supported or am I just setting things up wrong?
An example code fragment for my use of notifications:
void throwNote()
{
LocalNotification notif = new LocalNotification();
notif.alertAction = "Title";
notif.alertBody = "Body";
notif.fireDate = DateTime.Now;
NotificationServices.ScheduleLocalNotification(notif);
}
Everything compiles correctly with no errors or warnings when the method is called. Thanks for the help.