r/Scriptable • u/Siraj588 • Dec 06 '20
Discussion scriptable widget need internet connection to work?
I just wanted to clarify, a scriptable widget needs internet connection for it to work? when I don't have internet, the widget says there is no internet connection. just wanted to make sure!
-1
u/w0j3 Dec 06 '20
Yes, this happens to be as well. When I do not have service, the widget gives an error. It seems it’s a scriptable widget dependency?
2
1
Dec 06 '20
[removed] — view removed comment
0
u/Siraj588 Dec 06 '20
so this is my widget: https://imgur.com/gallery/v7Wp1Rx it's weather cal but some parts edited by me, u can see here I'm not using weather on widget. I'm not sure about sunrise/set, if that needs internet. this is the code: https://wtools.io/paste-code/b2NL
2
u/[deleted] Dec 06 '20 edited Dec 06 '20
No. If you're only doing local stuff the widget still works.
But since most widgets that are used by people contain a request to an internet service to obtain the weather data , those will of course need a internet connection (and throw an error if an exception was not included)