{ "id": "61467", "key": "TIMOB-835", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11356", "description": "Mobile 1.8.0 M03", "name": "Sprint 2011-24", "archived": true, "released": true, "releaseDate": "2011-06-20" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-05T15:44:24.000+0000", "created": "2011-04-15T02:37:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-05T15:44:24.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": "{html}

This seems similar for bug #804 (Android), but this also applies to\r\niPhone. After a webview is launched, the URL property does not\r\nchange when clicking to a link to another URL, or when a redirect\r\nhappens.

\r\n

I tried unsuccessfully using this to catch an Oauth redirected\r\ncallback URL.

{html}", "attachment": [], "flagged": false, "summary": "iOS: WebView doesn't change it's \"url\" dynamic property", "creator": { "name": "gabrielcox", "key": "gabrielcox", "displayName": "Gabriel Cox", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gabrielcox", "key": "gabrielcox", "displayName": "Gabriel Cox", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124159", "author": { "name": "gabrielcox", "key": "gabrielcox", "displayName": "Gabriel Cox", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning to Jeff for distribution.

{html}", "updateAuthor": { "name": "gabrielcox", "key": "gabrielcox", "displayName": "Gabriel Cox", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:29.000+0000", "updated": "2011-04-15T02:37:29.000+0000" }, { "id": "124160", "author": { "name": "jacobwaller", "key": "jacobwaller", "displayName": "Jacob Waller", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Can we pretty please also have a locationChange event when the\nurl changes (also for remote webviews)?
\nThis doesn't sound like much, but would be a killer feature for\nme!

{html}", "updateAuthor": { "name": "jacobwaller", "key": "jacobwaller", "displayName": "Jacob Waller", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:37:29.000+0000", "updated": "2011-04-15T02:37:29.000+0000" }, { "id": "140653", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Jacob: WebView already has a 'load' event that fires whenever a page loads. This event even has a property called 'url' that, when the webview reflects an url instead of being called with setHtml or setData, is accurate to the new page.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-06T14:06:50.000+0000", "updated": "2011-06-06T14:06:50.000+0000" }, { "id": "140657", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On a successful page load, we change the proxy's url to reflect the new page.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-06T14:20:18.000+0000", "updated": "2011-06-06T14:20:18.000+0000" }, { "id": "140663", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is no sample code attached with this bug, (nor with the original LH ticket), could we get a quick test attached?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-06T15:46:07.000+0000", "updated": "2011-06-06T15:46:07.000+0000" }, { "id": "157028", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "D'oh. Let's add some code, shall we?\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar webview = Ti.UI.createWebView({url:'http://www.google.com',bottom:50});\r\nvar button = Ti.UI.createButton({title:'Log URL',height:50,bottom:0});\r\n\r\nbutton.addEventListener('click',function(E){\r\n\tTi.API.debug('Url is now: '+webview.url);\r\n});\r\n\r\nwin.add(webview);\r\nwin.add(button);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-17T13:19:11.000+0000", "updated": "2011-06-17T13:19:11.000+0000" }, { "id": "157339", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-21T16:56:51.000+0000", "updated": "2011-06-21T16:56:51.000+0000" }, { "id": "164007", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110819142548\niPhone 4.3.4\niPad2 4.3.2\nMotorola Xoom 3.2\nNexus One 2.2.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-25T10:12:24.000+0000", "updated": "2011-08-25T10:12:24.000+0000" }, { "id": "171667", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Standardizing summary and labels.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-05T15:43:53.000+0000", "updated": "2011-11-05T15:43:53.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }