shake.js
shake.js copied to clipboard
Not working in iphone11 and iphone xs max
Can't work properly on iphone11 and iphone xs max web pages。Nothing happens after shaking the iPhone, how can I do it ?
See https://developer.apple.com/documentation/safari_release_notes/safari_13_release_notes#3314664
And https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2