karld Active Member Licensed User Longtime User Jun 17, 2017 #1 Was testing my latest app and I am using Firebase to download an update file. That is all working fine. BUT When I was testing in Airplane mode the app will just abort when there is no network connection. I am assuming there is a method of checking to see if the network connection is active? I can skip update download if no network available. Just not sure how to test for it.
Was testing my latest app and I am using Firebase to download an update file. That is all working fine. BUT When I was testing in Airplane mode the app will just abort when there is no network connection. I am assuming there is a method of checking to see if the network connection is active? I can skip update download if no network available. Just not sure how to test for it.
karld Active Member Licensed User Longtime User Jun 17, 2017 #2 Figured it out! I used HttpUtils2 to hit Google and see if I got a response. Used that to determine network state. Worked perfectly. Upvote 0
Figured it out! I used HttpUtils2 to hit Google and see if I got a response. Used that to determine network state. Worked perfectly.