Firstly, the new app information setup and parameterization must be defined. When opening VeriTran Studio, the following interface featuring the options on image 2 are displayed.
Take the following steps to perform the initial parameterization on the app:
- Click on New App
- A tab will open to enter the following information:
- Application Name: Enter app name in upper case with no spaces. i.e: APP_MY_FIRST_APPLICATION
- Description: Enter a brief description for the app.
- Start View: Select the Site view from the list where the app will run when it is opened normally. (This site view should have been previously created, if it does not exist yet, leave that with no selection for now).
- Start View Push: Select the Site View from the list where the app will run when an incoming Push notification is pressed on the mobile. (This site view should have been previously created, if it does not exist yet, leave that with no selection for now).
- Theme: Select the theme from the list created with the styles which will define the app look and feel. (This theme view should have been previously created, if it does not exist yet, leave that with no selection for now).
- Language: Select one of the languages (Available Languages) on the left to be used on the app, then, move it to the right section (Selected Languages) with the button of the icon with the arrow pointing right. Next, select again the language on the right and press Set Default. This will be the default language. Should more languages be required, follow the same procedure for the rest.
- Logo: Press “Select file” and load the image representing the app.
Press “Advanced” to display the options shown on image 4.
- Target Configuration: Select the configuration from the list which the app to be created will be using.
- Error Branch: By pressing the button “Add Branch” add the different types of errors the app will manage. Typically:
- 0000: When app download is detected.
- 0001: When setup download is detected.
- H99: When a Host error type H99 is detected.
- ZZZ: When a Host error type ZZZ is detected.
The type will be selected for each one, which could be local or error. The corresponding Code and Next will be written, which will be the screen, process or event to run when an error is detected.
On the last line, the screen, view or process will be written on the Next, which will run when a different error from the ones set on previous lines is detected, which represents the error by default, in this case UA-type errors, typically.
- Finally we will save the app by clicking on the “Save” button