Mobile push notifications

Google Cloud Messaging (GCM) / Apple Push Notification (APN) Service

When implementing mobile push notifications we need to use both GCM and APN. Both are having many differences.
Step 1: Study both GCM/ APN
Step 2: Implement generic interface/factory pattern to hide GCM/APN implementation. Developers are not supposed to aware underlying implementation
Step 3: Consider using generic APIs/Libraries.
Step 4: Do proper Architecture/Design

GCM is coming up with dry run flag. Consider using this. This won’t send messages to devices when dry run flag was set.

Google Cloud Messaging for Android

Google_Cloud_Messaging Wiki

Apple Push Notification

Generic Libs:
AeroGear Push



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.