-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Getting call for connectivity changes periodically on Samsung Note3 Neo #215
Comments
Hi, Thanks for reporting this issue. If this problem occurs only on the mentioned device, it may be device specific problem. What do you mean by "gets called again and again"? Does it get called continuously in an endless loop? This may be related to Android version customized by Samsung. To be honest, I tested this library only on "pure" Android OS on Nexus 5 & 6 and I haven't checked it on Samsung devices. |
Thanks for your response. Like, it keeps on logging "Connected" every 4-5 seconds. Then when I disconnect the internet, it keeps logging "Connection lost" every 4-5 seconds. |
Are you sure, you're using library correctly? Have you tried to run the
sample app and got the same results? If yes, I think it's may be a problem
with this concrete device or its custom Android OS.
…On Wed, Aug 30, 2017 at 10:45 AM, Abdullah Usmani ***@***.***> wrote:
Thanks for your response.
Yes, it gets called continuously. Ideally, I should get a callback
whenever a change in connectivity happens, i.e, when internet gets
connected or disconnected. But I am getting this callback in an endless
loop.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqcF-TGO03hnEuljXoJUrxUcYh777GUks5sdSEbgaJpZM4PBDnC>
.
--
Piotr Wittchen
http://wittchen.biz.pl
|
I think I am using the library correctly. Because I am getting the correct results on all other devices. This must be a device/OS specific issue. |
If it works on all other devices except for this one, it's definitely
device or OS specific issue and probably cannot be fixed within library
code. It can be reported to the device manufacturer.
…On Wed, Aug 30, 2017 at 12:02 PM, Abdullah Usmani ***@***.***> wrote:
I think I am using the library correctly. Because I am getting the correct
results on all other devices. This must be a device/OS specific issue.
I haven't tried the sample app though. I'll check it and let you know soon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqcF_9CUd2YSFISR6GZtAdPYLomWRL-ks5sdTNPgaJpZM4PBDnC>
.
--
Piotr Wittchen
http://wittchen.biz.pl
|
There's no new response since one year and it's related to the specific device, so I'm closing it. |
I have the following code in my app::
It is working fine on most of the devices I tested (Oneplus X, Samsung J5 etc). The 'call' method of 'Action1' gets called once whenever internet connection is lost or retained. But on Samsung Note3 Neo, Android v5.1.1, it gets called again and again.
The text was updated successfully, but these errors were encountered: