Duplicated Socket Events
-
iPad Model: iPad 5th generation
iOS version: 13.3
hyperPad version: 1.25
Description: Disabling and then enabling theSocket Eventbehavior causes incoming messages to be duplicated.
Steps to reproduce: Connect to a socket.io server, wait untilconnectedstatus. At this point, receiving an event causes theSocket Eventbehavior the fire once. Disable and then enable the behavior usingBehavior OnandBehavior Off. Now theSocket Eventwould 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. -

-
In the image above, the
scorewould increase by 2 each time instead of 1.