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 02520EE33 for ; Wed, 30 Jan 2013 14:19:18 +0000 (UTC) Received: (qmail 37855 invoked by uid 500); 30 Jan 2013 14:19:17 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37652 invoked by uid 500); 30 Jan 2013 14:19:14 -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 37611 invoked by uid 500); 30 Jan 2013 14:19:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 37593 invoked by uid 99); 30 Jan 2013 14:19:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 14:19:12 +0000 Date: Wed, 30 Jan 2013 14:19:12 +0000 (UTC) From: "Simon MacDonald (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2308) InAppBrowser error event MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2308?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1356650= 4#comment-13566504 ]=20 Simon MacDonald commented on CB-2308: ------------------------------------- There is an onReceivedError method of the WebViewClient on Android we can u= se to report errors. =20 > InAppBrowser error event > ------------------------ > > Key: CB-2308 > URL: https://issues.apache.org/jira/browse/CB-2308 > Project: Apache Cordova > Issue Type: Improvement > Reporter: S=C3=B6nke Rohde > Assignee: Shazron Abdullah > > Right now there is no InAppBrowser error event. > That's useful for several reasons and in my case I need it for OAuth. The= redirect URL is non-http so I get this error: webView:didFailLoadWithError= - The URL can=E2=80=99t be shown > If I would have an error event containing the failing URL in the payload = I could actually parse out the refresh/access token etc. from the OAuth flo= w. > Besides the error event is also useful in general to get a hook for when = a URL is not working. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira