I need to ensure both the user's location and internet are enabled during the application usage.
While I've successfully implemented connectivity checking using the internet_connection_checker_plus package, I'm facing challenges in dynamically checking the status of the location service using GeoLocator. Is there a single package or method that allows me to efficiently check and manage both location and internet services? If not, how can I dynamically track the real-time status of the location service using GeoLocator to determine whether it is active or inactive?
From Geolocator documentation you can use
With riverpod you can declare a provider to check the status of permission
then in your build method, you can watch this provider and react to the status change
if you need a real time you can use a StreamProvider instead of a FutureProvider