How to properly check if location service was turned on, after back from the settings to app
I have an app, which should check on start, whether the location service is on, or off. I’ve tried to play around with AlerDialog
, and sending user to the settings via Intent
, but it doesn’t work as I’d like to.
Android compose – checking if user enabled location service after he move back from the settings
I’d like to make a function, where user will be asked whether he would like to share his location, or just enter the city in TextField.