Files
react-native/packages
Ingrid Wang 6b3d25a075 Update deprecated stringByAddingPercentEscapesUsingEncoding to NSCharacterSet (#39638)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39638

# Changelog:
[Internal] - Removing usage of stringByAddingPercentEscapesUsingEncoding

Per deprecation message:

> '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.

Reviewed By: cipolleschi

Differential Revision: D49610243

fbshipit-source-id: 7c40ce9f6b643851c8aae8149acde2c435c06a76
2023-09-26 10:26:06 -07:00
..