{"_id":"@capgo/capacitor-persistent-uuid","_rev":"6-a2b6db18a674699e159b77fe780c2e6a","name":"@capgo/capacitor-persistent-uuid","dist-tags":{"latest":"8.1.4"},"versions":{"8.1.0":{"name":"@capgo/capacitor-persistent-uuid","version":"8.1.0","keywords":["capacitor","uuid","persistent","identifier","device"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-persistent-uuid@8.1.0","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/persistent-uuid/","bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"dist":{"shasum":"820e99f84d31fb1baa5743fd1be03b78f26bc6c5","tarball":"https://registry.npmjs.org/@capgo/capacitor-persistent-uuid/-/capacitor-persistent-uuid-8.1.0.tgz","fileCount":31,"integrity":"sha512-LDCYNkRM7aywvFD8nqHOGLOKUUYBydVqXGlpcGQKHvjpH0765uXo6anAtYBEPIZrLw/qU5N2LazIl/Qnb1r4fw==","signatures":[{"sig":"MEUCIGbB67XDV4HwcsoNLm0A9BV5CofFiDWtSPdVlbeazIGiAiEArVAxRejjGUvYe+R1R02L05E+p4kBym0Ecq8Ega/EkC0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-persistent-uuid@8.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76245},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"a07512aae38e6ee0aae879802122c5ca7d10a198","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api PersistentUuidPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorPersistentUuid -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-persistent-uuid_8.1.0_1781114477486_0.6198281668666479","host":"s3://npm-registry-packages-npm-production"}},"8.1.1":{"name":"@capgo/capacitor-persistent-uuid","version":"8.1.1","keywords":["capacitor","uuid","persistent","identifier","device"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-persistent-uuid@8.1.1","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/persistent-uuid/","bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"dist":{"shasum":"b4b7ce38df4af83c1af93b9220221983ac6afce2","tarball":"https://registry.npmjs.org/@capgo/capacitor-persistent-uuid/-/capacitor-persistent-uuid-8.1.1.tgz","fileCount":31,"integrity":"sha512-wih2yGrTp81Syt1lyV2jp8T2+Q8Sw6SC/YkHdjwvavo3tlbPBNpLJ+jlFSoWNbLiS++2IptKdqOz10Bhu/SAJQ==","signatures":[{"sig":"MEUCIQCwm3NM7Id0eTIV02RHtCcBNZ9X3dwciZRYV6n62huJPAIgEkO44ZuWoYwD3xi8ERSsBocJCLli+IoQjA0zxO5t/CU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-persistent-uuid@8.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76783},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"f118afafda886dd65f81498201fc1088fd6002df","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api PersistentUuidPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorPersistentUuid -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-persistent-uuid_8.1.1_1781603534607_0.6442248330828853","host":"s3://npm-registry-packages-npm-production"}},"8.1.2":{"name":"@capgo/capacitor-persistent-uuid","version":"8.1.2","keywords":["capacitor","uuid","persistent","identifier","device"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-persistent-uuid@8.1.2","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/persistent-uuid/","bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"dist":{"shasum":"95e571a85803466d3d930b7ca25c56d2145c39ba","tarball":"https://registry.npmjs.org/@capgo/capacitor-persistent-uuid/-/capacitor-persistent-uuid-8.1.2.tgz","fileCount":31,"integrity":"sha512-sptQlv5PArTYpMixUVaDit248KsKrguZ2gQlWrWjLevZqKDo5/Y1JQ+J/8cwr86cd9JzIgVtdQYtJ2vCcAEg/g==","signatures":[{"sig":"MEQCIDSXwGRqm08ulFP71CtSLr9AAyfu89hNkFw8/xuUek3DAiBBUs6T/ki6J3uB56HflJSCsBfrXjImtAtbKYcschDa7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-persistent-uuid@8.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76783},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"75e8235e461fd53e52ef2659f9dc5db6064bef45","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api PersistentUuidPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorPersistentUuid -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-persistent-uuid_8.1.2_1781629485467_0.04851297052043435","host":"s3://npm-registry-packages-npm-production"}},"8.1.3":{"name":"@capgo/capacitor-persistent-uuid","version":"8.1.3","keywords":["capacitor","uuid","persistent","identifier","device"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-persistent-uuid@8.1.3","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/persistent-uuid/","bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"dist":{"shasum":"07ccfbc58590ad10c44b82911e5429368bc585ba","tarball":"https://registry.npmjs.org/@capgo/capacitor-persistent-uuid/-/capacitor-persistent-uuid-8.1.3.tgz","fileCount":31,"integrity":"sha512-dRlxg3QUX5I26bmOlCj1LTmuCFaRu99YEq631hXsKkCcuR71x0nTCfILZg+qZmUybPZ40YdpM7kZ5qPdUf8J6Q==","signatures":[{"sig":"MEUCIQC/FTRwB1hZWwD6eKfsTYWcaaaQrYhg9+Y90oOIsortMgIgbTXY1gezLgDxwOEC4kP7UXhrW3IwYjZFz+QY35h9VZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-persistent-uuid@8.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76845},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"7b4f76a3e5726ec261ed377e79ecb30bdba6ff65","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api PersistentUuidPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorPersistentUuid -destination generic/platform=iOS","verify:web":"bun run build","changelog:ai":"node scripts/generate-ai-changelog.mjs","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"riderx","email":"martin.donadieu@hey.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-persistent-uuid_8.1.3_1783765419496_0.6694663844556297","host":"s3://npm-registry-packages-npm-production"}},"8.1.4":{"_id":"@capgo/capacitor-persistent-uuid@8.1.4","bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"dist":{"shasum":"6efc8e8168da491de4eb6e61ca315996d028eda4","tarball":"https://registry.npmjs.org/@capgo/capacitor-persistent-uuid/-/capacitor-persistent-uuid-8.1.4.tgz","integrity":"sha512-AY6gBhNKMmlLVZkaU/0TcG4kjStEAXWAETJ8EfGfsIMMpRmvODLZjnsiRKq3H4gVowg8WPfQpqWncQId7ZKrww==","fileCount":31,"unpackedSize":76916,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-persistent-uuid@8.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDZzb5D4gWuLK+fOXVXzXzQm+MKXWmI7P3YwE7Q1wKe9AiBQ7PKZ2zIutORBVctdllFo3q4hH5yzTzhwf9CNFVwu9A=="}]},"main":"dist/plugin.cjs.js","name":"@capgo/capacitor-persistent-uuid","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"module":"dist/esm/index.js","gitHead":"1e290cd686d3f799a1bac83e08fdd70f213e9f90","license":"MPL-2.0","scripts":{"fmt":"bun run eslint -- --fix && bun run prettier -- --write && bun run swiftlint -- --fix --format","lint":"bun run eslint && bun run prettier -- --check && bun run swiftlint -- lint","build":"bun run clean && bun run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api PersistentUuidPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint \"**/*.ts\"","verify":"bun run verify:ios && bun run verify:android && bun run verify:web","prettier":"prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapgoCapacitorPersistentUuid -destination generic/platform=iOS","verify:web":"bun run build","changelog:ai":"node scripts/generate-ai-changelog.mjs","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","check:cap9-deprecated":"node scripts/check-cap9-deprecated.mjs"},"version":"8.1.4","_npmUser":{"name":"torichancapgo","email":"tori@capgo.app","approver":{"name":"torichancapgo","email":"tori@capgo.app"}},"homepage":"https://capgo.app/docs/plugins/persistent-uuid/","keywords":["capacitor","uuid","persistent","identifier","device"],"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"_npmVersion":"11.19.1","description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","directories":{},"maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"_nodeVersion":"24.20.0","devDependencies":{"husky":"^9.1.7","eslint":"^10.4.0","rimraf":"^6.1.3","rollup":"^4.60.4","prettier":"^3.8.3","swiftlint":"^2.0.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","@capacitor/cli":"^8.3.4","@capacitor/ios":"^8.3.4","@capacitor/core":"^8.3.4","@capacitor/docgen":"^0.3.1","typescript-eslint":"^8.59.4","@capacitor/android":"^8.3.4","eslint-plugin-import":"^2.32.0","prettier-plugin-java":"^2.9.2","prettier-pretty-check":"^0.2.0","@ionic/prettier-config":"^4.0.0","eslint-config-prettier":"^10.1.8","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-persistent-uuid_8.1.4_1789494658244_0.1971270841193118"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-10T18:01:17.266Z","modified":"2026-09-15T17:50:58.639Z","8.1.0":"2026-06-10T18:01:17.626Z","8.1.1":"2026-06-16T09:52:14.738Z","8.1.2":"2026-06-16T17:04:45.613Z","8.1.3":"2026-07-11T10:23:39.639Z","8.1.4":"2026-09-15T17:50:58.338Z"},"bugs":{"url":"https://github.com/Cap-go/capacitor-persistent-uuid/issues"},"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","homepage":"https://capgo.app/docs/plugins/persistent-uuid/","keywords":["capacitor","uuid","persistent","identifier","device"],"repository":{"url":"git+https://github.com/Cap-go/capacitor-persistent-uuid.git","type":"git"},"description":"Capacitor plugin for a persistent app UUID that survives reinstalls and updates.","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"readme":"# @capgo/capacitor-persistent-uuid\n\n<a href=\"https://capgo.app/\"><img src=\"https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-persistent-uuid\" alt=\"Capgo - Instant updates for Capacitor\" /></a>\n\n<div align=\"center\">\n  <h2><a href=\"https://capgo.app/?ref=plugin_persistent_uuid\">Get Instant updates for your App with Capgo</a></h2>\n  <h2><a href=\"https://capgo.app/consulting/?ref=plugin_persistent_uuid\">Missing a feature? We will build the plugin for you</a></h2>\n</div>\n\nPersistent app UUID for Capacitor. The plugin generates one random UUID per app scope and stores it with native persistence designed to survive app reinstalls, Android Studio reinstalls, Play/App Store updates, and OS updates.\n\n## Documentation\n\nThe most complete doc is available here: https://capgo.app/docs/plugins/persistent-uuid/\n\n## Compatibility\n\n| Plugin version | Capacitor compatibility | Maintained |\n| -------------- | ----------------------- | ---------- |\n| v8.*.*         | v8.*.*                  | Yes        |\n| v7.*.*         | v7.*.*                  | On demand  |\n| v6.*.*         | v6.*.*                  | On demand  |\n\n## Install\n\nYou can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:\n\n```bash\nnpx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```text\nUse the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-persistent-uuid` plugin in my project.\n```\n\nIf you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n~~~bash\nnpm install @capgo/capacitor-persistent-uuid\nnpx cap sync\n~~~\n\n## Usage\n\n~~~typescript\nimport { PersistentUuid } from '@capgo/capacitor-persistent-uuid';\n\nconst { id, created, scope } = await PersistentUuid.getId();\nconsole.log(id, created, scope);\n\n// Use a custom scope when debug and production builds use different package IDs\n// but should share one persistent UUID.\nconst scoped = await PersistentUuid.getId({ scope: 'com.example.app' });\nconsole.log(scoped.id);\n\n// Rotate the UUID when the user logs out or requests data reset.\nconst replacement = await PersistentUuid.resetId();\nconsole.log(replacement.id);\n~~~\n\n## Persistence model\n\n- Android stores the UUID in an AccountManager account owned by the plugin authenticator. The default scope is the app package name, so the UUID can survive uninstall/reinstall and debug vs Play installs with different signing keys when the package name stays the same.\n- iOS stores the UUID in Keychain using a device-only item. The default scope is the bundle identifier, and the value survives app updates and iOS updates. Keychain access still follows Apple team/bundle access rules.\n- Web stores the UUID in localStorage. It is a development fallback, not a reinstall-resistant identifier.\n- This is not a hardware identifier and does not survive factory reset, user account removal, Keychain clearing, or an explicit resetId() call.\n\n## API\n\n<docgen-index>\n\n* [`getId(...)`](#getid)\n* [`resetId(...)`](#resetid)\n* [`getPluginVersion()`](#getpluginversion)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nPersistent UUID API.\n\n### getId(...)\n\n```typescript\ngetId(options?: PersistentUuidOptions | undefined) => Promise<PersistentUuidResult>\n```\n\nRead the persistent UUID, creating one when none exists for the selected scope.\n\n| Param         | Type                                                                    |\n| ------------- | ----------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#persistentuuidoptions\">PersistentUuidOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#persistentuuidresult\">PersistentUuidResult</a>&gt;</code>\n\n--------------------\n\n\n### resetId(...)\n\n```typescript\nresetId(options?: PersistentUuidOptions | undefined) => Promise<PersistentUuidResult>\n```\n\nReplace the stored UUID for the selected scope and return the new value.\n\n| Param         | Type                                                                    |\n| ------------- | ----------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#persistentuuidoptions\">PersistentUuidOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#persistentuuidresult\">PersistentUuidResult</a>&gt;</code>\n\n--------------------\n\n\n### getPluginVersion()\n\n```typescript\ngetPluginVersion() => Promise<PluginVersionResult>\n```\n\nReturns the platform implementation version marker.\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginversionresult\">PluginVersionResult</a>&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### PersistentUuidResult\n\nPersistent UUID payload.\n\n| Prop          | Type                 | Description                                          |\n| ------------- | -------------------- | ---------------------------------------------------- |\n| **`id`**      | <code>string</code>  | RFC 4122 UUID generated once for the selected scope. |\n| **`scope`**   | <code>string</code>  | The scope used to read or create the UUID.           |\n| **`created`** | <code>boolean</code> | True when this call generated and stored a new UUID. |\n\n\n#### PersistentUuidOptions\n\nOptions used when reading or resetting the persistent UUID.\n\n| Prop        | Type                | Description                                                                                                                                                                                                                                   |\n| ----------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`scope`** | <code>string</code> | Optional namespace for the UUID. By default, native platforms use the app package/bundle identifier. Pass a stable custom scope when debug and production builds use different package identifiers but should share the same persistent UUID. |\n\n\n#### PluginVersionResult\n\nPlugin version payload.\n\n| Prop          | Type                | Description                                                 |\n| ------------- | ------------------- | ----------------------------------------------------------- |\n| **`version`** | <code>string</code> | Version identifier returned by the platform implementation. |\n\n</docgen-api>\n","readmeFilename":"README.md"}