6 Replies Latest reply on Mar 7, 2017 2:22 PM by sfpx

    [SDK URL scheme]  Running a script with an unknown db name

    sfpx

      I have an ios app that has one database file stored on the device.

      That database file changes name with each version .

      Ex: MYDB.001.fmp12 , MYDB.002.fmp12, etc

       

      I can use the url scheme to launch the app and run a script the following way

      myapp://~/MYDB.002.fmp12?script=ASCRIPT

       

      Since the db name changes all the time, is there a way to achieve this without specifying the db name ?

       

      I would guess that it's not possible but I have to ask.

       

      Maybe there is something we can do in Xcode ?

       

       

      P.S.

      I guess that would be possible by adding a "launcher" DB file.

      I'm wondering if there is a more direct approach.