-
Notifications
You must be signed in to change notification settings - Fork 121
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
WifiManager.startScan() was deprecated in API level 28 #99
Comments
I'm on Android API level 29, and running This is a breaking issue for me, since I can verify that the app does have the required permissions enabled, wifi is turned on, and going to the phone's Wifi settings, there are networks listed. EDIT: Nevermind. The reason for this was that location services were not enabled. |
Can you tell me how do you solve this problem ? |
Personally I switched to: https://github.com/JuanSeBestia/react-native-wifi-reborn |
The documentation of the Android SDK states that:
Do you know if there will be an alternative API for the same purpose?
Also will the plugin prevent crashes if in a future Android release if an app using the plugin will try to scan for networks?
https://developer.android.com/reference/android/net/wifi/WifiManager.html#startScan()
The text was updated successfully, but these errors were encountered: