Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 388FBD51D for ; Tue, 18 Sep 2012 19:52:06 +0000 (UTC) Received: (qmail 60208 invoked by uid 500); 18 Sep 2012 19:52:06 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 60178 invoked by uid 500); 18 Sep 2012 19:52:06 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 60170 invoked by uid 99); 18 Sep 2012 19:52:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 19:52:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cmarcelk@gmail.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 19:51:59 +0000 Received: by oagn9 with SMTP id n9so292807oag.6 for ; Tue, 18 Sep 2012 12:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=V5qGarBz+SMzkHDSoFEfLOh/xd445TNQ02y6WgeBGJE=; b=d//bnsBaq6sLfk/pmfwd6J1EKHmt6OuP1JFSnTEIzDTa5HWVP2CKch/c6hOQIIlV1P ZJlaH+LREhQyF4/okWGMqF5eUZIAT91HXEURaqkFHVcezZbX0CbAYeFMCkNUURz1sWSi Nf244lv87adqyxoT9PFHMiZKR6yXbIOoOHshX6zrIhaWmuMgvtDHiHzAo/Ftjf0DxWlu nb9YxpybSw/KhYck2ViycPp1FuseTWPjcUzv9DcqS4zUCvj1gjjm26ZRTYRosRbJZgb1 kG0v2qOB7DcU8HCGhKDzorOw1H+cBgQvnos8FCJCMGItMFh3sHgK9pNfaHXEjLp6q71W OWqw== Received: by 10.60.12.167 with SMTP id z7mr1204434oeb.121.1347997898326; Tue, 18 Sep 2012 12:51:38 -0700 (PDT) Received: from [9.27.180.173] ([129.33.49.239]) by mx.google.com with ESMTPS id q6sm457652oec.7.2012.09.18.12.51.37 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 12:51:37 -0700 (PDT) Message-ID: <5058D0C7.4030807@gmail.com> Date: Tue, 18 Sep 2012 15:51:35 -0400 From: Marcel Kinard User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: callback-dev@incubator.apache.org Subject: Re: [Android] Can we get rid of the Callback Server/Hanging GET now? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit After it gets deprecated, is it consistent practice to document Cordova migration tasks for app developers in someplace like docs/LANG/VERSION/guide/upgrading/PLATFORM ? And maybe in that same file could be an extra section identifying items which are scheduled for future deprecation so app developers could get an early migration jump on them or at least be aware they are coming. -- Marcel Kinard On 9/18/2012 2:14 PM, Filip Maj wrote: > I would like us to follow our current deprecation policy: 6 months, or 5-6 > point releases. > > This way we can make noise about it leading up to it for our users. > Phonegap.com blog posts, etc. > > On 9/18/12 11:12 AM, "Joe Bowser" wrote: > >> OK, This sounds like a proposal. Do we need to do a vote, or should >> we just add a JIRA issue to 2.2? >> >> On Wed, Sep 12, 2012 at 5:25 PM, Andrew Grieve >> wrote: >>> ONLINE_EVENTS and JS_OBJECT are the fastest and have no bugs that I've >>> found. As soon as 2.1 ships, let's make the switch. I don't think devs >>> should need to know about the bridge modes unless there becomes a >>> reason to >>> expose this to them. >>> >>> With several other options other than callback server, I think we should >>> get rid of it since it's a fair amount of code and complexity. >>> >>> >>> On Wed, Sep 12, 2012 at 3:41 PM, Filip Maj wrote: >>> >>>> I would be in favor of dropping a deprecation-like notice and educating >>>> users about the differences. >>>> >>>> I would change the default bridge mode to the events one, say in 2.2 or >>>> 2.3. Then like 2.5 remove the callback server if we've gone through a >>>> couple release with no issues with the new bridge mode. >>>> >>>> My $0.02. >>>> >>>> >>>> On 9/12/12 12:38 PM, "Joe Bowser" wrote: >>>> >>>>> Hey >>>>> >>>>> In 2.1.0, we currently have the ability to use multiple bridges thanks >>>>> to Andrew's work. However, we currently still have a series of issues >>>>> related to the fact that on Android 4.x, the routing tables decided to >>>>> take a vacation and never come back when there's no Internet >>>>> connection. This means that the bridge freezes up and never comes >>>>> back. This wouldn't be an issue if this wasn't our default bridge >>>>> method. In addition to this, a large amount of memory usage on >>>>> Android is also taken up with this callback server. So, I think we >>>>> should take this thing out behind the shed and put it out of its >>>>> misery. >>>>> >>>>> As far as what should replace it, I'm for the overriding of the online >>>>> event for replacing it, since it performs faster than the others, and >>>>> actually works across all the versions of Android based on what I've >>>>> tested so far (2.2.2 to 4.1.1). >>>>> >>>>> Any thoughts or reasons why this method should survive? >>>>> >>>>> Joe >>>>