Im building a website/webapp that uses sockets.io
Currently if the user is using safari on an iphone for example and they lock the screen (goes black) My socket connection is closed. This is good, I want this.
However when they unlock the screen (or awake from sleep). I would like to detect this event with javascript so I can reconnect my socket.
Is this possible?? Google isn’t turning much up on the subject.
Nevermind, I figured it out