Daily local notification?

Seen a few questions about this, but no answers.

Does Corona have a way for an app in the background to do a daily local notification? I want my app to be able to alert the user once per day at a set time. If they have already played that day, I don’t want to alert them for that day, but alert them again the following day.

I am not seeing how this can be done with the documentation provided for scheduling notifications.

Is it possible?

[import]uid: 17827 topic_id: 30277 reply_id: 330277[/import]

See the recent post on push notifications, as a warning about this type of app behaviour, however see blog post tutorials about local notifications for what you want.

http://www.coronalabs.com/blog/2012/06/05/local-notifications-guide-ios/ [import]uid: 8271 topic_id: 30277 reply_id: 121319[/import]

I have a couple of games that annoy me with “Play me” reminders. I’ve turned them off and it pissed me off to a point I don’t want to play the game any more. It’s one thing for Words with Friends to notify me that it’s my turn, but its spam to say “Play me today”. I missed it, but Walter was hosting a Friday Night Forum discussion on this topic:

http://www.coronalabs.com/blog/2012/08/24/friday-night-forum-push-notifications-the-new-spam/

So be careful with how you implement it. [import]uid: 19626 topic_id: 30277 reply_id: 121351[/import]

See the recent post on push notifications, as a warning about this type of app behaviour, however see blog post tutorials about local notifications for what you want.

http://www.coronalabs.com/blog/2012/06/05/local-notifications-guide-ios/ [import]uid: 8271 topic_id: 30277 reply_id: 121319[/import]

Understandable that a daily “Play me” is not desirable.

What I really wanted to do was have the app (in suspended state) download the daily update at a certain time and then have the notification sent to the user that the update was ready to play. But it does not appear that is possible. I was thinking that push notifications when the update was available would be an option, but that might get complicated and/or costly too.

And I did review the local notification guide, but unfortunately, I don’t see a way that it could be done. To have a daily notification at a set time, but turn it off for one day based on a condition, and have it continue the next.

Thanks for the comments. Always appreciate it. [import]uid: 17827 topic_id: 30277 reply_id: 121938[/import]

I have a couple of games that annoy me with “Play me” reminders. I’ve turned them off and it pissed me off to a point I don’t want to play the game any more. It’s one thing for Words with Friends to notify me that it’s my turn, but its spam to say “Play me today”. I missed it, but Walter was hosting a Friday Night Forum discussion on this topic:

http://www.coronalabs.com/blog/2012/08/24/friday-night-forum-push-notifications-the-new-spam/

So be careful with how you implement it. [import]uid: 19626 topic_id: 30277 reply_id: 121351[/import]

The only apps which can background download (while not running) are newsstand apps because there is a specific API made available for that by apple. [import]uid: 8271 topic_id: 30277 reply_id: 122105[/import]

Understandable that a daily “Play me” is not desirable.

What I really wanted to do was have the app (in suspended state) download the daily update at a certain time and then have the notification sent to the user that the update was ready to play. But it does not appear that is possible. I was thinking that push notifications when the update was available would be an option, but that might get complicated and/or costly too.

And I did review the local notification guide, but unfortunately, I don’t see a way that it could be done. To have a daily notification at a set time, but turn it off for one day based on a condition, and have it continue the next.

Thanks for the comments. Always appreciate it. [import]uid: 17827 topic_id: 30277 reply_id: 121938[/import]

The only apps which can background download (while not running) are newsstand apps because there is a specific API made available for that by apple. [import]uid: 8271 topic_id: 30277 reply_id: 122105[/import]

Been waiting for corona to add the ability to schedule local notifications to be fired at the same time each day for months. Can you point us at the blog posts you mention to show how to do this, horacebury? Because for the life of my I can’t find them with google.

It’s such a basic thing - my app is a utility, not a game - and I need my users to be able to choose to set notifications to remind them to do their daily exercises. My native android version has this feature and it’s pretty annoying that the iOS version is so far lacking it :frowning: [import]uid: 147695 topic_id: 30277 reply_id: 124718[/import]

Been waiting for corona to add the ability to schedule local notifications to be fired at the same time each day for months. Can you point us at the blog posts you mention to show how to do this, horacebury? Because for the life of my I can’t find them with google.

It’s such a basic thing - my app is a utility, not a game - and I need my users to be able to choose to set notifications to remind them to do their daily exercises. My native android version has this feature and it’s pretty annoying that the iOS version is so far lacking it :frowning: [import]uid: 147695 topic_id: 30277 reply_id: 124718[/import]

https://developer.coronalabs.com/forum/2012/08/27/daily-local-notification#comment-121319 [import]uid: 8271 topic_id: 30277 reply_id: 125566[/import]

hi thegdog,

do you solved this problem?
i want to achieve the alarm clock.But i don’t how to rang per day from my app.
if U have many idea please contact me [import]uid: 94020 topic_id: 30277 reply_id: 125569[/import]

horacebury that is a link to this same thread! i’m talking about where you said:

" however see blog post tutorials about local notifications for what you want."

what are these blog post tutorials you mention? [import]uid: 147695 topic_id: 30277 reply_id: 125576[/import]

Yes, because the first post in this thread I included a link to the blog post about local notifications. The other information would be in the API documentation, which you should definitely browse. [import]uid: 8271 topic_id: 30277 reply_id: 125583[/import]

oh, believe me, i’ve looked at the documentation. a repeating notification is a feature which corona is so far lacking. i was just curious if anyone had discovered a workaround to achieve the result.
it seems strange to me that it’s missing, as it’s a function that i’d imagine a lot of utility apps would require. [import]uid: 147695 topic_id: 30277 reply_id: 125584[/import]

I have not really used the notifications at all. Perhaps suggest this to CoronaLabs:

http://stackoverflow.com/questions/3426882/iphone-how-to-set-repeat-daily-hourly-local-notification [import]uid: 8271 topic_id: 30277 reply_id: 125592[/import]

I’ve written an email. Couldn’t find a ‘features suggestion’ page… [import]uid: 147695 topic_id: 30277 reply_id: 125602[/import]

hi zoobuffalo

Feature Requests (Closed)

any corona‘s staff help us? [import]uid: 94020 topic_id: 30277 reply_id: 125688[/import]

xmdych,
No I did not. For the time being, I have abandoned the idea of doing local notifications. [import]uid: 17827 topic_id: 30277 reply_id: 125700[/import]