You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following deprecation warnings appear in my log when building my Cordova app on monaca.io.
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.
Bug Report
Problem
What is expected to happen?
Not to see deprecation warnings for iOS 9.0
What does actually happen?
The following deprecation warnings appear in my log when building my Cordova app on monaca.io.
stringByAddingPercentEscapesUsingEncoding
is deprecated: first deprecated in iOS 9.0stringByAddingPercentEncodingWithAllowedCharacters
: 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.CDVLocalFilesystem.m:128:43
CDVFile.m:590:25
stringByReplacingPercentEscapesUsingEncoding
is deprecated: first deprecated in iOS 9.0stringByRemovingPercentEncoding
instead, which always uses the recommended UTF-8 encoding.CDVFile.m:589:35
Information
Apple docs: https://developer.apple.com/documentation/foundation/nsstring/1407783-stringbyreplacingpercentescapesu
Command or Code
Forgive me if this is the wrong command - I'm extracting it from the log Monaca automatically generates.
Environment, Platform, Device
iOS (also present in OSX)
Version information
Cordova: 12
Cordova iOS: 7.1.0
Cordova Plugin File: 8.1.0
Xcode: 15.0.1
Checklist
The text was updated successfully, but these errors were encountered: