Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13115

accelerometer.getCurrentAcceleration() doesn't work on Firefox, Safari and Edge

    XMLWordPrintableJSON

Details

    Description

      https://travis-ci.org/apache/cordova-plugin-device-motion/builds/257642867?utm_source=github_status&utm_medium=notification

      Here's some related test failures:

      1) cordova-plugin-device-motion-tests.tests >> Accelerometer (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.3 success callback should be called with an Acceleration object
      
        - Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
      
      2) cordova-plugin-device-motion-tests.tests >> Accelerometer (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.4 success callback Acceleration object should have (reasonable) values for x, y and z expressed in m/s^2
      
        - Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
      
      3) cordova-plugin-device-motion-tests.tests >> Accelerometer (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.5 success callback Acceleration object should return a recent timestamp
      
        - Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in http://localhost:8000/cdvtests/jasmine-2.4.1/jasmine.js (line 1909)
      

      Attachments

        Issue Links

          Activity

            People

              alsorokin Alexander Sorokin
              alsorokin Alexander Sorokin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: