notification not working

Guys,

this is just a sample test… I just want to try an get a notification happening every 10 seconds…
So I have created a schedule notification and within the event notification I am adding a schedule notification…

but it doesn’t seem to work… any thoughts?

main.lua

  
 local launchArgs = ...  
local TextTest = display.newText("Test", 50, 50, native.systemFont, 12)  
TextTest:setTextColor(255, 255, 255)  
  
local counter = 0  
  
 local options = {  
 alert = "Wake up 1!",  
 badge = 1,  
 custom = { anythingYouWant = "Corona SDK Rocks1!" }  
 }  
  
TextTest.text = counter  
  
  
local function notificationListener( event )  
  
  
 counter = counter + 1  
 TextTest.text = counter  
 system.scheduleNotification( 10 , options )  
  
end  
  
Runtime:addEventListener( "notification", notificationListener )  
  
system.scheduleNotification( 10 , options )  
if launchArgs and launchArgs.notification then  
 -- call the event listener manually:  
 notificationListener( launchArgs.notification )  
end  
  
  

build.settings

[code]

settings =
{
iphone = {
plist = {
UIApplicationExitsOnSuspend = false
}
}
}
[/code] [import]uid: 67619 topic_id: 24788 reply_id: 324788[/import]

anyone? can a notification be scheduled through another notification? even when the app is in the background? has anyone managed to achieve this?

is it a bug? [import]uid: 67619 topic_id: 24788 reply_id: 101563[/import]

Any code you put in listener will be called if you open application by clicking on notification.
So there is no way to schedule next notification without opening app. [import]uid: 41153 topic_id: 24788 reply_id: 102887[/import]

delwing…

but reading this article

http://blog.anscamobile.com/2011/10/daily-builds-update-626-631/

gives me the impression that you can…

have I missed something?

Vik [import]uid: 67619 topic_id: 24788 reply_id: 103434[/import]

guys… any update on this? I submitted this as a bug on the 19/4/2012… Case 13681 … any update? [import]uid: 67619 topic_id: 24788 reply_id: 105640[/import]

yes… hope more devs complain about that.

its a long known bug…

[import]uid: 4795 topic_id: 24788 reply_id: 105767[/import]

Local notification in Corona not working like they should!
It is real annoying inconvenience. For me and other developers if notyfication does not work in backgroud it means they not work at all!
Question to Corona Staff: Do you know that local notification does not work??? [import]uid: 137478 topic_id: 24788 reply_id: 115923[/import]