Duplicated Socket Events
-
iPad Model: iPad 5th generation
iOS version: 13.3
hyperPad version: 1.25
Description: Disabling and then enabling theSocket Event
behavior causes incoming messages to be duplicated.
Steps to reproduce: Connect to a socket.io server, wait untilconnected
status. At this point, receiving an event causes theSocket Event
behavior the fire once. Disable and then enable the behavior usingBehavior On
andBehavior Off
. Now theSocket 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. -
-
In the image above, the
score
would increase by 2 each time instead of 1.