[TIMOB-24149] Android: Remove redundant Ti.UI.Window url property code
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-12-06T02:06:50.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.1.0 |
| Components | Android |
| Labels | qe-6.1.0 |
| Reporter | Gary Mathews |
| Assignee | Gary Mathews |
| Created | 2016-11-16T08:00:08.000+0000 |
| Updated | 2016-12-08T17:58:22.000+0000 |
Description
There is still code that exists for handling the deprected and removed property
url for Ti.UI.Window. Using this property will cause the application to crash.
Ti.UI.createWindow({
title: 'TEST',
url: 'preapproval.js',
backgroundColor: '#fff'
});
master: https://github.com/appcelerator/titanium_mobile/pull/8610
Verified as fixed the application no longer crashes when
urlis present. Tested on: {noformat} macOS Sierra 10.12.1 Nexus 5X(6.0.1) Nexus 6p (7.0) android emulator (4.4.2, 6.0) Ti SDK: 6.1.0.v20161207121046 Appc NPM: 4.2.8 App CLI: 6.1.0-309 Node v4.4.7 {noformat} *Closing Ticket.*