Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4907] Deprecate redundant functions in iOS Ti.Network

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-12-09T13:41:46.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-36, Release 1.8.0
ComponentsiOS
Labelsdeprecated-1.8.0, events, network, parity
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-08-05T13:29:33.000+0000
Updated2011-12-09T13:41:46.000+0000

Description

We need to deprecate the following functions on Ti.Network: - addConnectivityListener - removeConnectivityListener These are aliases for add/removeEventListener('change',...) Deprecation should probably be done via a DEPRECATE(in,removed) macro, where 'in' is a string representing a version number the function is deprecated in, and 'removed' indicating the version in which it will be removed. This function will log a warning of some type, although we may want to take other action as well.

Comments

  1. Vikramjeet Singh 2011-09-14

    Resolved. Tested On: Mac OSX Lion TiMob: 1.8.0.v20110906155354 TiStud: 1.0.5.201109091616 Devices Used: iPhone Simulator 4.3 iPhone4 version 4.2.10 iPod3 version 4.0.2
  2. Stephen Tramer 2011-12-09

    Reopened to modify labels for deprecation/remove tbs

JSON Source