Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Posted

Hi MMSOFT.

Is it somehow possible to generate more individual notifications from the same plugin, without using allowMultipleNotifications.

It is not hard to imagine that a plugin would have to monitor two or more individual values.

If it is not possible, consider this a feature request :-)

Best Regards,
Martin.

Featured Replies

  • Administrators

Hi Martin,

This isn't supported yet but it's a great idea! We will consider it for the future.

-Paul

Hi,

perhaps you should introduce something like a "Notification ID" to detect wether the notification has been shown before or not.

Dilbert

  • 3 months later...
  • Author

This is indeed the limitation I most run into when developing plugins.

  • Administrators

Hi Martin,

We will be adding an optional string argument which allows you to specify a unique ID to the notification.

-Paul

  • 3 weeks later...
  • Author

Hi Paul,

Do you have some timeframe for this new addition?

Just to know if I should wait with my plugin ideas, or revrite them late.

  • 8 months later...
  • 1 month later...
  • Administrators

Hi Martin,

This got released in yesterday's Windows Agent 5.3 release. Documentation is yet to be updated but you should find a new overload for the SendNotificationToAllDevices method with the new PCMonitorClient.dll.

-Paul

  • 1 year later...
  • Author

Hi Paul.

Can you help me to find the documentation for different notifications?

Quote

https://www.pulseway.com/en/api/clientnet?tutorialSubItem=interface
void SendNotificationToAllDevices(string message, NotificationPriority priority, bool allowMultipleNotifications = false)
"After one notification is sent you can send another one only after the first one is deleted using a client application, unless allowMultipleNotifications is true."

I need the default option (without allowMultipleNotifications) to work with different notifications.

I guess it should be possible to add som kind of notification_id.

Edited by Martin Stevnhoved

  • Author

Hi Paul.

I found it myself:

void SendNotificationToAllDevices(string message, NotificationPriority priority, bool allowMultipleNotifications, string notificationIdentifier)

Are there any more hidden gems, not mentioned in the docs?

  • Author

Hi again @Paul.

How does CanSendNotifications work together with notificationIdentifier?

  • 2 weeks later...
  • Administrators

There is an overload that includes the notificationIdentifier. If the notificationIdentifier it's passed it will tell you if you can send another notification with that non-repeating notification identifier:

1308179334_Screenshot2018-12-15at16_10_20.thumb.png.e23eb08c68f7d7408743f5d6e32a264c.png

-Paul

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.