[TIMOB-16277] Replace existing ASIHttpLibrary from the SDK
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-03-12T18:24:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2014 Sprint 05, 2014 Sprint 05 API, Release 3.3.0 |
Components | iOS |
Labels | n/a |
Reporter | Pedro Enrique |
Assignee | Pedro Enrique |
Created | 2014-01-21T20:33:55.000+0000 |
Updated | 2017-03-14T19:11:44.000+0000 |
Description
Remove existing use of ASIHttpLibrary on our Library and switch over to the new NSURLConnections Library.
Put deprecation warnings inside the Library entry points.
This includes rework on classes that use the ASIHttpLibrary:
- ImageLoaded
- Analytics
- Geolocation
- Yahoo! (this can easily be rewritten in JS)
- HTTPClientProxy (this will is being replaced)
Do we actually want to do the switch for 3.3.0, or just allow people the option to switch? I thought we were deprecating for 3.3.0 and switching for 3.4.0.
[~ingo] we could do the switch for 3.3.0. If we don't, we'll need to come up with a new Titanium API for the new proxy. If we do the switch, the developer won't see or notice a difference.
Analytics git commits - [git commit #1](https://github.com/pec1985/titanium_mobile/commit/6096644f1964b40528a37d8bec81b6aac3d094cc) - [git commit #2](https://github.com/pec1985/titanium_mobile/commit/d3185d44cdb137fcf80cf81b3d1f64fe0cedb283)
ImageLoader git commits - [git commit #1](https://github.com/pec1985/titanium_mobile/commit/92297bb702f1dd34561f66cf3139ac58669548eb)
Geolocation git commits - [git commit](https://github.com/pec1985/titanium_mobile/commit/e42ccf9d266fcfdf4bbb8f665390bd7ed872b784)
Yahoo module - again, this should be done as a JS module instead, it didn't take much to port from the old ASIHttpLibrary to the new TiHTTPClient. So here it is: - [git commit](https://github.com/pec1985/titanium_mobile/commit/5709c7f5259980eb2a66de524d096657ef9b79ce)
Final PR removing ASIHTTPRequest dependencies: https://github.com/appcelerator/titanium_mobile/pull/5456
Closing ticket as fixed.