# How to trigger push notification from device?

**URL:** <https://forum.ionicframework.com/t/how-to-trigger-push-notification-from-device/41953>\
**Category:** ionic-v1\
**Created:** [January 24, 2016, 1:54pm UTC](https://forum.ionicframework.com/t/how-to-trigger-push-notification-from-device/41953 "2016-01-24T13:54:31Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![ihadeed](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ihadeed/32/95258_2.png) [@ihadeed](https://forum.ionicframework.com/u/ihadeed)\
**Post date:** [February 8, 2016, 8:32pm UTC](https://forum.ionicframework.com/t/how-to-trigger-push-notification-from-device/41953/15 "2016-02-08T20:32:06Z")

</div>

Hi there,

If you want the app to trigger a notification on the same device, then you should be looking at the local notification plugin here: [https://github.com/katzer/cordova-plugin-local-notifications](https://github.com/katzer/cordova-plugin-local-notifications)

If you want the app to trigger a push notification on somebody else’s device then check out my response to this post: [Push notifications problem as of february 2016 new problem because of updating](https://forum.ionicframework.com/t/push-notifications-problem-as-of-february-2016-new-problem-because-of-updating/42887/6?u=ihadeed)

If you look at my code in that post reply you will see that I send the Google Cloud Messaging ID along with device information … etc to my RESTful API … which is Firebase in your case. ( I use custom API written with NodeJS and ExpressJS). The RESTful API takes care of delivering the appropriate message to the appropriate user(s)

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-trigger-push-notification-from-device/41953)._
