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] [Created] (CB-12652) stringByAddingPercentEscapesUsingEncoding is deprecated in iOS 9
Date Wed, 12 Apr 2017 20:51:41 GMT
Kerri Shotts created CB-12652:
---------------------------------

             Summary: 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


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