See there are like 5 to 6 times , all at different places in code , where I call the Firebase components to store value or to retrieve values. All I need is to check for internet connection before any of FirebaseDB.store or FirebaseDB.get is called. You can link this topic with Help for Firebase store value and get value that is the trouble I have with FirebaseDB.. So I have decided to check the internet every time before FirebaseDB.store or FirebaseDB.get is called.