Hey,
I had made a p5.js sketch that worked with mobile devices and in particular used the deviceShaken() function. Recently I noticed it had stopped working on my iPhone and various other iPhone's that I asked people to test it on. Many of the mobile examples on the p5.js website no longer work either.
Has anyone experienced any similar issues?
Welcome! 馃憢 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
@Eoey1 apple has recently limited access to accelerometer in safari by default. You can turn it on by going to: Settings > Safari > Privacy & Security > Motion & Orientation Access (toggle on)
more info here
Hey!
Thanks for this. Turning Motion & Orientation Access on helps getting some of the examples working on the p5 website, however my app which uses deviceShaken() is still not working.
It seems that we can deal with this. (ios13 and iPadOS?)

Sorry for the unsightly English.
Most helpful comment
@Eoey1 apple has recently limited access to accelerometer in safari by default. You can turn it on by going to: Settings > Safari > Privacy & Security > Motion & Orientation Access (toggle on)
more info here