• 8

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

In Android push notification is handled by Google c2dm servers and same for iphone(Apple Servers) and Windows(MPNS). You have to register your app to all three services separately to enable push notification in your app. So while registering user you should send the the information which phone user is currently using to your server and save it in user table and then you have to call remote methods to appropriate servers for sending push notification to particular user.

  • 11
Reply Report
      • 1
    • Honestly, i am not sure about why this got downvoted. This guy explained the pushing problem, saying that you can basically do the push manually for each platform.
      • 2
    • While correct, this is not a super helpful answer as the original question was about finding a single service that could handle all major platforms.

Also, take a look at this github projects:

  • PushSharp: It was made in C#, but seems to be solid.

  • pushd: It was made using Javascript (actually coffeescript), and requires Node.js.

Both of them supports Andoird, Windows Phone and iOS. I haven't tested them, so I can't give you more insights.

  • 10
Reply Report
      • 2
    • @AndreasLarsen No! It's a trap! Our company uses Parse for a product, it's absolute hell to work with. API changes without reflected documentations, silly rate limits and no batch requesting.
      • 1
    • Thanks for the heads up. The only problem I have had so far is they do not automatically clean up the user database when users uninstall and later reinstall the app, causing multiple push notifications to the same user as well cost you double for that user.

Take a look at pushwoosh

They provide push services for almost all mobile platforms, including Android, iOS, Windows Phone, Blackberry, Nokia and others. Easy to use and modify.

  • 10
Reply Report

There's also Urban Airship, who seems to be leading the space at the moment. What are your requirements? They offer 1,000,000 free push messages per month.

Unwired Nation and RhoMobile also have solutions if your product is more B2B focused. RhoMobile has a Ruby SDK and Unwired offers an XML API with basic user registration. Unwired Nation's package also includes a basic 2way messaging UI for iOS, Android, and Windows Phone.

@Raspu BTW, thanks for pointing out pushd, looks cool!

  • Disclaimer: I built the Push-Composer equivalent for the Unwired Nation solution.
  • 2
Reply Report
      • 2
    • Urban Airship has moved away from the free push messages model and now their minimum monthly price is $200/month, so I no longer recommend them. Currently looking for the best replacement, myself.
      • 2
    • Thanks Bek, great point. I'd edit my answer but I don't have any better suggestions either. I took a look at pushwoosh as recommended by @achukrishnan, and it looks great (free unlimited pushes for all platforms) but I can't recommend it with any additional gusto because I haven't tried it personally.