"subscribed: " + channel.value);
                        });
                    });
                }
            };
        
            function cancelNotifications()
            {
                if(window.plugins && window.plugins.OrtcPushPlugin){
                    var OrtcPushPlugin = window.plugins.OrtcPushPlugin;
                    OrtcPushPlugin.log("Clearing notifications");
                    OrtcPushPlugin.cancelAllLocalNotifications()
                        .then(function() {
             