Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F00BB200D34 for ; Fri, 20 Oct 2017 01:43:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EEC6E160BED; Thu, 19 Oct 2017 23:43:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4B8C81609EE for ; Fri, 20 Oct 2017 01:43:05 +0200 (CEST) Received: (qmail 58067 invoked by uid 500); 19 Oct 2017 23:43:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 58050 invoked by uid 99); 19 Oct 2017 23:43:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2017 23:43:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C03F0C3511 for ; Thu, 19 Oct 2017 23:43:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.2 X-Spam-Level: X-Spam-Status: No, score=-99.2 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_SHORT=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3sZayYsFTeBL for ; Thu, 19 Oct 2017 23:43:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2C6725FCE5 for ; Thu, 19 Oct 2017 23:43:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 72D1EE041C for ; Thu, 19 Oct 2017 23:43:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3093D21EE4 for ; Thu, 19 Oct 2017 23:43:00 +0000 (UTC) Date: Thu, 19 Oct 2017 23:43:00 +0000 (UTC) From: "Vishal Mishra (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-7629) Accelerometer, run in Browser platform, reports error in console MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 Oct 2017 23:43:06 -0000 [ 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