Client SDK for Over-The-Air (OTA) updates with NativeScript using Norrix.
npm install @norrix/client-sdkClient SDK for Over-The-Air (OTA) updates with NativeScript using Norrix.
``bash`
npm install --save @norrix/client-sdk
Initialize the Norrix client SDK in your NativeScript application as early as possible, typically in the app.ts or main.ts file.
`typescript
import { initNorrix } from '@norrix/client-sdk';
initNorrix({
updateUrl: https://norrix.net,Download progress: ${progress}%
checkForUpdatesOnLaunch: true,
installUpdatesAutomatically: true,
downloadProgressCallback: (progress) => {
console.log();Status: ${status}
},
statusCallback(status, data) {
console.log(, data);`
},
});
- Anything inside your /src or /app folder (except the App_Resources folder)/node_modules` folder
- Anything inside your
- NativeScript platform updates (e.g., bumping @nativescript/ios, @nativescript/android, @nativescript/visionos)
- Plugin updates that require a different version of native libraries
- Contents of the App_Resources folder (these are part of the native binary)