I found that when I opening my html5-game in mobile chrome, touch events are not working.
Some experiments show, that:
-
object:addEventListener(“touch”, …) is not working.
-
Runtime:addEventListener(“touch”, …) is working, but always shows zero coordinates (event.x = 0, event.y = 0).
It seems that Corona app is not receiving coordinates from canvas or something like that.
That problem didn’t appear in pc browsers.
Can someone help me?
tested EmptyTest2.zip on Android 8.1 … works for me
@rockstar.koenig, on what device the test does not work ?
xiaomi redmi 4x
html5-version, not apk. in mobile chrome browser
just uploaded html-build to http://inkgroupgames.ru/et/index.html
please, open it from mobile chrome and tell me if it will work properly (circle must change its position after touch)
what Android in your xiaomi redmi 4x ?
Bektur
9
Hi @rockstar.koenig
Can you please share your mobile Chrome version and tell if you have any browser addons/extensions installed.
sure
no addons
version Chrome 70.0.3538.110
vitaly1
11
We have tested on 3 various Android 7 devices… the test works on each of them
weird
yes, i also tested on my other 2 devices - works fine.
but still not working on xiaomi redmi 4x
weird
vitaly1
14
tested EmptyTest2.zip on Android 8.1 … works for me
@rockstar.koenig, on what device the test does not work ?
xiaomi redmi 4x
html5-version, not apk. in mobile chrome browser
just uploaded html-build to http://inkgroupgames.ru/et/index.html
please, open it from mobile chrome and tell me if it will work properly (circle must change its position after touch)
vitaly1
17
vitaly1
18
what Android in your xiaomi redmi 4x ?
Bektur
20
Hi @rockstar.koenig
Can you please share your mobile Chrome version and tell if you have any browser addons/extensions installed.