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