Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26129] iOS: Migrate Ti.UI.WebView NSURLConnection usage to NSURLSession

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2018-06-18T03:09:38.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2018-06-14T11:40:45.000+0000
Updated2018-08-06T17:41:13.000+0000

Description

We have migrated our networking code base to use NSURLSession in SDK 7.1.0 and it works good. Now that we drop iOS 8 support to move to iOS 9 as our new deployment target (TIMOB-26123), the only remaining deprecation warning is a NSURLConnection usage in the Ti.UI.WebView that is used to handle insecure connections for the "ignoreSslError" property. This should be migrated to NSURLSession as well.

Comments

  1. Vijay Singh 2018-06-18

    A ticket TIMOB-26049 is already created for doing same thing. So resolving as duplicate.
  2. Eric Merriman 2018-08-06

    Closing as a duplicate. If this is in error, please reopen.

JSON Source