-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Google pixel wifi change event is received in 30 sec delay #460
Comments
Thanks for reporting this. If you observe different behavior on two different devices with the same code where the only difference is delay, then this is clearly hardware issue and library cannot do anything about this. It can be also Android OS issue, but still it's not related to the library. Regards, |
Thanks for your quick answer When i am listening to wifi changes with BroadcastReceiver i can see that the wifi connection event immediately. This is the logs: |
In this receiver you are not using |
I tried this code |
I also tried it with no filter - and It is the same behaviour - 30 sec delay |
Describe the bug
I am using this code for listening to wifi changes -
ReactiveNetwork.observeNetworkConnectivity(context)
.subscribeOn(Schedulers.io())
.filter(ConnectivityPredicate.hasType(NetworkCapabilities.TRANSPORT_WIFI))
.observeOn(AndroidSchedulers.mainThread())
.subscribe({
logWarning("###### change network = $it")
},{ })
I am testing the code in different devices and its work,
but in Google pixel 3a i am receiving the wifi concavity change event in 30 seconds delay.
In Samsung device i am receiving the wifi concavity change event immediately
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Wifi connect in the same time
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: