diff --git a/.gitignore b/.gitignore index 6dab915..0e3550a 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/MIGRATING.md b/MIGRATING.md index 06fa384..2a459b2 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -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. diff --git a/packages/otto-nativescript/platforms/android/.npmignore b/packages/otto-nativescript/platforms/android/.npmignore new file mode 100644 index 0000000..6d81fcd --- /dev/null +++ b/packages/otto-nativescript/platforms/android/.npmignore @@ -0,0 +1 @@ +*.aar