Page 1 of 1
iPhone troubles
Posted: 07 November 2025, 15:59
by houseofsuns
I have lots of players of Race for the Galaxy complaining about difficulties playing on an iPhone. Mostly about hitting buttons and selecting cards. I have seen some mentions of general problems on iPhones, but did not find any specifics in the documentation. So my question is if this is just a fundamental limitation of the platform or whether the specific game implementation can influence this (and how)?
As I don't have an iPhone I cannot reproduce any of this. On my Android phone the game works perfectly.
Most upvoted example:
https://boardgamearena.com/bug?id=25383
Re: iPhone troubles
Posted: 10 November 2025, 11:46
by KuWizard
iOS and Safari separately make a huge pain in my... let's say "back". Safari on iPhones is a double mess, can feel your pain here. There are some online tool like Browserstack allowing you to use their devices but it's very limited. First try to install Safari for Windows (do you develop on Windows or Liniux?).
There is a problem with JS 'click' events. In some of my games (e.g. Viticulture) it was almost unplayable from iOS Safari. Try to change all usage of 'click' to a pair of 'pointerdown'/'pointerup', that helped me in different games. This adds complexity of course but makes iOS users happy
Re: iPhone troubles
Posted: 10 November 2025, 11:53
by KuWizard
I can try to help if you can join devs Discord and find me there. I don't have an iPhone but do have a Mac with Safari so we might try to reproduce this
Re: iPhone troubles
Posted: 10 November 2025, 17:39
by houseofsuns
Hi thanks for offering help, I'll have to dust off my Discord client first, so it could be a while.
I'm developing on Linux so no luck for me there with Safari.
However I found a helpful sounding Stackoverflow post [1] which I'll try first to see whether this can improve the situation.
[1]
https://stackoverflow.com/questions/240 ... lick-event
Re: iPhone troubles
Posted: 10 November 2025, 21:02
by KuWizard
Good luck with those options! Please let me know if any of them work, I am interested

Re: iPhone troubles
Posted: 12 November 2025, 11:52
by LeSteffen
houseofsuns wrote: ↑10 November 2025, 17:39
Hi thanks for offering help, I'll have to dust off my Discord client first, so it could be a while.
I'm developing on Linux so no luck for me there with Safari.
However I found a helpful sounding Stackoverflow post [1] which I'll try first to see whether this can improve the situation.
[1]
https://stackoverflow.com/questions/240 ... lick-event
Hi,
If you are under Linux you should check out the Epiphany browser (also called Web). It uses the same underlying base as Safari and has helped me track down stuff.
It is meant to be a lightweight browser and doesn't come with a console or inspector, but you can see what is wrong.
https://apps.gnome.org/de/Epiphany/
Btw. Windows users don't have anything like this so a + for Linux

Re: iPhone troubles
Posted: 17 November 2025, 15:36
by houseofsuns
I didn't know Epiphany used the same engine as Safari. You learn something new every day. Sadly this seems to be specific to mobile platforms and I didn't find Epiphany for Android.
I tried adding role="button" to the elements that should receive clicks in the hope that this would improve the situation. The jury is still out for the final verdict, however I also got negative feedback so that this does not seem to be a panacea. So it's back to the drawing board and looking for some new trick. Maybe I'll have to use pointerup / touchend or something similar too.