Hello,
I'm writing to follow up on a request for information (by leafo) on how PWAs work with Itch games (original post).
"Since games are standalone pages, I supposed individual games could implement PWA support themselves. You're welcome to try that out and tell me your findings."
Well, the result is that PWAs don't offer an install button via the itch wrapper it seems.
Here is a PWA (password = testpwa) :
https://adventuron.itch.io/testpwa
The same PWA is available here:
https://adventuron.io/games/two
One PWA offers to install (via a browser popup), but the Itch version does not.
I would very much like for players to be able to install their games as offline enabled PWA's from the Itch game page, but it seems that the iframe method is having problems with this. Maybe there is a way that you could click to a dedicated game page rather than embedding in an iframe? (I could just use a checkbox on the game page?). I don't mind experimentally trying out such an approach.
Chris