@omz, I was wondering if it would be possible to enable background location updates in pythonista. This would reauire the user to select a script to be called, similar to today widget. Then if so is stopped due to memory / background limits, when the notification arrives, the user script would be called.
This would enable all sorts of interesting applications. But I wasn't sure if this requires an entitlement that is not enabled. A while back I think I was able to swizzle the applicable methods when app resumes, but obviously that only works if the app is still running in the background, but not if the OS killed it for memory.