logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Duplicated Socket Events

    Scheduled Pinned Locked Moved
    Bug Reports
    1
    3
    129
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RobinsonXR
      RobinsonX
      last edited by

      iPad Model: iPad 5th generation
      iOS version: 13.3
      hyperPad version: 1.25
      Description: Disabling and then enabling the Socket Event behavior causes incoming messages to be duplicated.
      Steps to reproduce: Connect to a socket.io server, wait until connected status. At this point, receiving an event causes the Socket Event behavior the fire once. Disable and then enable the behavior using Behavior On and Behavior Off. Now the Socket Event would fire twice instead of once when receiving an event.
      Additional info: Every time the behavior was disabled and re-enabled, it created more duplicate messages / fired more when an event was received. Pretty sure this is a hyperPad bug, tested it with multiple clients (multiple devices on the same URL) and clients with the behaviors disabled and re-enabled faced this bug. I noticed when creating a chatting app when messages would duplicate for some reason.

      1 Reply Last reply Reply Quote 1
      • RobinsonXR
        RobinsonX
        last edited by

        EC149EAA-827B-4273-8029-D709B429D890.png

        1 Reply Last reply Reply Quote 0
        • RobinsonXR
          RobinsonX
          last edited by

          In the image above, the score would increase by 2 each time instead of 1.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post