Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Not working in iOS12.2 #49

Closed
13880971267 opened this issue Apr 18, 2019 · 9 comments
Closed

Not working in iOS12.2 #49

13880971267 opened this issue Apr 18, 2019 · 9 comments

Comments

@13880971267
Copy link

Can't work properly on iOS12.2 web pages。Nothing happens after shaking the iPhone

@alexgibson
Copy link
Owner

alexgibson commented Apr 18, 2019

See: w3c/deviceorientation#57 (comment)

Until Apple offer a way to request access for the API, there’s nothing that can be done.

@13880971267
Copy link
Author

Thank you very much.

@xing00
Copy link

xing00 commented Apr 28, 2019

I use http, it doesn't work, when i use https , it works! I don't know why.

@yoyo837
Copy link

yoyo837 commented Apr 30, 2019

@xing00 You are right, why is it designed like this?

@yoyo837
Copy link

yoyo837 commented Apr 30, 2019

@xing00 Only Webview.

@xing00
Copy link

xing00 commented Apr 30, 2019

@xing00 Only Webview.

Yes,I only use this code on webview.

@yoyo837
Copy link

yoyo837 commented Apr 30, 2019

iOS (Privacy switch turned on):

- http https
Safari No Yes
WebView No Yes

iOS (Privacy switch turned off):

- http https
Safari No No
WebView No Yes

@xing00
Copy link

xing00 commented Apr 30, 2019

@yoyo837 Got it.

@githubhwen
Copy link

It is working in wechat if use https,It also works if you allow Safari browsers to move and direction access.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants