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

Accelerometer, run in Browser platform, reports error in console

    XMLWordPrintableJSON

    Details

      Description

      I added the accelerometer plugin and noticed this in my browser console when running it as the browser platform:

      Uncaught module org.apache.cordova.device-motion.accelerometer already defined

      From cordova.js line 79.

      After this it did say "adding proxy for Accelerometer" and I was able to use the plugin.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cfjedimaster Raymond Camden
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: