Open mirwisek opened 1 year ago
Thanks for reporting this issue. It looks like clear text traffic configuration is missing. Please, have a look at this paragraph: https://github.com/pwittchen/ReactiveNetwork#cleartext-traffic .
Moreover, if you want to use WalledGardenInternetObservingStrategy
, please update HTTP response code via InternetObservingSettings
. E.g set it to 200
because default is 204
. You can also try to set different custom host for checking connectivity via InternetObsevingSettings
if clients3.google.com
does not work in your country.
All of that is described in details in documentation in README.md
.
Regards, Piotr
Internet connected state is misleading I added the library to my projects and I'm only observing internet connectivity. It is always returning false even when my wifi is working fine. To confirm that, I observed network state and it is returning
CONNECTED
while internet connectivity is showing false.To Reproduce Steps to reproduce the behavior:
Expected behavior It should show that internet is connected while Network state is
CONNECTED
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone:
Error
I'm continuously getting the following error after each 2 seconds. It seems the library is pinging a URL that is
http
(Not permitted).