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
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With