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 C6B2618785 for ; Wed, 2 Sep 2015 20:51:00 +0000 (UTC) Received: (qmail 99288 invoked by uid 500); 2 Sep 2015 20:51:00 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 99250 invoked by uid 500); 2 Sep 2015 20:51:00 -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 99239 invoked by uid 99); 2 Sep 2015 20:51:00 -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, 02 Sep 2015 20:51:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2F17CDFC7F; Wed, 2 Sep 2015 20:51:00 +0000 (UTC) From: fatty1380 To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org Message-ID: Subject: [GitHub] cordova-plugin-geolocation pull request: Prevent API Deprecation W... Content-Type: text/plain Date: Wed, 2 Sep 2015 20:51:00 +0000 (UTC) GitHub user fatty1380 opened a pull request: https://github.com/apache/cordova-plugin-geolocation/pull/48 Prevent API Deprecation Warnings thru pre-processor macros I've wrapped the call to `locationServicesEnabled` which is causing a Deprecation warning under compilation, in a `#ifndev __IPHONE_4_0` preprocessor macro. The better solution would be to drop any code that accommodates devices that old, but I'll start here. You can merge this pull request into a Git repository by running: $ git pull https://github.com/fatty1380/cordova-plugin-geolocation patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-geolocation/pull/48.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #48 ---- commit 0027efc8de4840651d03a68c9aa7d4445c201154 Author: Patrick Fowler Date: 2015-09-02T20:50:16Z Prevent API Deprecation Warnings thru pre-processor macros I've wrapped the call to `locationServicesEnabled` which is causing a Deprecation warning under compilation, in a `#ifndev __IPHONE_4_0` preprocessor macro. The better solution would be to drop any code that accommodates devices that old, but I'll start here. ---- --- 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