You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vishal Mishra (JIRA)" <ji...@apache.org> on 2017/10/19 23:43:00 UTC
[jira] [Closed] (CB-7629) Accelerometer, run in Browser platform,
reports error in console
[ 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