Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. sujith84
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    sujith84

    @sujith84

    0
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    sujith84 Follow

    Best posts made by sujith84

    This user hasn't posted anything yet.

    Latest posts made by sujith84

    • 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

      posted in Bugs
      S
      sujith84