-
Notifications
You must be signed in to change notification settings - Fork 188
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
refactor(ios): handle deprecation of CNCopyCurrentNetworkInfo
#150
Conversation
CNCopySupportedInterfaces
CNCopyCurrentNetworkInfo
Using `NEHotspotNetwork.fetchCurrent` instead
fa109cf
to
3d9df8e
Compare
Awesome, I can't test right now but this is great work. |
LGTM. Hopefully, we'll see a new release shortly thereafter. |
@daadu I got this message on both iOS real device and simulator
|
@daadu tested on real device - iOS 14.4.2 and simulator - iOS 14.5 |
I don't have iOS 14 devices, have not tested it personally. Will test it myself in some days |
@phan-dev In addition to the info of this link, you need to make sure that your App ID has the following capabilities enabled:
Also, ensure that your entitlements file contains the following: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.networking.HotspotConfiguration</key>
<true/>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>app-proxy-provider</string>
</array>
<key>com.apple.developer.networking.wifi-info</key>
<true/>
<key>com.apple.external-accessory.wireless-configuration</key>
<true/>
</dict>
</plist> |
@daadu any updates? |
This has landed on pub.dev with v0.3.4. |
@diegotori Took long because was not sure if it was tested well. |
Using
NEHotspotNetwork.fetchCurrent
insteadCloses #142 #105 #75 #121