If you want to know if the client is connected to the server before calling setValue() , you can attach a listener to . info/connected .
Read moreWhat is Firebase testing?
Firebase Test Lab is a cloud-based app testing infrastructure that lets you test your app on a range of devices and configurations , so you can get a better idea of how it’ll perform in the hands of live users. Run a test. For instructions about running tests with Test Lab, visit our Getting Started guides: Android iOS.
Read moreHow do I test my Firebase app?
Create an Android studio project, Sign in to your Google account and register your app on the firebase console.
Read more