If I want to trigger a Pythonista script via location (geo-fence), I am under the impression the best way is to use "Launch Center Pro app" or "IFTTT app". Is this true?
Forum Archive
iOS Location Triggers
Launch Center Pro has some kind of online service to do this (as far as I know - I don't have that app). With IFTTT I don't think it's possible. They do have a "Maker" channel, but that sends and receives web requests, it doesn't open URLs on your device.
Yes you can do that using the "IF" app for ifttt and enabling the location channel. Launch Center also does this for on device actions.
you could use background location in a script, but I have no idea how one would go about implementing a geofence in code. (if latitude is < x and >y and longitude is > q and < r ??? which would be a square geofence....)
I meant triggering the Pythonista script. Detecting when the user enters the geofence is possible with IFTTT, but there's no way that I know of to launch a Pythonista script based on that.
@dgelessus Yes, apologies, you are correct.
Here's one possible workaround, though not quite the same thing. You could use the maker channel to send a push notification using something like http://prowlapp.com, and have a url to launch pythonista in there, but that would still need you to press on the link.
IFTTT can send iOS notifications, which can open a URL when you tap on them. That happens locally on the device, so I'd assume that would be a way to semi-automatically launch a Pythonista script based on a trigger.