From issues-return-92724-archive-asf-public=cust-asf.ponee.io@cordova.apache.org Thu Feb 15 19:07:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DBEF3180718 for ; Thu, 15 Feb 2018 19:07:03 +0100 (CET) Received: (qmail 62215 invoked by uid 500); 15 Feb 2018 18:07:03 -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 62196 invoked by uid 99); 15 Feb 2018 18:07:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2018 18:07:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7D5F91A036C for ; Thu, 15 Feb 2018 18:07:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.811 X-Spam-Level: X-Spam-Status: No, score=-101.811 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6KRdDNbgwQkG for ; Thu, 15 Feb 2018 18:07: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 1CC635F286 for ; Thu, 15 Feb 2018 18:07: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 58F46E00C9 for ; Thu, 15 Feb 2018 18:07: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 198C521E5A for ; Thu, 15 Feb 2018 18:07:00 +0000 (UTC) Date: Thu, 15 Feb 2018 18:07:00 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-13881) navigator.camera undefined for versions newer than 2.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-13881?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] jcesarmobile closed CB-13881. ----------------------------- Resolution: Not A Problem cordova-plugin-camera >=3D 3 requires cordova-android >=3D 6.3.0, and that = version of meteor uses an older version. Update to meteor 1.6 or keep using the old versions of the plugins, but thi= s is not a bug. > navigator.camera undefined for versions newer than 2.4.1 > -------------------------------------------------------- > > Key: CB-13881 > URL: https://issues.apache.org/jira/browse/CB-13881 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Affects Versions: 6.1.1 > Environment: Meteor 1.4.4.4 > Reporter: Peter Mosh > Priority: Major > > Hi! > This gives me undefined when I use a version *after 2.4.1=C2=A0:* > {noformat} > document.addEventListener('deviceready', () =3D> { > =C2=A0 console.log('navigator.camera', navigator.camera) > }){noformat} > I am using Meteor 1.4.4.4 and have installed the plugin like this: > {code:java} > meteor add cordova:cordova-plugin-camera@4.0.2{code} > When I instead do this, the camera object is available: > {code:java} > meteor add cordova:cordova-plugin-camera@2.4.1{code} > =C2=A0 > So, to summarize: Versions _3.0.0, 4.0.0, 4.0.1, 4.0.2_ do not work, I al= ways get _undefined_ for _navigator.camera._=C2=A0I need to switch back to = version _2.4.1_ to get the object instead. > =C2=A0 > Thanks for your help in advance! > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org