Notification icon not showing when app is in foreground

I am getting notification when app is in foreground but the case is the notification icon is not showing in status bar as well as in the home screen notification tray.

My code is :

var notificationCallbackOnClose = app.notification.create({
icon: ‘’,
title: ‘Mission Shakti’,
titleRightText: ‘now’,
subtitle: data.title,
text: data.message,
closeOnClick: true,
closeTimeout: 4000,
on: {
close: function () {
alert(“Foreground Notification Page Redirection On Close”);

      }, notificationClick: function () {

        alert("Foreground Notification Page Redirection On Click");

        var pg = sessionStorage.currentPage;

        if (pg == "notification") {
        } else {