P5.js: p5js for Mobile not working after iOS update

Created on 21 Jul 2019  路  4Comments  路  Source: processing/p5.js

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?

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

All 4 comments

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.

https://youtu.be/AbB9ayaffTc

It seems that we can deal with this. (ios13 and iPadOS?)

A7816866-6031-42E6-97EF-0BD228849577
Sorry for the unsightly English.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NamanSharma5 picture NamanSharma5  路  3Comments

stalgiag picture stalgiag  路  3Comments

sps014 picture sps014  路  3Comments

kappaxbeta picture kappaxbeta  路  3Comments

slowizzm picture slowizzm  路  3Comments