hey there I find that the motion not working on my phone (all x,y,z are zero) and I checked your code sees you use window.ondevicemotion lisenner. and after checking on the internet I see this
it says the motion detection feature are disabled on not secure context like connection through http. it will only work through https connection. could you guys somehow establish a https connection? since I am not farmilar with js.
hey there I find that the motion not working on my phone (all x,y,z are zero) and I checked your code sees you use window.ondevicemotion lisenner. and after checking on the internet I see this it says the motion detection feature are disabled on not secure context like connection through http. it will only work through https connection. could you guys somehow establish a https connection? since I am not farmilar with js.