Reputation: 41749
We all know that as of Android 2.2 a push notification system exists (C2dM). However, I do not see many developers using it. In my next project I plan (hope so) to use this system. So before I dig into it, I would like to know what are the bad sides of it? Why people do not use it?
It can't be just because of incompatibility with systems older that 2.2.
Upvotes: 6
Views: 1140
Reputation: 631
I think a lot don't use it because
With Apple Push, it is pretty straight forward (on the device side), you simply invoke a call and it gives you the device token. With C2DM, you have to (though you can dig for the google account) prompt the user for the google account, then you have to hope they don't have too many Apps already registered for C2DM (100 limit now).
Server side, I'd say C2DM is a lot easier than push, you simply are invoking a service, with APNS you need to setup pipes, use certificates, etc. It isn't easy for most to do. C2DM is just invoking a HTTP call. The server aspect adds a bit of expense as well, hosting application services isn't always cheap.
I don't see a lot of Apps having the need for it, so far Twitter and Facebook seem to be (Though they may be using something else, I am not sure).
And, it is still a beta service. Do developers want to invest a lot of time in a beta service? Not all do, some will take the risks.
I've used it and I like it, I have it coupled with APNS and have had great success so far.
Upvotes: 2
Reputation: 20325
Nice question. Here is my 2 cents :
I don't think people are not using it. Rather I find most developers are very much interested in it and are implementing it. My C2DM post has the most visitors of all my posts.
However the problem might be for individual developers who develop stand alone apps. They may be reluctant to use it since they will require to maintain a server side component to push messages.
[Will update my ans. if I find anything else.]
Upvotes: 5