We have integrated Pubnub with Angular JS. We faced one issue in it. In pubnub developer console we are able to see all the message publish by backend but our app not getting all the pubnub messages.
Backend is sending 4 to 5 pubnub message on same time. First message we get but after that we get below error on consle.
We are getting this error from pubnub library. Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Looks like the "blocking" leave is causing this error. might need
noleave: true flag.
In My project, I require to unsubscribe from a channel and directly subscribe to a new channel.
Hello, can you please provide some code examples?