Who's using what for Push Notifications?

hi, all. I wonder what you are using currently for your push notification needs. I did a lot of research into push services that would work for both Android and iOs and had a really difficult time meeting my use case, which is to allow clients to schedule push from their device. I can do it using Parse.com on iOs, so that is what I went with, but Parse doesn’t work for Android builds as you can’t register a device id the way they want you to (via the Manifest) and Parse uses its own Push service, not GCM.

I tested Urban Airship (solid, but can’t schedule push from client), Parse (works well for iOs), PushSwoosh (couldn’t make it work at all), and maybe some others with varied success. As long as they had a REST API I could tap into, I tried it! :slight_smile:

This is all prior to CoronaCloud, but CC won’t work for the above use case (yet…Mohamed, where’s that scheduled push from client capability? :))

So I’d like to know, what are you using, what’s your use case for which you found success, what works for you for cross-platform push?

thanks,

Jen

Hello,

Sorry if I do not anwser your question but I have one about Parse / Android.

I’m developping a game with Corona SDK and Parse. After reading your remarks about Parse / Push on android, I’m confused.

The problem is to register for push notifications, we need the installationid of the device which can be retrieved only by calling a native function. So if we don’t have enterprise license, we are stuck, right ?

According to my painful experience, your above statement is correct. I was forced to use local notifications for Android. It’s not ideal for my use case. Wish I had a different answer. Corona engineer-gurus, please prove me wrong?

I just researched this for my game.

Parse.com => No go on Android

Urban Airship => No go on Android

Pushwoosh => Works on Android

I got Pushwoosh to work fine using their example. I tried registering device and send notification from their site.  But you need to pay to use remote API. I know that if you contact them they will give you free trial while you test it out. If you are pushing more than the free limit on Urban and Parse it is a good price compared to the competitors.

I really hope we can get plugins for UA and Parse though.

I can see that we (me, jonjonsson and jen.looper) are still looking for a way to push on Android :stuck_out_tongue_winking_eye:
 

I have found something interesting :

http://www.coronalabs.com/blog/2012/12/25/corona-holiday-gifts-android-push-and-more/

So we can use GCM and depends on what we need :

  • we can directly send a push from our mobile application

  • we can setup our own server (in Google App Engine for example) to perform scheduled tasks / pushs

hi, Emmanuel, and welcome to the “Oh.My.God.Why.Is.Push.So.Darn.Hard” club :slight_smile: for Android. Yeah, we can definitely send pushes to Android devices as long as we use GCM directly or use a service that leverages GCM such as PushSwoosh. 

Interestingly, Urban Airship is now using GCM rather than their homegrown ‘Helium’ service (see below). This means that we ought to be able to use them for basic push needs. 

  • I just took another look at UA and see that they seem to support Scheduled Notifications. It would be worth testing for iOs and Android. UA is a solid push service that I know works using Corona for iOs at least. It has some more robust capability in that you can also have your clients subscribe to channels. 

What UA service should I be using for Google Android?

 

Since Helium is being sunset (see our FAQ)You should be using our Google Cloud Messaging (GCM) service.  All new customers default to GCM, and we are actively working with customers currently using our Helium platform for Android to help them migrate to GCM.

 

Are there any limitations to UA’s support of Google Cloud Messaging (GCM)?

 

Urban Airship provides full support for the GCM API.  You can use our service to send push notifications to any device running Android 2.2 or higher (97% of the market).  

Regarding UA, even though they use GCM you still have to require their .jar as far as I could tell.

This page has sample device registration with Curl for iOS but for Android they just say “Android APID registration should always happen from our client library. See our docs here for more information.”

I think we really ought to write a Parse or UA push plugin. I’ve emailed plugins@coronalabs.com to see what they think. Jon, maybe you and I can collaborate to get something working. We really need this.

Another plugin I’d like to see is Kiip! That’s a cool thing for ‘real rewards’. 

thanks, let’s keep trying

Jen

Thanks Jen for letting me join the “Oh.My.God.Why.Is.Push.So.Darn.Hard” club :wink:

If you have more information about Corona SDK + Push (Parse, UA …) for Android, let me know ! (Hope if there is a solution, it won’t be a “pro” feature only ;P).

I’m going to try when I have time to setup a server (PHP or Python) with Google App Engine for pushing.

Good luck for your projects !

I had a soo much trouble trying to get push to work on android. I ended up putting together a rails app, set up on heroku, that I post the android’ s device Id to. From there I post to gcm and the push goes through. This way I can use rails to send notification to specific users. The corona app just registers the device Id upon launch. I still can’t read launchargs but that’s another thread.

I’m doing the same but with Tornado (Python). When I send ID to server I register if its and android or an ios device. If iOS I use UA. Just sucks to have to use 2 different methods on the server.

I actually just recently made a little bit of progress using Parse’s cloud code. It is sort of like using Heroku in that you write locally and then post it up to your servers. You then call the cloud code via the regular network request. The cloud code can call GCM. I have it working for one element in my app, and I’m hoping I can make it work for Android push… I’ll let you know! Thanks for the input!

I would love to hear more on this. I recently started using Parse for IOS and implemented their REST API on my small web app that my client will see to send their push messages so its all happy happy. Now I need to deliver on Android. I’m ok to use a totally separate service if it comes to that. Anything that works for Android with the ease of Parse on IOS?

Thanks!!!

Hang tight, ksan, I’m working on it. I love Parse and use it for almost everything I need server-side so if I can make the cloud code solution work I’ll post here. :slight_smile:

This is great!!! Thanks much for persevering with this effort. Cheers!!!

Just read this thread once again. So if I understand this right, PushWoosh works on both platforms without much fuss but the downside is the monthly $ that needs to be paid for remote API right? With Parse if you stay under the threshold its all free which is great! 

Yes that pretty much sums it up.

Soldier on Jen! :slight_smile:

Hello,

Sorry if I do not anwser your question but I have one about Parse / Android.

I’m developping a game with Corona SDK and Parse. After reading your remarks about Parse / Push on android, I’m confused.

The problem is to register for push notifications, we need the installationid of the device which can be retrieved only by calling a native function. So if we don’t have enterprise license, we are stuck, right ?

According to my painful experience, your above statement is correct. I was forced to use local notifications for Android. It’s not ideal for my use case. Wish I had a different answer. Corona engineer-gurus, please prove me wrong?

I just researched this for my game.

Parse.com => No go on Android

Urban Airship => No go on Android

Pushwoosh => Works on Android

I got Pushwoosh to work fine using their example. I tried registering device and send notification from their site.  But you need to pay to use remote API. I know that if you contact them they will give you free trial while you test it out. If you are pushing more than the free limit on Urban and Parse it is a good price compared to the competitors.

I really hope we can get plugins for UA and Parse though.