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 2F30218FD2 for ; Wed, 19 Aug 2015 01:07:01 +0000 (UTC) Received: (qmail 15722 invoked by uid 500); 19 Aug 2015 01:07:00 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 15681 invoked by uid 500); 19 Aug 2015 01:07: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 15663 invoked by uid 99); 19 Aug 2015 01:07:00 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 01:07:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 00A7A182106 for ; Wed, 19 Aug 2015 01:07:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.895 X-Spam-Level: ** X-Spam-Status: No, score=2.895 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RP_MATCHES_RCVD=-0.006] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.com header.b=hVkm6uNP; dkim=pass (1024-bit key) header.d=chromium.org header.b=bVqHu278 Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id egIwvITZDlRm for ; Wed, 19 Aug 2015 01:06:44 +0000 (UTC) Received: from mail-qg0-f52.google.com (mail-qg0-f52.google.com [209.85.192.52]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 64F0621115 for ; Wed, 19 Aug 2015 01:06:27 +0000 (UTC) Received: by qgj62 with SMTP id 62so131293775qgj.2 for ; Tue, 18 Aug 2015 18:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=aSng2jFvJYMkUFyMn+cdqCgigO0wtWZYceNv4dHs2IE=; b=hVkm6uNPeIfDSi9e6bBjJYRN7y9f1saUAPJWEBMKMNIyCzT7uWrK9aQQsiRUAUMtkE QS5bjfHH2im3VdrFuFx3gOxcuhGeodA17VWcJx65CNMC25n6BfDDKyoutP4xPlWXQLxj gEDXQ0PCSi7CkA0MRmWJiqmX1BVChu5JcjlgFEBeyDcf9scE8D1z/c5xMoOAnrTzQqpE Skklt6KVpV8WsLhwvbPHnqJwndAEEvixtU/nLwBao6zA1X+OPvyvnzKmpGzA+fzCtRwJ w3lY1EMDOVFzNMG7tUpjgmAMGNCdpN0LnZYYJlHqjN8HXHRg349qvR/1t/Q42HAiyOEl z3Kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=aSng2jFvJYMkUFyMn+cdqCgigO0wtWZYceNv4dHs2IE=; b=bVqHu278gQ3SXeZXcHqW8Wc8PKLth/CO2Zqz7vmmg3ujJky4BdX+pEDkuFs+yseYsL 7ZmbY9xzf+yd/gGpEnu591LCe0D+NJAsrXlx/xVQEQCxUwkQ9jS+67Lgj6eW4Ph+Wh8R j66lex5sJSZaFs0BYKSAJ/H9t1qnGHWsvNGII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=aSng2jFvJYMkUFyMn+cdqCgigO0wtWZYceNv4dHs2IE=; b=VpCA1E7++dxGiJdN/IYHK4GWlpAYk2Mdulral6TqjFfc+cX2ItHRTt4uubfPXpiWkG v8rz+Kz08/Pz9lLERWeuRDAshg/jRRNY+8L4WZ369UjBEMfkaRki3HkwsyG/ptxoc5Nx TKlhsXI/X6RfSo4zz1v9xNP1BTuRv9pjGsJqDaQW5yTI4aPNdFBBaOapcQdtLSMZjni/ 9HEgzjhNDctXgvHL2HNkoX1BFeKOnw1vOd4Qys7b7ao5sINJd3TQMeL5yoShgKD5DTsN oYJjbuysBRDr5/okjbKMV/x47xXfWnzPyH0DK2RHxi7+IajHhxAOZAwlEidptUBnHJxL F+5Q== X-Gm-Message-State: ALoCoQlgWkh4JltMR1wqCaiIm4bZa5PQo4mv1qw37aYZnx/e/2KIC4TZWn9EmJCKY9SQubIUzPrM X-Received: by 10.140.131.139 with SMTP id 133mr19554427qhd.70.1439946386445; Tue, 18 Aug 2015 18:06:26 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.140.34.197 with HTTP; Tue, 18 Aug 2015 18:06:07 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Tue, 18 Aug 2015 21:06:07 -0400 X-Google-Sender-Auth: YiA_JGXkuGy_G1MJduV9-zaiKkI Message-ID: Subject: Re: [Android] Working with M - An update To: dev Content-Type: multipart/alternative; boundary=001a1134fa7cdc702b051d9fa432 --001a1134fa7cdc702b051d9fa432 Content-Type: text/plain; charset=UTF-8 Yes! It's fixed :) Great work Joe on finding this! On Tue, Aug 18, 2015 at 10:51 AM, Karen Tran wrote: > I just tried the manual geolocation tests on mobilespec with the 3rd > preview and I am able to get location data now. > Thanks for the help Andrew! > > On Mon, Aug 17, 2015 at 11:29 AM, Carlos Santana > wrote: > > > Hey Andrew any update on this, Do you have a link we can track progress? > Or > > do you know if latest preview dropped contains this fix? > > > > By the way when is Android M suppose to be General Available? > > > > > > On Fri, Jul 24, 2015 at 1:56 PM Andrew Grieve > > wrote: > > > > > Was out last week, but did manage to escalate the geolocation bug. Will > > > hopefully be fixed for official M release :) > > > > > > On Thu, Jul 16, 2015 at 1:31 PM, Joe Bowser wrote: > > > > > > > Sent you the test app off-list. > > > > > > > > On Wed, Jul 15, 2015 at 11:12 AM Andrew Grieve > > > > > wrote: > > > > > > > > > Thanks for looking into this Joe! The runtime permissions is quite > a > > > big > > > > > change! > > > > > > > > > > M is still in preview, so if you find any webview bugs, please feel > > > free > > > > to > > > > > send me a repro app and I'll do my best to get it fixed. > > > > > > > > > > In terms of Cordova API changes, here's some thoughts on your > branch: > > > > > - Plugins may want to request different perms at different times, > so > > > I'd > > > > > remove new functions from CordovaPlugin except > > > onRequestPermissionResult > > > > > - Might be better to copy how CordovaInterfaceImpl does > > > > > startActivityForResult/onActivityResponse rather than have > > > PluginManager > > > > do > > > > > it. > > > > > > > > > > > > > > > On Tue, Jul 14, 2015 at 6:07 PM, Joe Bowser > > wrote: > > > > > > > > > > > So, since Cordova-Android wasn't completely killed off by Google > at > > > the > > > > > > last Google IO like I thought it would be, we're going to have to > > > make > > > > > sure > > > > > > it's compatible with Android M (Marshmellow? Marzipan?). The > good > > > news > > > > > is > > > > > > that this only affects the following plugins: > > > > > > > > > > > > MediaRecorder > > > > > > Contacts > > > > > > File > > > > > > FileTransfer > > > > > > Geolocation > > > > > > > > > > > > Now, for the really bad news. We might have to write a > Geolocation > > > > > plugin > > > > > > for Android again, because Google's Android WebView doesn't play > > nice > > > > > with > > > > > > Android's new permission system, and even when you do grant the > > > > > application > > > > > > containing the process permission to use geolocation, you still > > get a > > > > > > location error. I still have to test this further, but it also > may > > > be > > > > > > possible that file URIs no longer have the ability to get the > > > > geolocation > > > > > > either, which would be weird, since this would be a Chrome thing > > and > > > > not > > > > > an > > > > > > Android thing. > > > > > > > > > > > > Given our poor track record of maintaining plugins in general, > and > > > the > > > > > > weird errors with Geolocation, I'm not really wanting to bring > back > > > the > > > > > > code, so I'm hoping that this gets resolved in M3 with the next > dev > > > > > version > > > > > > of M. > > > > > > > > > > > > But so far, I have the changes that I made to Cordova on a > private > > > > branch > > > > > > on Github that people can see here: > > > > > > > > > > > > https://github.com/infil00p/cordova-android/tree/m-compat > > > > > > > > > > > > Let me know if you have any questions. I'm not sure whether this > > > makes > > > > > > perfect sense yet, but I think these API changes indicate that we > > > > should > > > > > > probably bump the version to 5.0 once M comes out. > > > > > > > > > > > > Thoughts? Questions? > > > > > > > > > > > > > > > > > > > > > --001a1134fa7cdc702b051d9fa432--