Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1589] "beforeload" event is not fired on redirect

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2015-06-26T23:05:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPaolo Sinelli
AssigneeRadamantis Torres-Lechuga
Created2015-03-31T13:58:18.000+0000
Updated2016-03-08T07:38:03.000+0000

Description

I have a login page that returns a redirect URL in the form of myschema://. Webview is not able to handle the URL schema in iOS and rise an error. I thought to prevent this by intercepting the request before it is loaded using the 'beforeload' event, but I discovered the event is not fired in case of redirection. I would expect to be able to.

Comments

  1. Shuo Liang 2015-04-07

    Hi, Please provide the test case to reproduce your problem, Here is the guide about [how to create a test case](http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase).

JSON Source