I’m trying to use the new Shortcuts app to create a workflow for easily toggling location services on / off (via Action extension and/or Siri).
It seems like I need to use Scriptable in order to complete this shortcut. I have only basic knowledge of JavaScript so any help with the code needed to create the Scriptable script will be appreciated.
I’ve pasted in code I think might be relevant but I’m a lil out of my league on getting a script to execute (image attached)
Or if there is an easier way to achieve this action please enlighten me thanks in a Vance for any help