Possible to use location in widget

Hey,

loving the widget support in Scriptable so far. Is there a way to use Location inside a widget-script? If the code is run inside an widget I get a error message, if I run the script inside the app everything seems to work fine:

Best
Claas

Yes, I have this issue, too. It looks like the privacy settings are set up not to ask for access to location “always,” only “while using the app.” I think that is the problem. If anyone has a solution, I would love to hear it.

I have the same issue as well.
Posted a sample script in the widgets thread:

Good news: Issue is fixed in the latest TestFlight beta (1.5.1) — along with many other new features.
Thanks @simonbs for the quick update!

2 Likes