Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Can standalone apps have custom URLs so they can relaunch themselves with notification?
-
I have gotten my app to work as a standalone. I suspect it is not supported by default. I'm been working through various iOS Custom URL documentation and got through setting up the plist. I suspect that is enough to lget the app launched (haven't tried yet) but how do I get the URL attributes into python variables so the code can use them.
My proposed approach; Will this work?
The template AppDelegate.m looks like its purpose is mostly to pass the file Script.py to the PythonistaAppViewController. The url data should be in the launchOptions argument. Would it work to create a simple module file with the url data.
It is probably more complicated to pass the url if the app is running but backgrounded.
Is this a reasonable path to pursue or is there an easier way I'm missing.
-steve (aka zencuke)