Update Commands
norrix update
Publish over-the-air (OTA) updates to deployed apps.
Synopsis
norrix update [platform] [version] [options]Arguments
| Argument | Description |
|---|---|
platform | Target platform: ios, android, or visionos |
version | Update version (e.g., 2.0.0) |
Options
| Flag | Description |
|---|---|
-p, --project <name> | Project name (for Nx workspace builds) |
-c, --config <config> | Configuration/deployment target (e.g., prod, stg, dev) |
--org <orgId> | Target organization ID |
-a, --app-id <id> | App identifier (bundle ID) |
-b, --build-number <number> | Build number |
-n, --non-interactive | Run without prompts (use defaults/config file) |
How OTA Updates Work
- The CLI bundles your JavaScript, CSS, and assets
- The bundle is uploaded to Norrix storage
- Devices running your app check for updates on launch
- Compatible updates are downloaded and applied automatically
- The update takes effect on the next app restart
Examples
Basic Updates
# Publish iOS update
norrix update ios 1.0.1
# Publish Android update
norrix update android 1.0.1
# Publish visionOS update
norrix update visionos 1.0.1With App ID
# Specify bundle ID explicitly
norrix update ios 1.0.1 --app-id com.example.myappWith Build Number
# Set explicit build number
norrix update ios 1.0.1 --build-number 42Nx Workspace Updates
# Update specific project from workspace root
norrix update ios 1.0.1 --project my-mobile-app
# With configuration
norrix update ios 1.0.1 --project my-app --config prodCI/CD Updates
# Non-interactive mode for CI
norrix update ios 1.0.1 -n --org $ORG_IDWhat Can Be Updated
✅ Can be updated via OTA:
- JavaScript/TypeScript code
- CSS/SCSS styles
- Assets (images, fonts, etc.)
- Non-native npm packages
❌ Requires a new store build:
- NativeScript platform version changes
- Native plugin version changes
- App_Resources folder contents
- Custom native code (NativeSource)
See OTA Compatibility for details.
Alternative: Web Interface
You can also publish OTA updates directly from the Norrix dashboard.
When to Use the Web Interface
- Quick updates without CLI setup
- Team members who don’t have the CLI installed
- Publishing from any browser-equipped device
How It Works
- Navigate to
/updatein the Norrix dashboard - Build your JavaScript bundle locally using NativeScript CLI
- Zip the compiled bundle files
- Upload the zip file (uploads directly to S3)
- Fill in app ID, platform, version, and optional settings
- Add release notes if desired
- Publish the update
The web form supports:
- iOS, Android, and visionOS platforms
- Version and build number configuration
- Nx workspace project and configuration
- Release notes
See Web Interface for detailed instructions.
norrix update-status
Check the status of an update.
Synopsis
norrix update-status <updateId> [options]Arguments
| Argument | Description |
|---|---|
updateId | Update ID to check (e.g., update-1234567890) |
Options
| Flag | Description |
|---|---|
--org <orgId> | Target organization ID |
Example
norrix update-status update-1234567890Update Status Values
| Status | Description |
|---|---|
scheduled | Update job has been scheduled |
updating | Update is being processed |
success | Update published successfully |
failed | Update failed |
Output
The command outputs update details including:
- Update ID
- App ID (bundle ID)
- Platform
- Version
- Build Number
- Status
- Release notes
- Error message (if failed)