You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raymond Camden (JIRA)" <ji...@apache.org> on 2016/03/22 15:59:25 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15206483#comment-15206483 ] 

Raymond Camden commented on CB-7629:
------------------------------------

An update: 

When I have an app with the plugin installed, I get this in the console:
adding proxy for Accelerometer

But when I try to get data, I get *both* the error handler and the success handler run. The error handle reports: 

Error: exec proxy not found for :: Accelerometer :: stop
>From cordova.js line 989

And the success handler is not passed any data.


> 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: Plugin Device Motion
>            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.3.4#6332)

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