cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Mishra (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-7629) Accelerometer, run in Browser platform, reports error in console
Date Thu, 19 Oct 2017 23:43:00 GMT

     [ https://issues.apache.org/jira/browse/CB-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vishal Mishra closed CB-7629.
-----------------------------
    Resolution: Fixed

With the [W3C Device Motion and Orientation API|https://www.w3.org/TR/2016/CR-orientation-event-20160818/]
now being supported on iOS, Android and Windows devices, this plugin is not needed any more.
Migrating from this plugin to the [W3C Device Motion and Orientation API|https://www.w3.org/TR/2016/CR-orientation-event-20160818/]
is explained in this [PhoneGap blog post|https://blog.phonegap.com/migrating-from-the-cordova-device-motion-plugin-ddd8176632ed].



> Accelerometer, run in Browser platform, reports error in console
> ----------------------------------------------------------------
>
>                 Key: CB-7629
>                 URL: https://issues.apache.org/jira/browse/CB-7629
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-device-motion (DEPRECATED)
>            Reporter: Raymond Camden
>              Labels: Browser, triaged
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message