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 0F4B69342 for ; Tue, 8 Nov 2011 18:43:17 +0000 (UTC) Received: (qmail 24713 invoked by uid 500); 8 Nov 2011 18:43:17 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 24696 invoked by uid 500); 8 Nov 2011 18:43:17 -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 24688 invoked by uid 99); 8 Nov 2011 18:43:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 18:43:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gibson.becky@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-iy0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2011 18:43:10 +0000 Received: by iafj26 with SMTP id j26so825914iaf.6 for ; Tue, 08 Nov 2011 10:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; bh=WacMHhbmJw1xl4cqNwa4fAbSHOzgmlEyljKhHUQaEos=; b=tk8mmeAEyP7SrnZpDK0Bi3Dalx3EkOYhsck9oF0oxCoXZ+KCZVdPk1IyMGOdk9N3Oh 7MUc/Yr+su2oQWnq4UTMbo57TV4j8c43C9oW9f28iAuX+xDZzgt0oQnJ82/vXpazX33O 5zA1o54graEt88vUBoJac/iJAmZdQp1Es3CIA= Received: by 10.42.155.70 with SMTP id t6mr53180507icw.38.1320777769320; Tue, 08 Nov 2011 10:42:49 -0800 (PST) Received: from bgibsonmbp.westford.ibm.com (bi01pt1.ct.us.ibm.com. [129.33.1.37]) by mx.google.com with ESMTPS id n30sm3201971ibl.4.2011.11.08.10.42.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Nov 2011 10:42:47 -0800 (PST) From: Becky Gibson Content-Type: multipart/alternative; boundary="Apple-Mail=_E716B042-208E-407D-B07A-03C0FF5EDD65" Subject: Use Cases for Loading URLs Date: Tue, 8 Nov 2011 13:42:45 -0500 Message-Id: To: callback-dev@incubator.apache.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) --Apple-Mail=_E716B042-208E-407D-B07A-03C0FF5EDD65 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii There are many comments as well as open tickets about loading URLs = within an application (at least for iOS). I thought it might be = worthwhile to compose a list of use cases in order to better understand = which ones we can and want to support: 1) Entire app loaded from assets within www directory of the device. 2) Initial load via www/index.html then redirect to a Web URL or update = assets via Web URL. 3) Application loads from a Web URL - no assets stored or updated on the = device. 4) Application loads from a Web URL - some assets may be stored or = updated on the device. 5) Application displays ChildBrowser to load additional Web URLs=20 6) Application displays ChildBrowser to load Web URLs - wants to execute = PhoneGap commands from within ChildBrowser 7) Application loads additional Web URLs via iFrame and wants user to = navigate within iframe assets 8) Application loads additional Web URL via iFrame and wants to execute = PhoneGap commands from within iFrame. I don't think it matters where URLs are opened via xmlHttpRequest, links = or scripting but maybe I am being naive? I'm sure there are more, please add to the list. As far as support in iOS here is my current understanding: 1) supported 2, 3,4) For 3,4 developer needs to make changes to native code (due to = issue270). Support depends on the type of redirection see = https://github.com/phonegap/phonegap-iphone/issues/270 5) supported - have to deal with whitelist 6) not currently supported 7) broken see https://github.com/phonegap/phonegap-iphone/issues/296 = (although that ticket is closed any redirection within the iframe still = does not work) 8) not supported There was a recent commit to provide a setting to force all whitelisted = URLs to load within the UIWebView which may address some of the issues. = =20 What use cases do we want to support and how can we do that consistently = across platforms? =20 -becky --Apple-Mail=_E716B042-208E-407D-B07A-03C0FF5EDD65--