Skip to content

deviceShaken() not triggered on iOS 13+ #4367

Open
@paolobaiguera

Description

@paolobaiguera

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Details about the bug:

  • p5.js version: 0.9.0
  • Web browser and version: Chrome > 80.
  • Operating System: Android >= 8.0
  • Steps to reproduce this:
    I've included p5.dom.js (i've tried also the latest version with only p5.js but the issue is still there) and none of the above events seems to be fired.
    My mobile phone is a Huawei P20 Lite it should have all the properties and gyroscope/accelerometer issues only come across when using p5.js

Here's my code.

deviceEventNotFired.docx

Oddly enough this one actually works on my phone
https://editor.p5js.org/kan352/sketches/HJbxxRwWg

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions