Ipv6 App Store Rejection

Apple App Store IPV6 Requirement

You don't need to worry about IPv6 support, if you've not set hard-core IPv4 IP address in your web server/service url connection.

This Apple document will help you: Supporting IPv6-only Networks

All apps submitted to the App Store must support IPv6-only networking. A majority of apps will not require any changes as IPv6 is already supported by NSURLSession and CFNetwork APIs. However, if your app utilizes IPv4-specific APIs or hard-coded IP addresses, you will need to make changes. Be sure to test for IPv6 compatibility before submitting your app to the App Store for review.

However, Apple guides in Testing your app in an IPv6-only environment:

You should test your app on an IPv6-only network. If you don’t have one, you can set up a test network by following the instructions in Test for IPv6 DNS64/NAT64 Compatibility Regularly.

Following SO reference, faced similar problem, may guide you:

  • IPv6 App Store Rejection

IPv6 app store rejection for app querying IPv4 server

The solution was to be resilient about the difference between testing within own NAT64 and the Appreview network. My app was finally accepted without further comment

App was rejected by App Store because of IPV6 issues

I faced this problem in iOS. Than I change my reachblility class internet connection method and my app approved. If You want to make Ipv6 network in your system than please check

https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

Objective c

+ (instancetype)reachabilityForInternetConnection
{
struct sockaddr_in6 zeroAddress;
bzero(&zeroAddress, sizeof(zeroAddress));
zeroAddress.sin6_len = sizeof(zeroAddress);
zeroAddress.sin6_family = AF_INET6;
return [self reachabilityWithAddress: (const struct sockaddr *) &zeroAddress];
}

Swift 3

 func ipv6Reachability() -> SCNetworkReachability? 
{
var zeroAddress = sockaddr_in6()
zeroAddress.sin6_len = UInt8(MemoryLayout<sockaddr_in>.size)
zeroAddress.sin6_family = sa_family_t(AF_INET6)

return withUnsafePointer(to: &zeroAddress, {
$0.withMemoryRebound(to: sockaddr.self, capacity: 1) {
SCNetworkReachabilityCreateWithAddress(nil, $0)
}
})
}

Xamarin iOS app rejected by App Store because not working on IPv6-only environment

After I discovered that the problem was due to the server, that during night (my night, afternoon in USA) was very slow, but reading documentation I've found this, that could be useful to other people:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/http-stack

April, 2018 – Due to increased security requirements, including PCI
compliance, major cloud providers and web servers are expected to stop
supporting TLS versions older than 1.2. Xamarin projects created in
previous versions of Visual Studio default to use older versions of
TLS.

In order to ensure your apps continue to work with these servers and
services, you should update your Xamarin projects with the
NSUrlSession setting shown below, then re-build and re-deploy your
apps to your users.

So yes, for HttpClient implementation managed is the default option, and it's almost sure that if you have an old application on the iOS project settings you'll find that one. But Xamarin now suggests to use the NSUrlSession, so to avoid problems in the future is probably good to change it.

But it's almost sure that if you don't have any hardcoded IPv6 address you don't have to change anything in your code:
https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html

If you’re writing a client-side app using high-level networking APIs
such as NSURLSession and the CFNetwork frameworks and you connect by
name, you should not need to change anything for your app to work with
IPv6 addresses. If you aren’t connecting by name, you probably should
be.



Related Topics



Leave a reply



Submit