CNCopyCurrentNetworkInfo Information regarding App Rejection

Hi,


We have our SDK embedded in a 3rd party app and our SDK uses CNCopyCurrentNetworkInfo. The 3rd party integrater have come to us and told us that "Apple is still saying we can’t use this API call." ( referencing CNCopyCurrentNetworkInfo ) is there any reason why Apple would reject an app based on that our SDK uses CNCopyCurrentNetworkInfo to get information about the connected wifi.


Ive looked over the documnetation and I can see in iOS 12

Important

To use this function in iOS 12 and later, enable the Access WiFi Information capability for your app in Xcode. When you enable this capability, Xcode automatically adds the Access WiFi Information entitlement to your entitlements file and App ID.



But they are still using iOS 11 and xcode 9



Any help would be amazing thanks.


Phil

The only folks who can give you a definitive answer about what will or won’t pass App Review is App Review themselves. In my experience they are reluctant to give guidance beyond what’s included in their published guidelines.

The situation with

CNCopyCurrentNetworkInfo
has been evolving over time. This API is problematic because the current Wi-Fi info is a good proxy for the user’s current location. We tried to remove this API completely in iOS 9 but that proved to be problematic (see this thread for some background on this). I expect that we will try to remove, or seriously restrict, this API again in the future, although we don’t have any officially announced plans along those lines. An initial step along that path is what you see in iOS 12: Apps linked with the iOS 10 SDK need to have the
com.apple.developer.networking.wifi-info
entitlement, which they can without any fuss via Xcode’s Capabilities editor.

But they are still using iOS 11 and xcode 9

That’s going to be problematic for other reasons.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

In what why is this problematic in ios 11 and xcode 9, I've looked over the links provided, I can see any problems, only the privacy policy stuff around gdpr.


Could you enlighten me or put me in touch with someone that can.


Thanks


Phil

In what why is this problematic …

To quote from that news article I linked to:

Starting March 2019, all new apps and app updates for iPhone, including universal apps, will need to be built with the iOS 12 SDK …

The iOS 12 SDK is only supported in Xcode 10, so come that deadline you won’t be able to submit apps build with Xcode 9 to the store.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
CNCopyCurrentNetworkInfo Information regarding App Rejection
 
 
Q