It looks like you're new here. If you want to get involved, click one of these buttons!
require "notifications"; notifications.scheduleLocalNotification { alertBody = "Hello Gideros!!", hasAction = true, alertAction = "Check It Out!", badge = 12, --time = "2012-06-05 20:42:32 +0530", timeInterval = {seconds = 5}, } |
Likes: mehmetuysal
Comments
I think for the detection when you open the app you need to pick up the custom URL scheme for your app, here's a link to some sample code.
http://mobiledevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
Although I doubt this is something we can sort out, it would have to be exposed by @Atilim (I think)
However - I think you can work around this, given that you are setting the local notification (are they only based on time??), you could make sure you save an appropriate flag when you initialise the notification and then when your app starts just check the flag and then you can have a pretty good idea why your app was started (if that makes sense).
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Nice work @SatheeshJM. I would better if you support a callback event when launching app from local push notification. I've got stuck here too