channel.value
                        })
                        .then(function () {
                            var subcribed = document.getElementById('subcribed');
                            subcribed.innerHTML = "subscribed: " + channel.value;
                            OrtcPushPlugin.log("subscribed: " + channel.value);
                        });
                    });
                }
            };
        
            function cancelNotifications()
            {
                if(window.plugin