universal-tilt.js
universal-tilt.js copied to clipboard
works on desktop but not on mobile...
Hey great project!! I'm trying to implement universal test so made a little test, but it doesn't seem to be working on any mobile devices. Any idea why? http://www.postspace.org/ddtest/
hint: On iOS it just works currently in mobile chrome.
I was testing on android, and the examples on https://jb1905.github.io/universal-tilt.js/ are working fine
I know the problem and I am working on it (will be ready for v3). In iOS 13+ user must manually enable access to the gyroscope (e.g., by clicking the button).
https://www.macrumors.com/2019/02/04/ios-12-2-safari-motion-orientation-access-toggle/
https://github.com/w3c/deviceorientation/issues/57
@JB1905 any idea why on my android device it doesn't work on http://www.postspace.org/ddtest/ but it works on https://jb1905.github.io/universal-tilt.js/ ???
@tsvikasolan everything works for me (I checked both websites on the Android Studio emulator – Android v9 on Nexus 5). Could you give me more informations about your Android and universal-tilt.js versions? I could check it tomorrow.
@JB1905 Android 9 on a xiami mi 9. v2.0.6 of universal tilt
@JB1905 I think I figured out the issue, it had to do with the site not being on https, which it is now so it works