Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 206021879E for ; Wed, 27 Jan 2016 17:44:58 +0000 (UTC) Received: (qmail 13085 invoked by uid 500); 27 Jan 2016 17:44:57 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 13042 invoked by uid 500); 27 Jan 2016 17:44:57 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 13027 invoked by uid 99); 27 Jan 2016 17:44:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 17:44:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1E8D5DFF96; Wed, 27 Jan 2016 17:44:57 +0000 (UTC) From: riknoll To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-docs pull request: added android 5.1.0 release blog post Content-Type: text/plain Message-Id: <20160127174457.1E8D5DFF96@git1-us-west.apache.org> Date: Wed, 27 Jan 2016 17:44:57 +0000 (UTC) Github user riknoll commented on the pull request: https://github.com/apache/cordova-docs/pull/462#issuecomment-175764899 @dhams you need to update your `cordova-android` platform to 5.1.0 and `cordova-plugin-camera` plugin to 2.1.0 to get the fix. Version 5.4.1 sounds like you are referring to a Cordova CLI version, which will not have pinned the new Android platform yet. To check the version of `cordova-android` you have, try running the command `cordova platforms ls` in your project directory. You want to see `android 5.1.0` appear in the "Installed Platforms" list. To check the version of `cordova-plugin-camera`, you have, try running the command `cordova plugin ls` in your project directory. You want to see `cordova-plugin-camera 2.1.0 "Camera"` appear in the output. Let me know if that helps! Please also note that the fix is more involved than just updating the versions; the NullPointerException will go away, but you'll need to make some changes to your app to properly handle the Android lifecycle. Check out [this guide](https://github.com/apache/cordova-docs/blob/master/www/docs/en/dev/guide/platforms/android/lifecycle.md) for a more in depth discussion (sorry for the GitHub link, it hasn't been pushed to the website yet). There is an example app for the camera plugin that uses the fix at the end of that guide. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org