-
Notifications
You must be signed in to change notification settings - Fork 49
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
receivedNetworkSpeed and sendNetworkSpeed are always 0 b/s #58
Comments
It seems you are trying in simulator ? |
{"receivedNetworkSpeed": "1.0KB/s", "receivedNetworkTotal": "631.9MB", "sendNetworkSpeed": "4.0KB/s", "sendNetworkTotal": "179.3MB"} Ok. But it is not real speed. What can i do wrong? |
Maybe you haven't done any network operations? |
So, I need to download something, and than check speed? |
yes |
Okay. And what I need to do, to check upload speed? |
And I have a question. I need to download something big, and in this time immediately call getTrfficStats? What is the best approach? |
const myFn = async () => { let test = await Ping.getTrafficStats(); console.warn(test); }
So, I am doing like that, and speeds are always 0. For example:
{"receivedNetworkSpeed": "0B/s", "receivedNetworkTotal": "153.4MB", "sendNetworkSpeed": "0B/s", "sendNetworkTotal": "22.2MB"}
The text was updated successfully, but these errors were encountered: