Check Internet Access on Android

A little while ago I had built this Android application that would GET and POST data to a REST API. Simple task, however not everyone has internet access all the time, so then some application logic would have to work around those cases.

A simple third party library would check for current internet access, apply some “clever”… or straight forward logic and make sure data could be pushed to the server when internet access is available. Everything worked fine, until Android 10+… when clients would not be able to POST or GET any data to and from the REST API. After a circus of…