You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Sönke Rohde (JIRA)" <ji...@apache.org> on 2013/01/30 02:12:11 UTC

[jira] [Created] (CB-2308) InAppBrowser error event

Sönke Rohde created CB-2308:
-------------------------------

             Summary: 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


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