Skip to main content

How to submit an App SDK

Submitting an App SDK will allow you to offer the app to customers to download and use.

This guide assumes you've completed the getting started guide.

  1. Open a Terminal or Command window and enter the build command (nx run [name-of-your-app]:build) to build your App SDK.
npx nx run [name-of-your-app]:build
  1. Verify the Name and Version number in the package.json in the dist/apps/[name-of-your-app]. When the App SDK is submitted, the name and version fields combine to create a unique identifier for the app.
"name": "[name-of-your-app]"
"version": "1.0.0",
  1. Enter the submit command (nx run [name-of-your-app]:submitApp) to submit your app for approval.
npx nx run [name-of-your-app]:submitApp
  1. Accept the developer terms and conditions) by typing accept when prompted.

  2. A browser will open, asking you to authenticate your ID. Use your Trackunit manager credentials to authenticate your ID. It will inform you your device is activated.

    By device it refers to the command line interface.

  3. Once the submit is complete it will show

🚀 Uploaded the app package version 1.0.0.
Remember

Remember to bump the version number inside apps/[name-of-your-app]/package.json before you build and submit!

It is not possible to submit the same version multiple times.

CI/CD publishing

When running in a CI pipeline, you can automate the submit step without interactive prompts:

  • Accept the developer terms and conditions by setting TU_DEV_TERMS_AND_CONDITIONS=accept
  • Supply your access token via the TU_TOKEN environment variable

Example GitHub Actions step:

- name: Submit IrisX App
run: |
npx nx run my-app:submitApp
env:
TU_TOKEN: ${{ secrets.TU_TOKEN }}
TU_DEV_TERMS_AND_CONDITIONS: accept
Coming soon: scoped publish tokens

A dedicated, least-privilege scoped API token for publishing from CI/CD is coming soon (see API Tokens v2). It is still being rolled out and is not yet usable for publishing an Iris App — there are no instructions for it yet.