INotificationContext not showing message
Summary:
Content (required):
Hello,
I'm triying to use the INotificationContext for the BUI usage, but the message is not showing
Please see below error and code
Code Snippet (add any code snippets that support your topic, if applicable):
ORACLE_SERVICE_CLOUD.extension_loader.load("CUSTOM_APP_ID", "1").then(function(IExtensionProvider) {
IExtensionProvider.registerUserInterfaceExtension(function(IUserInterfaceContext) {
IUserInterfaceContext.getNotificationContext().then(function(INotificationContext) {
var notificationConfig = INotificationContext.createNotificationConfig();
notificationConfig.setMessage('Notification Text goes here');
notificationConfig.setDuration(10);
INotificationContext.showNotification(notificationConfig);
console.log(notificationConfig);
});
});
});