- Home /
Local Notifications
Hi,
I am not able to make unity local notifications customizable . I was trying to change heading still its taking apps name. Notification Launch image is not changing. Also how can we change the style of notifications in unity as we do in Xcode? My code is
var notif = new LocalNotification();
notif.fireDate = System.DateTime.Now.AddSeconds(10);
notif.alertAction = "ALERT123";
notif.alertBody = "Local notification....plzz chk!";
notif.alertLaunchImage = launchimage.ToString();
notif.soundName = "zing.mp3";
NotificationServices.ScheduleLocalNotification(notif);
Please suggest me if I am doing anything wrong Any help would be great..
I'm having the same problem with my local notifications. Did your problem ever get solved or did you figure something out?
Answer by Timberoth · May 28, 2015 at 07:03 AM
I'm not exactly sure how to get the custom launch image working but it looks like you need to add your audio file to the Xcode project after it's built. http://answers.unity3d.com/questions/528947/custom-sounds-on-local-notifications-ios.html
HI, Thanks for your reply. I have gone through the link. and have already implemented the sound ,I wanted to know more about customised local notifications.
Your answer
Follow this Question
Related Questions
Finding the location and send notification? 1 Answer
Unity Local Notifications Inconsistency Issue? 0 Answers
[iOS] NotificationServices.localNotifications is empty when game is minimized 1 Answer
Clearing Notifications from the Notification Center from C# 0 Answers
Create Notification Service Extension using PostProcessBuild Script for Xcode 10 0 Answers