Hello guys, I am interested in adding local notifications to my game, I'm using pushwoosh and the Unity Plugin. I found that in the Unity Plugin in the Android version there is a function like this:

public void scheduleLocalNotification(string message, int seconds)

But I'm also interested in using the Local Notification for iOS but in the Pushwoosh Unity SDK I dont see a function for doing it, is it possible to do a local notification in iOS? And with the Pushwoosh Unity SDK ?

Update: I see that Unity has a function for doing this, but I would like to use the pushwoosh sdk... The unity documentation -> http://docs.unity3d.com/ScriptReference/iOS.LocalNotification.html

asked 04 Jun '15, 15:53
emora's gravatar image


edited 04 Jun '15, 15:59

Using the Unity function is this:

void SetLocalNotification(string text, int seconds){ LocalNotification lNotification = new LocalNotification(); lNotification.alertBody = text; lNotification.fireDate = System.DateTime.Now.AddSeconds(seconds); NotificationServices.ScheduleLocalNotification(lNotification); }

permanent link
answered 04 Jun '15, 16:18
emora's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Jun '15, 15:53

question was seen: 4,128 times

last updated: 04 Jun '15, 16:18