-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[network_info] ios: handle deprecation of CNCopyCurrentNetworkInfo
#240
Comments
Looks like
from Official source in Apple forum - https://developer.apple.com/forums/thread/675211?answerId=664741022#664741022 |
I got same issue. |
You can be that someone 🌟 |
I am working on it on another plugin [flutternetwork/WiFiFlutter#150], will patch the same here once done. |
version 1.3.0 published |
System info
Issue occurs on: iOS
Plugin name: network_info_plus
Plugin version: nil
Flutter doctor output: nil
CNCopyCurrentNetworkInfo
is deprecated in iOS 14.0, it recommends to use NEHotspotNetwork.fetchCurrentWithCompletionHandler.
I am not a native iOS developer but as far as I read, the new method is part of
HotspotHelper API
which requires special entitlements from Apple (requesting them manually here).Either
HotspotHelper API
and integrate with current handlerThe text was updated successfully, but these errors were encountered: