How create notification on status bar using phonegap

10,983

Solution 1

What you need its called "push notifications". PhoneGap has some plugins for that.

This might also be helpful:

Be warned, that using proper push notifications you'll have to register your app first - if your notifications are not only local of course.

To send push notifications, you will need to first register your app with the push notification service (Apple APNs or Google GCM) that corresponds to your app's platform.

Solution 2

I know this is old, but to anyone who is still looking, you're probably looking for this: https://github.com/katzer/cordova-plugin-local-notifications

Push notifications allow your phone to receive on-demand notifications. What OP (and what I) was looking for was to actually put something in your notification drawer.

Share:
10,983
efenz88
Author by

efenz88

Just an ordinary man. :D

Updated on July 25, 2022

Comments

  • efenz88
    efenz88 almost 2 years

    how to create a notification in the status bar on android as shown below using phonegap?

    This is the example of notification that i want. notfication example