AboutSupportDeveloper GuideVersion 20.0.5
  • Retrieves all Notifications which were created by the calling application, including child windows. Child window notifications will only be included if the notification security rules allow it.

    import {getAll} from 'openfin-notifications'

    getAll().then((notifications: Notification[]) => {
    console.log(`Service has ${notifications.length} notifications for this app:`, notifications);
    });

    There is deliberately no mechanism provided for fetching notifications that were created by a different application.

    Returns Promise<Notification[]>