Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ coverage/
*.tsbuildinfo

# NativeScript build artifacts
packages/otto-nativescript/platforms/android/ota_nativescript.aar
packages/otto-nativescript/platforms/android/*.aar
fixtures/*/node_modules/
fixtures/*/package-lock.json
fixtures/*/platforms/
Expand Down
2 changes: 1 addition & 1 deletion MIGRATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The public project is now [Otto SDK](https://github.com/getcortexlabs/otto-sdk).

Remove the old packages before installing their replacements. Update imports, CI commands and the project configuration filename. Remove the generated `hooks/after-prepare/ota-nativescript-config.mjs` shim if it remains after uninstall, then install the new SDK's hook with `node node_modules/@getcortexlabs/otto-nativescript/hooks/postinstall.mjs .`. Its generated shim is `otto-nativescript-config.mjs`.

Rebuild the native application and generate a fresh per-platform fingerprint baseline before publishing new updates. The package identity participates in the runtime fingerprint, so a package rename is not a JavaScript-only update for an already installed binary. Existing signing keys and Otto workspaces can be reused.
Regenerate the existing `platforms/ios` and `platforms/android` projects after replacing the package: cached native projects can retain paths to the previous SDK. Rebuild the native application and generate a fresh per-platform fingerprint baseline before publishing new updates. The package identity participates in the runtime fingerprint, so a package rename is not a JavaScript-only update for an already installed binary. Existing signing keys and Otto workspaces can be reused.

Protocol version 1, its signature domains, error-code values, native bridge identifiers and on-device state layout are unchanged. Existing signed manifests and server directives remain cryptographically valid. Older published packages remain available with deprecation notices pointing to Otto.

Expand Down
1 change: 1 addition & 0 deletions packages/otto-nativescript/platforms/android/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.aar
Loading