Is there any chance of extending Pythonista's URL scheme to support x-callback-url like behavior?
Basically, I'd like to be able to launch an app from Pythonista, while Pythonista sits and waits for a response. Once the response comes, the script in Pythonista could resume and handle the callback by a method in the script.
Or is it just not possible because the running script dies as soon as the app enters the background?
I ask because I'm interested in the possibility of more scriptable iOS applications and Pythonista seems like a great engine for scripting workflows between apps. Imagine being able to launch an app (A), which returns info back to Pythonista, letting my script process the returned data, and then launch into another app (B) based on information gleaned from the previously launched app, and repeat with other apps (C, D, etc) until a workflow is complete.
(This looks possible if app A supports x-callback-url by using multiple Pythonista scripts, but the problem is that you loose all context that the script had as soon as A launches.)
Any thoughts, on this or other possibilities?