Push Notifications

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]

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]

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]

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]

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]

Agreed !

Please Carlos !!! [import]uid: 3638 topic_id: 7853 reply_id: 29297[/import]

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 [import]uid: 12108 topic_id: 7853 reply_id: 29323[/import]

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]

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]

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]

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]

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]

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 [import]uid: 12108 topic_id: 7853 reply_id: 30683[/import]

Hi,

Can anyone help me how to manage a complex game coding in corona [import]uid: 42176 topic_id: 7853 reply_id: 31084[/import]

+1 for push… incidentally, not just push notifications, but push data. [import]uid: 51497 topic_id: 7853 reply_id: 31753[/import]

How about XMPP? - http://xmpp.org/

There’s a LUA client library called “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]

@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]

Any news about push notification and when it will be available? [import]uid: 4589 topic_id: 7853 reply_id: 32421[/import]

@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]

Any update on push notification ? [import]uid: 39186 topic_id: 7853 reply_id: 34940[/import]