# How can I make push notifications using my app?

**URL:** <https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743>\
**Category:** Developers\
**Tags:** homey-pro\
**Created:** [August 21, 2024, 4:58am UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743 "2024-08-21T04:58:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinbaek\_lee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jinbaek_lee/32/112069_2.png) [@jinbaek\_lee](https://community.homey.app/u/jinbaek_lee)\
**Post date:** [August 21, 2024, 4:58am UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743/1 "2024-08-21T04:58:56Z")

</div>

Hello, I am developing an app to install on Homey Pro.  
After creating an action card, I generated a notification in the registerRunListener as follows:

```auto
const notificationAction = this.homey.flow.getActionCard('send_notification');
notificationAction.registerRunListener(async () => {
  const alertMessage = await alertToken.getValue();
  this.log(`notificationAction: message:`, alertMessage);
  await this.homey.notifications.createNotification({
    excerpt: alertMessage
  });
  return true;
});

```

I would like to replace this notification with a push notification.  
Is there a way to create a push notification?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 21, 2024, 5:04am UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743/2 "2024-08-21T05:04:43Z")

</div>

> [@jinbaek\_lee](#):
>
> I would like to replace this notification with a push notification.  
> Is there a way to create a push notification?

There isn’t, and I think for a good reason: apps shouldn’t send push notifications, it should be up to the user to configure a flow that sends them a push notification if they want to.

---

<div class="post-metadata">

**Author:** ![jinbaek\_lee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jinbaek_lee/32/112069_2.png) [@jinbaek\_lee](https://community.homey.app/u/jinbaek_lee)\
**Post date:** [August 21, 2024, 5:11am UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743/3 "2024-08-21T05:11:11Z")

</div>

Yes, that seems correct.  
It would be appropriate for users to intuitively use the system’s push notifications.  
Thank you!

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 21, 2024, 1:45pm UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743/4 "2024-08-21T13:45:23Z")

</div>

You can write a timeline notification from you app. And the user can activate push forward in timeline settings.  
Just as idea…

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 21, 2024, 2:58pm UTC](https://community.homey.app/t/how-can-i-make-push-notifications-using-my-app/114743/5 "2024-08-21T14:58:02Z")

</div>

> [@RonnyW](#):
>
> And the user can activate push forward in timeline

Only the owner of a Homey
