Support for IP address as host in iOS 17
jurajhilje opened this issue · 2 comments
Description
For apps linked on or after iOS 17 and aligned OS versions, App Transport Security now requires secure connections to external IP addresses by default. For more information on these requirements, see Preventing Insecure Network Connections. Exceptions can be made using NSExceptionDomains, which now supports exceptions for individual IP addresses and ranges specified in classless inter-domain routing (CIDR) notation. (101967030)
References:
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-17-release-notes
Notes for QA
The easiest way to test if app can connect to api.ivpn.net
using an IP address is to observe the connection info UI on the main screen. This is because the app uses the IPv4 and IPv6 IP hosts to obtain the connection info, even when API is accessible with the regular hostname.
@gorkapernas This is available in 2.11.1 (4)
Verified on 2.11.0 (6), iOS 17, I've monitored the connection info while connecting to the VPN and the app always uses IP addresses to connect to the API. This looks good to go.