Flutter – Firebase – Check internet connection on app startup
I am trying to check internet connection on startup and decide whether I want to open page with data from Firebase or different page with data from local storage. But it fails (sometimes it works one time and then it…