omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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?

    Pythonista
    1
    1
    1123
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zencuke
      zencuke last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB Forums | Contributors