Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement push notification service for a crossplatform webapp? [closed]

I want to integrate push notification with my web app built using HTML ,javascript and jquery mobile and packaged with phonegap for android.

Can anyone please suggest some links to go for that.

For android complete documentation is given on developers.android.com.

But for webapp I dont know how to proceed.

Any suggestion would be highly appreciated.

Thanks in advance.

like image 309
Esha Jain Avatar asked Jan 30 '14 13:01

Esha Jain


People also ask

Do push notifications work when app is closed?

Let's start with Android. The Android OS is designed to listen for push messages and upon receiving one, wake up the appropriate Android app to handle the push message, regardless of whether the app is closed or not.

Does an app need to be open for push notifications?

A mobile app uses “push notification” to send users a message that notifies them about something important, without the need to open the app. The user does not need to do anything, as the app itself decides to push an alert to them, which can be in the form of a text message or an image.

Does push notification work offline?

For the hardware component, the mobile device for client side, server computer for server side and router for network between the client and the server. The idea of offline push notification is applicable in any mobile device and any operating system such as Android OS, iPhone OS, BlackBerry OS, Symbian OS, etc.


1 Answers

As suggested by others PushPlugin seems good option as per your requirement. It can be implemented and free to use. You have to configure for different platforms. This plugin is for use with Cordova, and allows your application to receive push notifications on Amazon Fire OS, Android, iOS, Windows Phone and Windows8 devices.

  • The Amazon Fire OS implementation uses Amazon's ADM(Amazon Device Messaging) service.
  • The Android implementation uses Google's GCM (Google Cloud Messaging) service.
  • The BlackBerry 10 version uses blackberry push service.
  • The iOS version is based on Apple APNS Notifications.
  • The WP8 implementation is based on MPNS.
  • Windows8 uses Microsoft WNS Notifications.

For detailed implementation steps for above platforms you can check this page

Hope this is helpful to you with your question..!

Edit

Links are updated with the latest Github Repos.

like image 196
ajitksharma Avatar answered Nov 03 '22 00:11

ajitksharma