Skip to content

Get loaded notifications

It is possible to retrieve the list of notifications and geotriggers the Plot library is currently listening to. You can, for example, use this to show the user what is near him. This can also be used to see what Plot has loaded for debugging purposes.

Please note that this is an optional feature and not needed in order for the Plot library to work.

iOS

The plugin exposes two method: [Plot loadedNotifications] and [Plot loadedGeotriggers]. Fields like notification message, latitude, longitude, data are available.

When no notifications are loaded an empty list is returned. This could for example be the case when the location of the device is unknown.