Hey guys,
I've been looking for a mobile plugin that detects when a user has a poor internet connection.
All I found so far is a bunch of different Forge components that returns the network status online/offline and saw one that was something like a network speed but it didn't look to promising specially with the comments in the component.
Do any of you guys happen to know one component that does it? Or any cordova plugin we could get as well.
Something that is checking every x seconds how is the internet connection, and when considered as poor, not offline, would trigger an event which then we could show a message to the users, letting them know that their next server requests may not be completed due to the bad internet.
Thank you,
Nelson
Here is an implementation using pure JavaScript. It attempts to download an image file every 10 seconds. If the download fails or is below the threshold, an event is raised. If you are comfortable with JavaScript, you can use this in your application.