# Push Notifications

**URL:** <https://forums.solar2d.com/t/push-notifications/288419>\
**Category:** Daily Builds and Public Releases\
**Created:** [March 14, 2011, 7:06pm UTC](https://forums.solar2d.com/t/push-notifications/288419 "2011-03-14T19:06:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![connorz](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/779978/32.png) [@connorz](https://forums.solar2d.com/u/connorz)\
**Post date:** [March 14, 2011, 7:06pm UTC](https://forums.solar2d.com/t/push-notifications/288419/1 "2011-03-14T19:06:04Z")

</div>

Hi,

I was wondering if there was or if there is any plan to include push notification capabilities with Corona. Alternatively, is there any way to send the user a message at a certain time without the app being open (or even if the app is just running in the background).

Thanks. [import]uid: 14385 topic\_id: 7853 reply\_id: 307853[/import]

---

<div class="post-metadata">

**Author:** ![ssinger](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@ssinger](https://forums.solar2d.com/u/ssinger)\
**Post date:** [March 16, 2011, 6:51am UTC](https://forums.solar2d.com/t/push-notifications/288419/2 "2011-03-16T06:51:01Z")

</div>

Currently - I have written a module to use HTTP and check a file on my web server to grab any notifications… works good. Just an idea for you.

[import]uid: 10965 topic\_id: 7853 reply\_id: 28094[/import]

---

<div class="post-metadata">

**Author:** ![connorz](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/779978/32.png) [@connorz](https://forums.solar2d.com/u/connorz)\
**Post date:** [March 16, 2011, 7:08am UTC](https://forums.solar2d.com/t/push-notifications/288419/3 "2011-03-16T07:08:48Z")

</div>

Yeah, but if the app is closed or only running in the background, that won’t work correct? The app needs to be up and running to make an HTTP request right? Thanks for that suggestion though, I basically want to have a reminder notification like you would have in a to do application or an alarm application. Any suggestions? [import]uid: 14385 topic\_id: 7853 reply\_id: 28097[/import]

---

<div class="post-metadata">

**Author:** ![ssinger](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@ssinger](https://forums.solar2d.com/u/ssinger)\
**Post date:** [March 16, 2011, 7:24am UTC](https://forums.solar2d.com/t/push-notifications/288419/4 "2011-03-16T07:24:18Z")

</div>

I have not had time to test this myself — but does the Timer() continue to run while in background or does it suspend.

Try wrapping the HTTP request into a continuous timer - have it check every so often and see if it still runs while App is in background.

I would be interested to know if this idea would work. [import]uid: 10965 topic\_id: 7853 reply\_id: 28098[/import]

---

<div class="post-metadata">

**Author:** ![Namal](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/n/9dc877/32.png) [@Namal](https://forums.solar2d.com/u/Namal)\
**Post date:** [March 24, 2011, 1:18am UTC](https://forums.solar2d.com/t/push-notifications/288419/5 "2011-03-24T01:18:57Z")

</div>

Hi,  
Any update on Push Notifcations ? We desperatly need them : we have done a quick prototype of an app using Corona last week-end (was a startup-weekend, some of you may know the works: 48 hours to design and build a project form scratch), we won a price, now is time for industrialization of the App.  
Either Push notifications may appear (is there anyway we can help you guys on that ? We’d be ready to spend free time on that …) soon, or we’ll have to code it back in good old XCode that we wanted to forget about ;).

Thanks,

Phil  
Moving Player  
Maker of Yslandia MMORPG [import]uid: 38495 topic\_id: 7853 reply\_id: 29291[/import]

---

<div class="post-metadata">

**Author:** ![Sunny](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/7c8e57/32.png) [@Sunny](https://forums.solar2d.com/u/Sunny)\
**Post date:** [March 24, 2011, 2:34am UTC](https://forums.solar2d.com/t/push-notifications/288419/6 "2011-03-24T02:34:31Z")

</div>

Agreed !

Please Carlos !!! [import]uid: 3638 topic\_id: 7853 reply\_id: 29297[/import]

---

<div class="post-metadata">

**Author:** ![jhocking](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/b487fb/32.png) [@jhocking](https://forums.solar2d.com/u/jhocking)\
**Post date:** [March 24, 2011, 1:15pm UTC](https://forums.solar2d.com/t/push-notifications/288419/7 "2011-03-24T13:15:16Z")

</div>

i just thought of a possible workaround, tell me if this would work.

You could set up a server to send the user an email or text alert or something, and then the app will download the information when the user launches it.

does the Timer() continue to run while in background

Corona doesn’t support multi-tasking. I’m not sure iPhone even allows a background timer like that, but if so Corona doesn’t support that anyway.

ADDITION: I just noticed this in Code Exchange, maybe Corona does support push…  
[http://developer.anscamobile.com/code/multiplayer-networking](http://developer.anscamobile.com/code/multiplayer-networking) [import]uid: 12108 topic\_id: 7853 reply\_id: 29323[/import]

---

<div class="post-metadata">

**Author:** ![carlos\_m\_icaza](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@carlos\_m\_icaza](https://forums.solar2d.com/u/carlos_m_icaza)\
**Post date:** [March 24, 2011, 6:20pm UTC](https://forums.solar2d.com/t/push-notifications/288419/8 "2011-03-24T18:20:00Z")

</div>

native push is coming — adding game center makes push noti easier but still a bit tricky coding wise for corona so we can expose the same api if a similar push would exist for android

c [import]uid: 24 topic\_id: 7853 reply\_id: 29422[/import]

---

<div class="post-metadata">

**Author:** ![Namal](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/n/9dc877/32.png) [@Namal](https://forums.solar2d.com/u/Namal)\
**Post date:** [March 25, 2011, 12:40am UTC](https://forums.solar2d.com/t/push-notifications/288419/9 "2011-03-25T00:40:57Z")

</div>

Dear Carlos,

Thanks for your reply. Any chance to get a timeframe regarding this integration, just to know if I spend the next weeks enjoying the Riviera’s spring sun or I try to get tanned in front of my Mac ?

Cheers,

Phil [import]uid: 38495 topic\_id: 7853 reply\_id: 29441[/import]

---

<div class="post-metadata">

**Author:** ![ssfulfe](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@ssfulfe](https://forums.solar2d.com/u/ssfulfe)\
**Post date:** [March 25, 2011, 10:31am UTC](https://forums.solar2d.com/t/push-notifications/288419/10 "2011-03-25T10:31:16Z")

</div>

Carlos,

Will push work for both iOS and Android? We have a proposal for an app that would need this. If it is coming soon enough we could look at doing it in Corona SDK.

-Steven [import]uid: 7175 topic\_id: 7853 reply\_id: 29483[/import]

---

<div class="post-metadata">

**Author:** ![carlos\_m\_icaza](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@carlos\_m\_icaza](https://forums.solar2d.com/u/carlos_m_icaza)\
**Post date:** [March 25, 2011, 11:47am UTC](https://forums.solar2d.com/t/push-notifications/288419/11 "2011-03-25T11:47:53Z")

</div>

If i can find something that’s functional to Apple’s push in Android, that meets our requirement yes.  
[import]uid: 24 topic\_id: 7853 reply\_id: 29503[/import]

---

<div class="post-metadata">

**Author:** ![carlos\_m\_icaza](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/c/bc8723/32.png) [@carlos\_m\_icaza](https://forums.solar2d.com/u/carlos_m_icaza)\
**Post date:** [March 25, 2011, 11:47am UTC](https://forums.solar2d.com/t/push-notifications/288419/12 "2011-03-25T11:47:57Z")

</div>

If i can find something that’s functional to Apple’s push in Android, that meets our requirement yes.  
[import]uid: 24 topic\_id: 7853 reply\_id: 29504[/import]

---

<div class="post-metadata">

**Author:** ![jhocking](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/b487fb/32.png) [@jhocking](https://forums.solar2d.com/u/jhocking)\
**Post date:** [April 4, 2011, 8:41am UTC](https://forums.solar2d.com/t/push-notifications/288419/13 "2011-04-04T08:41:44Z")

</div>

As a follow up to my earlier suggestion of using text messages as a workaround for push notifications, here’s info on how to send texts from a web app:  
[http://stackoverflow.com/questions/432944/sms-from-web-application](http://stackoverflow.com/questions/432944/sms-from-web-application) [import]uid: 12108 topic\_id: 7853 reply\_id: 30683[/import]

---

<div class="post-metadata">

**Author:** ![pradeep.h](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/85e7bf/32.png) [@pradeep.h](https://forums.solar2d.com/u/pradeep.h)\
**Post date:** [April 7, 2011, 5:10am UTC](https://forums.solar2d.com/t/push-notifications/288419/14 "2011-04-07T05:10:07Z")

</div>

Hi,

Can anyone help me how to manage a complex game coding in corona [import]uid: 42176 topic\_id: 7853 reply\_id: 31084[/import]

---

<div class="post-metadata">

**Author:** ![davidahn](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@davidahn](https://forums.solar2d.com/u/davidahn)\
**Post date:** [April 8, 2011, 2:44pm UTC](https://forums.solar2d.com/t/push-notifications/288419/15 "2011-04-08T14:44:14Z")

</div>

+1 for push… incidentally, not just push notifications, but push data. [import]uid: 51497 topic\_id: 7853 reply\_id: 31753[/import]

---

<div class="post-metadata">

**Author:** ![w3bproducts](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/w/8e7dd6/32.png) [@w3bproducts](https://forums.solar2d.com/u/w3bproducts)\
**Post date:** [April 11, 2011, 10:54am UTC](https://forums.solar2d.com/t/push-notifications/288419/16 "2011-04-11T10:54:16Z")

</div>

How about XMPP? - [http://xmpp.org/](http://xmpp.org/)

There’s a LUA client library called “Verse” ( [http://code.matthewwild.co.uk/verse](http://code.matthewwild.co.uk/verse) ) which should do the trick, if expat were built into Corona. I’m happy to help out on the integration if you want.

[import]uid: 50383 topic\_id: 7853 reply\_id: 32004[/import]

---

<div class="post-metadata">

**Author:** ![jhocking](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/j/b487fb/32.png) [@jhocking](https://forums.solar2d.com/u/jhocking)\
**Post date:** [April 11, 2011, 11:33am UTC](https://forums.solar2d.com/t/push-notifications/288419/17 "2011-04-11T11:33:19Z")

</div>

@pradeep: Not sure why you thought this is the right place to post your question. I would point you to ask in the Newcomer’s Forum, but a question that broad can only be answered with “click Resources at the top of the page and read that.” [import]uid: 12108 topic\_id: 7853 reply\_id: 32007[/import]

---

<div class="post-metadata">

**Author:** ![PatrickDadzio](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/858c86/32.png) [@PatrickDadzio](https://forums.solar2d.com/u/PatrickDadzio)\
**Post date:** [April 14, 2011, 5:35am UTC](https://forums.solar2d.com/t/push-notifications/288419/18 "2011-04-14T05:35:38Z")

</div>

Any news about push notification and when it will be available? [import]uid: 4589 topic\_id: 7853 reply\_id: 32421[/import]

---

<div class="post-metadata">

**Author:** ![luna](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@luna](https://forums.solar2d.com/u/luna)\
**Post date:** [April 17, 2011, 12:37pm UTC](https://forums.solar2d.com/t/push-notifications/288419/19 "2011-04-17T12:37:21Z")

</div>

@anyone

Any news on push notifications?  
How about badges?

A project I have scheduled is aching for this. Otherwise, it’s back to Obj-C for me.

[import]uid: 8045 topic\_id: 7853 reply\_id: 32875[/import]

---

<div class="post-metadata">

**Author:** ![taweesakh](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/ec9cab/32.png) [@taweesakh](https://forums.solar2d.com/u/taweesakh)\
**Post date:** [May 3, 2011, 3:48am UTC](https://forums.solar2d.com/t/push-notifications/288419/20 "2011-05-03T03:48:18Z")

</div>

Any update on push notification ? [import]uid: 39186 topic\_id: 7853 reply\_id: 34940[/import]

[Next page](https://forums.solar2d.com/t/push-notifications/288419.md?page=2)
