Callback issue in Publisher JS Plugin


  • I have added the Publisher JS plugin script in my website. I am also using Firebase authentication for my website. After adding the Publisher JS, the authentication stopped working. On further analysis I found that there is an error in console:

    c7dfbadc-f9bf-422b-9f05-c547af8b6fd1-image.png

    This seems to be coming from the Publishe JS plugin's JS. On further analysis, it seems the issue is because the plugin is registering a callback for message event on window. There is no condition checking if the message is coming from your source and other plugins can also trigger this even. In such a case the callb function called from your code is missing and causes error.

    e2ced1d3-cdbf-4d82-9427-ac7d886856af-image.png


  • Hello @sujith84 our team has fixed the issue kindly test it and you find any issue kindly revert us back.


  • Hi @sujith84 we have noted this we will update you o this.