You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One way of doing that would be to define what poor connectivity means to your app. ATM the library calls the certain amount of connectivityURLs to determine whether a device is online or offline. You can calculate the time it takes to complete those calls and then define an enum to say if the time was greater than 4 seconds, the connection is poor. Or if the time taken was less than a second then the connection is fast.
Anyways it'd be a good feature for the library to provide.
@rwbutler Would it be possible to add such a functionality to the library itself? Also, do you see any issues with the approach mentioned-above? Would love to hear your thoughts.
I wanted to the user an alert when the connected internet connection is poor.
I didn't find a way to do that, Could you please help me how I can do it while using this library.
Thanks.
The text was updated successfully, but these errors were encountered: