Skip to content
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

Report network statistics #48

Open
Serchinastico opened this issue Jul 5, 2017 · 2 comments
Open

Report network statistics #48

Serchinastico opened this issue Jul 5, 2017 · 2 comments
Assignees

Comments

@Serchinastico
Copy link
Contributor

We need to report stats related to the usage of the network in the host application.
The Android app is now recording how many bytes are being downloaded and uploaded.

In the API report, the parent object is called network and it contains just two values: bytesUploaded and bytesDownloaded expressed as a long.

@Serchinastico Serchinastico self-assigned this Jul 5, 2017
@Serchinastico
Copy link
Contributor Author

Serchinastico commented Jul 5, 2017

Update on this issue: we can't know for sure how many bytes the host app has downloaded/uploaded, we only have access to general stats, independent of processes. It's true that iOS is known for killing apps that are in background but...

Pending to take a decision on this.

@Serchinastico
Copy link
Contributor Author

After a brief discussion with pedro, we agreed on applying swizzling to NSURLSession, we'd probably miss data streaming or webviews traffic but it's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant