{ "id": "89841", "key": "TIMOB-8690", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13401", "description": "Sprint 2012-09 Core", "name": "Sprint 2012-09 Core", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-04-28T18:31:18.000+0000", "created": "2012-04-11T12:02:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T20:40:59.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Feature Description \r\n\r\nJust fire a new event in the UIWebView component when the delegate shouldStartLoadWithRequest was fired.\r\n\r\nThe event will return the URL that the application is trying to open.\r\n\r\nIt's useful to URLs that have redirects.", "attachment": [], "flagged": false, "summary": "iOS: Add a shouldLoad event / callback to WebView", "creator": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": null, "comment": { "comments": [ { "id": "190663", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I'm seeing that the TiUIWebView.m file has this code line behind the shouldStartLoadWithRequest delegate:\r\n\r\nif ([self.proxy _hasListeners:@\"beforeload\"])\r\n{\r\n NSDictionary *event = newUrl == nil ? nil : [NSDictionary dictionaryWithObject:[newUrl absoluteString] forKey:@\"url\"];\r\n [self.proxy fireEvent:@\"beforeload\" withObject:event];\r\n}\r\n\r\nIt probably will be released with the 2.0 version. So, this TIMOB isn't necessary anymore.", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-04-11T19:16:41.000+0000", "updated": "2012-04-11T19:16:41.000+0000" }, { "id": "190836", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Here is the Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1999", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-04-12T19:56:28.000+0000", "updated": "2012-04-12T19:56:28.000+0000" }, { "id": "412921", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the information that was requested was never provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:40:59.000+0000", "updated": "2017-03-16T20:40:59.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }