I have a general question about IOS updates:
Will there be a time when Pythonista would not run on IOS anymore ?
I'm thinking about buying an iPhone for my app, which has cost a lot of work and is relevant for my work, so that the app would always work.
Will there be a time when Pythonista would not run on IOS anymore
I guess it will occur but I hope, like a lot of people in this forum, that it will never occur...
That would be really bitter 😢
Or @cvp asked differently can it be possible if my app would now be ready and I would make an update to iOS x.x.x that certain functions would simply no longer go ?
Do you know that ?
That's always a possibility that a new iOS version breaks pythonista. Quite a number of iOS features have been deprecated for a while, and may eventually stop working altogether once apple removes the objects or methods from the Framework.
If you are talking about making your own apps with the template, the first issue is most likely app store rejection -- I believe currently it is necessary to edit the pythonista template with a hex editor to remove references to UIWebView, though. Likely there could be similar reasons for rejection that won't be as easy to work around.
For the pythonista app itself, I suspect that first things like ui.WebView will start resulting in crash (maybe they already do) -- but we can monkey patch to use @mikael"s wkwebview wrappers. I forget if the help doc viewer is based on UIWebView or WKWebview-- so maybe that would break. Certainly, as some of the modules that wrap iOS functions -- like location, cb, etc, might stop working if there are major iOS changes, but could be replaced with objc_util equivalent versions.
In the past, when some new iOS completely broke pythonista, omz stepped in with a version update (IIRC the last version fixed some ios13 issues), even if no new features are added -- I think pythonista still sells a decent amount, and if it failed to work at all, it would be removed from the app store.
Thank you for your detailed answer.
I hope then that pythonista will still work very very long 😁