Multiple platforms in Notification Center
This article describes a feature that has been deprecated, and support might be removed in a future release. This article is provided to help customers who still rely on the feature.
Starting in Here Core UI Components version 10, we've improved the user experience to display the same platform across all Here Core UI components if you register multiple platform providers. In Notification Center, things work a bit differently, but you can let your users work with the same Notification Center.
How it works
In previous versions, you could call only the toggleNotificationCenter
function to let your users show or hide Notification Center. Starting in Here Core UI Components v10, you can call the new show
and hide
functions for more precise control over your user experience. The show
function also takes an optional ShowOptions.navigateToAll
property that lets you configure Notification Center to display all registered platforms.
See also the API reference documentation.
Otherwise, Notification Center displays the platform the user was previously viewing, regardless of which platform they're viewing in other Workspace components.
Example
To display all registered Here Core UI platforms in Notification Center, add the following:
import {show} from 'openfin-notifications';
show({navigateToAll: true});