[
https://issues.apache.org/jira/browse/CB-9426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645275#comment-14645275
]
ASF GitHub Bot commented on CB-9426:
------------------------------------
Github user TimBarham commented on the pull request:
https://github.com/apache/cordova-plugin-device-motion/pull/33#issuecomment-125791006
@stevengill and @purplecabbage - interested in whether this fix looks right
to you guys, since I've not worked in this code much before. Certainly after my
change the functionality seems correct - the `browser` specific module is a
merge, with the same target that the general module clobbers. Without my
change, we don't get the merge. With my change, I verified we do.
> Exception using device motion plugin on browser platform
> --------------------------------------------------------
>
> Key: CB-9426
> URL: https://issues.apache.org/jira/browse/CB-9426
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Device Motion
> Reporter: Tim Barham
> Assignee: Tim Barham
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> When you use the device motion plugin on the browser platform, you get the
> following exception:
> {{module cordova-plugin-device-motion.accelerometer already defined}}
> This is because the {{accelerometer}} module name is used twice in plugin.xml.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]