engagementlab / emerging-citizens

Emerging Citizens is a suite of digital multiplayer games that teaches students how to critique and create civic media.
MIT License
2 stars 0 forks source link

iPad fails to load room code/name fields without clearing cache/hard reloading #144

Closed mattwbenson closed 8 years ago

mattwbenson commented 8 years ago

After the iPad connects to a session, anytime it refreshes the page, a "resuming your session" message appears even if the session has ended. This makes it impossible for the iPad to join a game without clearing the cache first.

johnnycrich commented 8 years ago

QA was missing a new template. Please try to repro again.

mattwbenson commented 8 years ago

I'm still getting this issue on the iPhone 4 and can reliably reproduce--I start a game with two players, one of which is the iphone, and then put both devices down to let the screens time out. Once both screens go dark and the players disconnect, the game ends. If the hub screen is then refreshed, creating a lobby with the old room code, the iPhone will read the "trying to reconnect to session" message.

mattwbenson commented 8 years ago

The above occurs with an iPad as well as long as the iPad is set to automatically screen-off after a certain amount of time

johnnycrich commented 8 years ago

Just to provide context, when the player is disconnected like this, I now clear their local session and so this does not occur.