firebase / firebase/firebase-ios-sdk
FR: Connection speed monitoring
- Dominant language
- C++
- Stars
- 6.7k
- Forks
- 1.8k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 72
Description
Hello,
Sharing a feature request - would it be possible to implement a connection performance monitoring into the SDK?
I am getting user feedback that at times the connection to firebase is slow and I would like to show them that this is not due to the app but likely due to their slow connection so that they don't keep staring at their phones thinking my app is slow. I already implement reachability but it's too binary (connection/ no connection) and doesn't help with signal strength/ data loss (as far I know).
I know I could implement some form of this myself but figured I would ask first if this something that (a) is already supported and just could not find documentation about (b) something you guys are planning on implementing in a not too distant future.
If the answer is no to both of these, I'd be curious what method would be best to test my connection speed (e.g., Http call to my Cloud Function or downloading a 10kb file from firestore?) and what's the best approach to calibrate what a "slow" connection is (e.g., a 10kb file taking more than x ms or sec to download).
Thanks for the help!
Contributor guide
Assessment
This issue has not been assessed yet.