Permissions & Location

Android gatekeeps location too

Just like iOS, Android won't hand an app GPS access silently β€” the user has to grant a runtime permission, and the app has to ask. LiveScreen asks with rememberLauncherForActivityResult, a Compose tool that wraps Android's permission-request flow into something you call like a function and get a callback from.

PawWalk asks for two related permissions at once β€” ACCESS_FINE_LOCATION (precise GPS) and ACCESS_COARSE_LOCATION (approximate, network-based) β€” because some devices grant only the coarse one. The grants map in the callback tells you which ones the user actually said yes to.