cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2308) InAppBrowser error event
Date Wed, 30 Jan 2013 14:19:12 GMT

    [ https://issues.apache.org/jira/browse/CB-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566504#comment-13566504
] 

Simon MacDonald commented on CB-2308:
-------------------------------------

There is an onReceivedError method of the WebViewClient on Android we can use to report errors.
                
> InAppBrowser error event
> ------------------------
>
>                 Key: CB-2308
>                 URL: https://issues.apache.org/jira/browse/CB-2308
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Sönke 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’t 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 flow.
> 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 administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message