cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerri Shotts (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-12652) stringByAddingPercentEscapesUsingEncoding is deprecated in iOS 9
Date Wed, 12 Apr 2017 20:57:41 GMT

     [ https://issues.apache.org/jira/browse/CB-12652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kerri Shotts updated CB-12652:
------------------------------
    Fix Version/s: cordova-ios@5.0.0

> stringByAddingPercentEscapesUsingEncoding is deprecated in iOS 9
> ----------------------------------------------------------------
>
>                 Key: CB-12652
>                 URL: https://issues.apache.org/jira/browse/CB-12652
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.4.0
>            Reporter: Kerri Shotts
>            Assignee: Kerri Shotts
>              Labels: deprecation, easyfix, ios, ios9
>             Fix For: cordova-ios@5.0.0
>
>
> Opening a freshly created project using Xcode and build reveals that stringByAddingPercentEscapesUsingEncoding
generates deprecation warnings:
> ...CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.m:81:91:
'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 -
Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended
UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each
URL component or subcomponent has different rules for what characters are valid.
> Our usage:
> https://github.com/apache/cordova-ios/search?utf8=✓&q=stringByAddingPercentEscapesUsingEncoding&type=



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message