GPS on when maps open (no root)

by Alex Stoyanov

Version 1 (October 6, 2021)

Download (4 downloads)

Turns gps on when you open maps and turns it off when you close maps. Doesn't turn gps on or off if it is already on before opening maps. Make sure that you have your location services quick setting tile in your quick setting hotbar, and that the name of the tile matches (case sensitive) with the tileText variable.

If it doesn't, click no on the first question and write the correct name in the prompt. If that works, change block 13 to the correct tile name.


Uses the following flows for inspiration:
GPS toggle:
https://llamalab.com/automate/community/flows/681
XPath builder:
https://llamalab.com/automate/community/flows/39656