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 E6510189A8 for ; Tue, 14 Jul 2015 22:08:47 +0000 (UTC) Received: (qmail 37359 invoked by uid 500); 14 Jul 2015 22:08:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37317 invoked by uid 500); 14 Jul 2015 22:08:47 -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 37305 invoked by uid 99); 14 Jul 2015 22:08:47 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 22:08:47 +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 E78B8D497C for ; Tue, 14 Jul 2015 22:08:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AAvc5LOO8vfj for ; Tue, 14 Jul 2015 22:08:46 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 1681543DF7 for ; Tue, 14 Jul 2015 22:08:46 +0000 (UTC) Received: by oige126 with SMTP id e126so16242745oig.0 for ; Tue, 14 Jul 2015 15:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=HVMnwlp9yt5nZ/yRgHuSGMOyte4h2lQwZTbTDyhbVNI=; b=E3cmrJV0bQfz4EfSLkP4+c27kiRL1jvIC7Pci771d/mkZHXoUXlBWYLHtpyBu5pgc/ 32ayuiyyMzZSHwzBfc6gWDYCiY25X9wHKzVG2eaDNdgFHoN9FT3TfZwcUe7WIB/LRxWF a16bYXKvCBVoDNjXfdo1o8DI41BVQjILhYMalKNsey0fzRXMfQRZ7Qmj/R+JRU9Rd7IE k5Iz1eIuPVpXNZZI4pb6gqyBUeaTOwQ+qtRUG190UX6x69CEcrVbgqgjFcAPMfI/yhEM x8r3w3yZgdFFJ+mPp5X3sEfDZ4++1sThMVz2CfMbjk+AiWzb49GUIL0UWxpRGuqMr1uY 5igQ== X-Received: by 10.60.50.168 with SMTP id d8mr671754oeo.41.1436911680544; Tue, 14 Jul 2015 15:08:00 -0700 (PDT) MIME-Version: 1.0 From: Joe Bowser Date: Tue, 14 Jul 2015 22:07:50 +0000 Message-ID: Subject: [Android] Working with M - An update To: dev Content-Type: multipart/alternative; boundary=001a11c30bf04af25b051add1240 --001a11c30bf04af25b051add1240 Content-Type: text/plain; charset=UTF-8 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? --001a11c30bf04af25b051add1240--