{"_id":"@capgo/capacitor-mock-location-detector","_rev":"6-e9ba21991666ac4f2c48ada553a30189","name":"@capgo/capacitor-mock-location-detector","dist-tags":{"latest":"8.0.5"},"versions":{"8.0.1":{"name":"@capgo/capacitor-mock-location-detector","version":"8.0.1","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-mock-location-detector@8.0.1","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/mock-location-detector/","bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"dist":{"shasum":"bb219347795892a21e3fb1e643ee8f83b05f7f56","tarball":"https://registry.npmjs.org/@capgo/capacitor-mock-location-detector/-/capacitor-mock-location-detector-8.0.1.tgz","fileCount":27,"integrity":"sha512-0+EWfnR6YbxLLPwZNwdyVByc+iEFEFdaEFQPVEyHyGEdZO01ZYMUIs2nVHmnP5a710S46g1VzMwB6zZBDLSrRw==","signatures":[{"sig":"MEYCIQDxEB+fVSKNOetj7PodhN9F72YcXHIQHnBaNNmMUB+N0wIhAIxDoCqrdulqxfUSHyrcNrXKMsUw4Iit96N2ZYPPqC2V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-mock-location-detector@8.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143028},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"63eb14149fd3e28e9ef82aa9f98daadd1cf17504","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 MockLocationDetectorPlugin --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 CapgoCapacitorMockLocationDetector -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile"},"_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-mock-location-detector.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","directories":{},"_nodeVersion":"24.17.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-mock-location-detector_8.0.1_1782395466452_0.6738184603252568","host":"s3://npm-registry-packages-npm-production"}},"8.0.2":{"name":"@capgo/capacitor-mock-location-detector","version":"8.0.2","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-mock-location-detector@8.0.2","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/mock-location-detector/","bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"dist":{"shasum":"86527ebcb77c1684560e374024cc40847f4462cb","tarball":"https://registry.npmjs.org/@capgo/capacitor-mock-location-detector/-/capacitor-mock-location-detector-8.0.2.tgz","fileCount":27,"integrity":"sha512-/2BMxeXq69/5/cGWNfg9WoW//GOQT1ylqCk4bltY9TzH5S2I7lxrxuXRW/9L8YGfP66XiMkrCvg7iiSMe/mVUA==","signatures":[{"sig":"MEYCIQDC5rVSJ3Bs0FtgMDWEi4/y+ht2YT+59UdhTZHhFL8VHgIhAPimLeTmuBTv0dTYvS9cAi04tfX2OG23T+LNzDnZKgH9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-mock-location-detector@8.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143027},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"9c208c9c27111c9b1322a6812fb6f5101157f67a","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 MockLocationDetectorPlugin --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 CapgoCapacitorMockLocationDetector -destination generic/platform=iOS","verify:web":"bun run build","check:wiring":"node scripts/check-capacitor-plugin-wiring.mjs","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile"},"_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-mock-location-detector.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","directories":{},"_nodeVersion":"24.17.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-mock-location-detector_8.0.2_1782933757346_0.2593734177188056","host":"s3://npm-registry-packages-npm-production"}},"8.0.3":{"name":"@capgo/capacitor-mock-location-detector","version":"8.0.3","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-mock-location-detector@8.0.3","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"}],"homepage":"https://capgo.app/docs/plugins/mock-location-detector/","bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"dist":{"shasum":"1164ecf5677fe9e9a799d58a51b03bd962eefa20","tarball":"https://registry.npmjs.org/@capgo/capacitor-mock-location-detector/-/capacitor-mock-location-detector-8.0.3.tgz","fileCount":27,"integrity":"sha512-Su5FqVsPv8en9s/c49ZwC9T6nQ2zahNk60fgHcxmuAvBiYjApowvSTrNpDi8tZ4/hnL2Uur6KaTTPO/BqkuSdA==","signatures":[{"sig":"MEUCIQD0XddwFpIHFHiWmobWo2vVvrW0L7dXuz3tbJACJxfl1wIgSvtYm4OchwuojTFlhbz+IDyEgOEIjxLpF2l0naSDe3Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-mock-location-detector@8.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143089},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"5976452120881f5049bc2f4135f7f5c9fb55921a","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 MockLocationDetectorPlugin --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 CapgoCapacitorMockLocationDetector -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","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile"},"_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-mock-location-detector.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","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-mock-location-detector_8.0.3_1783764449873_0.338901980001304","host":"s3://npm-registry-packages-npm-production"}},"8.0.4":{"name":"@capgo/capacitor-mock-location-detector","version":"8.0.4","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","_id":"@capgo/capacitor-mock-location-detector@8.0.4","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"homepage":"https://capgo.app/docs/plugins/mock-location-detector/","bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"dist":{"shasum":"4aebfe90f6724fb913e58f4494799b81a961a469","tarball":"https://registry.npmjs.org/@capgo/capacitor-mock-location-detector/-/capacitor-mock-location-detector-8.0.4.tgz","fileCount":27,"integrity":"sha512-JtDA4cHc3PhqgfxOfhyqpfyv3Dc6Lou2wm2Rf7f1cJD6Y8ir+n6BYuxsSghKvRJpTjlWzC6EuhzoavMwexo7fA==","signatures":[{"sig":"MEUCIQCx8sS3WKkD3fLKnnGQ41zh2CVgHuWwQm2aouQ7MqmlaAIgRgN/E+lbB7qOPFFt77BNVDI18ahkNLVLjbHin+nhcU4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-mock-location-detector@8.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143089},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ed1762b1dbbbf2240b93d5de17ab8d04f516e407","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 MockLocationDetectorPlugin --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 CapgoCapacitorMockLocationDetector -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","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile"},"_npmUser":{"name":"torichancapgo","email":"tori@capgo.app","approver":{"name":"torichancapgo","email":"tori@capgo.app"}},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-mock-location-detector.git","type":"git"},"_npmVersion":"11.19.0","description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","directories":{},"_nodeVersion":"24.19.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-mock-location-detector_8.0.4_1787220619856_0.738915242767491","host":"s3://npm-registry-packages-npm-production"}},"8.0.5":{"_id":"@capgo/capacitor-mock-location-detector@8.0.5","bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"dist":{"shasum":"05819c040b2376bad585c7fb5eea67f4fa9c86aa","tarball":"https://registry.npmjs.org/@capgo/capacitor-mock-location-detector/-/capacitor-mock-location-detector-8.0.5.tgz","integrity":"sha512-kngjKfswyRK1euP9FFPBSLM6VRrmN7WISEy3PAZWlwQH+jTHS0D+p2yUv7qtS1DRlLTpJDQISvOb0Q0eTqu0tQ==","fileCount":27,"unpackedSize":143160,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capgo%2fcapacitor-mock-location-detector@8.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH9s3mPYpU7MBAjBe429TQJhQBrem8UUZoNfhV4vIoQVAiAU6bTZc9RqxUfl8lWtvIcv4L/b7VZO4U4SvQRpyYzgAg=="}]},"main":"dist/plugin.cjs.js","name":"@capgo/capacitor-mock-location-detector","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"module":"dist/esm/index.js","gitHead":"880808062999bb671a7fc5ec5108025559b886db","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 MockLocationDetectorPlugin --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 CapgoCapacitorMockLocationDetector -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","example:build":"bun run build && cd example-app && bun install --frozen-lockfile && bun run build","prepublishOnly":"bun run build","verify:android":"cd android && ./gradlew clean build test && cd ..","example:install":"cd example-app && bun install --frozen-lockfile","check:cap9-deprecated":"node scripts/check-cap9-deprecated.mjs"},"version":"8.0.5","_npmUser":{"name":"torichancapgo","email":"tori@capgo.app","approver":{"name":"torichancapgo","email":"tori@capgo.app"}},"homepage":"https://capgo.app/docs/plugins/mock-location-detector/","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/Cap-go/capacitor-mock-location-detector.git","type":"git"},"_npmVersion":"11.19.1","description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","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-mock-location-detector_8.0.5_1789491126341_0.22471216594676524"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-25T13:51:06.261Z","modified":"2026-09-15T16:52:06.739Z","8.0.1":"2026-06-25T13:51:06.587Z","8.0.2":"2026-07-01T19:22:37.496Z","8.0.3":"2026-07-11T10:07:30.070Z","8.0.4":"2026-08-20T10:10:19.944Z","8.0.5":"2026-09-15T16:52:06.432Z"},"bugs":{"url":"https://github.com/Cap-go/capacitor-mock-location-detector/issues"},"author":{"name":"Martin Donadieu","email":"martin@capgo.app"},"license":"MPL-2.0","homepage":"https://capgo.app/docs/plugins/mock-location-detector/","keywords":["capacitor","plugin","location","gps","mock-location","spoofing","developer-mode","fraud-detection","native"],"repository":{"url":"git+https://github.com/Cap-go/capacitor-mock-location-detector.git","type":"git"},"description":"Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps.","maintainers":[{"name":"riderx","email":"martin.donadieu@hey.com"},{"name":"torichancapgo","email":"tori@capgo.app"}],"readme":"# @capgo/capacitor-mock-location-detector\n\n<a href=\"https://capgo.app/\"><img src=\"https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-mock-location-detector\" alt=\"Capgo - Instant updates for Capacitor\" /></a>\n\n<div align=\"center\">\n  <h2><a href=\"https://capgo.app/?ref=plugin_mock_location_detector\"> ➡️ Get Instant updates for your App with Capgo</a></h2>\n  <h2><a href=\"https://capgo.app/consulting/?ref=plugin_mock_location_detector\"> Missing a feature? We’ll build the plugin for you 💪</a></h2>\n</div>\n\nDetect simulated GPS locations using layered, App Store-safe checks on iOS and Android.\n\n## Snapshot\n\n- **Plugin name:** `@capgo/capacitor-mock-location-detector`\n- **One-line value:** Multi-layer GPS spoofing and developer tooling detection for Capacitor apps\n- **Maintainer:** Capgo\n- **Status:** beta\n\n## Problem & Scope\n\n### Why this plugin exists\n\nTools like PoKeep and iMyFone AnyTo can spoof device location. A single flag such as iOS `isSimulatedBySoftware` is not reliable against every spoofing method. This plugin combines multiple independent signals so your app can make better fraud-prevention decisions.\n\n### What it does\n\n- Runs layered checks: system mock flags, developer options, known mock apps, movement heuristics, and motion correlation\n- Returns a scored `LocationIntegrityResult` with per-check details\n- Supports continuous monitoring with `locationIntegrityChanged` events\n- Opens the best-effort settings screen so users can disable developer/mock tooling themselves\n\n### What it does not do\n\n- Cannot programmatically disable Developer Mode or mock location settings (not allowed by iOS/Android)\n- Cannot guarantee 100% detection against every future spoofing tool\n- On iOS, Apple provides no public API to read the Developer Mode toggle directly\n\n## Compatibility\n\n| Plugin version | Capacitor compatibility | Maintained |\n| -------------- | ----------------------- | ---------- |\n| v8.\\*.\\*       | v8.\\*.\\*                | ✅          |\n| v7.\\*.\\*       | v7.\\*.\\*                | On demand   |\n| v6.\\*.\\*       | v6.\\*.\\*                | On demand   |\n\n## Install\n\n```bash\nnpm install @capgo/capacitor-mock-location-detector\nnpx cap sync\n```\n\n## Setup\n\n### iOS\n\nAdd location usage descriptions to your app `Info.plist`:\n\n```xml\n<key>NSLocationWhenInUseUsageDescription</key>\n<string>We verify your location has not been spoofed.</string>\n```\n\nOptional: declare URL schemes for companion spoof apps you want to detect:\n\n```xml\n<key>LSApplicationQueriesSchemes</key>\n<array>\n  <string>anyto</string>\n  <string>fakegps</string>\n</array>\n```\n\n### Android\n\nEnsure your app requests runtime location permissions. The plugin declares coarse/fine location permissions in its manifest merge.\n\n## Usage\n\n```typescript\nimport { MockLocationDetector } from '@capgo/capacitor-mock-location-detector';\n\nconst result = await MockLocationDetector.analyze({\n  requestLocationSample: true,\n  minDetectedChecks: 1,\n});\n\nif (result.isSimulated) {\n  console.warn('Possible GPS spoofing detected', result.checks);\n}\n\n// Guide the user — apps cannot disable developer mode automatically\nawait MockLocationDetector.openDeveloperSettings();\n```\n\nRun a single check layer:\n\n```typescript\nconst mockFlag = await MockLocationDetector.runCheck({\n  check: 'system_mock_flag',\n});\n```\n\nStart monitoring:\n\n```typescript\nawait MockLocationDetector.addListener('locationIntegrityChanged', (event) => {\n  console.log('Integrity changed', event.riskScore, event.checks);\n});\n\nawait MockLocationDetector.startMonitoring({ intervalMs: 30000 });\n```\n\n## Check layers\n\n| Check ID | iOS | Android | Description |\n| --- | --- | --- | --- |\n| `system_mock_flag` | ✅ | ✅ | OS mock/simulation flag on the current location fix |\n| `developer_options` | — | ✅ | Android developer options enabled |\n| `developer_mode_indicators` | ✅ | ✅ | Indirect developer/debug build heuristics |\n| `mock_location_app` | ✅ | ✅ | Known spoof app packages / URL schemes |\n| `adb_enabled` | — | ✅ | USB debugging enabled |\n| `mock_provider_settings` | — | ✅ | Apps granted mock-location permission |\n| `location_anomaly` | ✅ | ✅ | Impossible movement speed / teleport heuristic |\n| `motion_correlation` | ✅ | — | GPS movement without matching accelerometer activity |\n| `simulator` | ✅ | ✅ | Simulator/emulator environment |\n\n## Capgo Links\n\n- **Plugin docs URL:** `https://capgo.app/docs/plugins/mock-location-detector/`\n- **Website/docs repo:** `https://github.com/Cap-go/website`\n\n<docgen-index>\n\n* [`getCapabilities()`](#getcapabilities)\n* [`analyze(...)`](#analyze)\n* [`runCheck(...)`](#runcheck)\n* [`openDeveloperSettings()`](#opendevelopersettings)\n* [`startMonitoring(...)`](#startmonitoring)\n* [`stopMonitoring()`](#stopmonitoring)\n* [`addListener('locationIntegrityChanged', ...)`](#addlistenerlocationintegritychanged-)\n* [`getPluginVersion()`](#getpluginversion)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nDetect simulated GPS locations and developer tooling that commonly enables spoofing apps.\n\nThis plugin combines multiple independent checks because no single OS flag is reliable against\ntools such as PoKeep or iMyFone AnyTo. On iOS, Apple does not provide a public API to read the\nDeveloper Mode toggle directly; the plugin uses App Store-safe heuristics instead.\n\nApps cannot programmatically disable Developer Mode or mock location settings. Use\n{@link MockLocationDetectorPlugin.openDeveloperSettings} to guide users to the relevant settings.\n\n### getCapabilities()\n\n```typescript\ngetCapabilities() => Promise<MockLocationDetectorCapabilities>\n```\n\n**Returns:** <code>Promise&lt;<a href=\"#mocklocationdetectorcapabilities\">MockLocationDetectorCapabilities</a>&gt;</code>\n\n--------------------\n\n\n### analyze(...)\n\n```typescript\nanalyze(options?: AnalyzeOptions | undefined) => Promise<LocationIntegrityResult>\n```\n\n| Param         | Type                                                      |\n| ------------- | --------------------------------------------------------- |\n| **`options`** | <code><a href=\"#analyzeoptions\">AnalyzeOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#locationintegrityresult\">LocationIntegrityResult</a>&gt;</code>\n\n--------------------\n\n\n### runCheck(...)\n\n```typescript\nrunCheck(options: RunCheckOptions) => Promise<LocationCheckResult>\n```\n\n| Param         | Type                                                        |\n| ------------- | ----------------------------------------------------------- |\n| **`options`** | <code><a href=\"#runcheckoptions\">RunCheckOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#locationcheckresult\">LocationCheckResult</a>&gt;</code>\n\n--------------------\n\n\n### openDeveloperSettings()\n\n```typescript\nopenDeveloperSettings() => Promise<void>\n```\n\n--------------------\n\n\n### startMonitoring(...)\n\n```typescript\nstartMonitoring(options?: MonitoringOptions | undefined) => Promise<void>\n```\n\nStart background integrity monitoring on native platforms.\n\nPair with {@link MockLocationDetectorPlugin.addListener} to receive\n`locationIntegrityChanged` events while the app is in the foreground.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#monitoringoptions\">MonitoringOptions</a></code> |\n\n--------------------\n\n\n### stopMonitoring()\n\n```typescript\nstopMonitoring() => Promise<void>\n```\n\nStop monitoring and release native location listeners.\n\n--------------------\n\n\n### addListener('locationIntegrityChanged', ...)\n\n```typescript\naddListener(eventName: 'locationIntegrityChanged', listenerFunc: (event: LocationIntegrityChangedEvent) => void) => Promise<PluginListenerHandle>\n```\n\nListen for integrity updates while {@link MockLocationDetectorPlugin.startMonitoring} is active.\n\n| Param              | Type                                                                                                        | Description                           |\n| ------------------ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------- |\n| **`eventName`**    | <code>'locationIntegrityChanged'</code>                                                                     | Must be `'locationIntegrityChanged'`. |\n| **`listenerFunc`** | <code>(event: <a href=\"#locationintegritychangedevent\">LocationIntegrityChangedEvent</a>) =&gt; void</code> |                                       |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### getPluginVersion()\n\n```typescript\ngetPluginVersion() => Promise<PluginVersionResult>\n```\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginversionresult\">PluginVersionResult</a>&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### MockLocationDetectorCapabilities\n\n| Prop                           | Type                                                                            |\n| ------------------------------ | ------------------------------------------------------------------------------- |\n| **`platform`**                 | <code><a href=\"#locationintegrityplatform\">LocationIntegrityPlatform</a></code> |\n| **`availableChecks`**          | <code>LocationCheckId[]</code>                                                  |\n| **`supportsMonitoring`**       | <code>boolean</code>                                                            |\n| **`canOpenDeveloperSettings`** | <code>boolean</code>                                                            |\n\n\n#### LocationIntegrityResult\n\n| Prop                 | Type                                                                                |\n| -------------------- | ----------------------------------------------------------------------------------- |\n| **`isSimulated`**    | <code>boolean</code>                                                                |\n| **`confidence`**     | <code><a href=\"#locationintegrityconfidence\">LocationIntegrityConfidence</a></code> |\n| **`riskScore`**      | <code>number</code>                                                                 |\n| **`platform`**       | <code><a href=\"#locationintegrityplatform\">LocationIntegrityPlatform</a></code>     |\n| **`checks`**         | <code>LocationCheckResult[]</code>                                                  |\n| **`developerMode`**  | <code><a href=\"#developermoderesult\">DeveloperModeResult</a></code>                 |\n| **`locationSample`** | <code><a href=\"#locationsample\">LocationSample</a> \\| null</code>                   |\n| **`recommendation`** | <code>string</code>                                                                 |\n\n\n#### LocationCheckResult\n\n| Prop            | Type                                                                            |\n| --------------- | ------------------------------------------------------------------------------- |\n| **`id`**        | <code><a href=\"#locationcheckid\">LocationCheckId</a></code>                     |\n| **`name`**      | <code>string</code>                                                             |\n| **`platform`**  | <code><a href=\"#locationintegrityplatform\">LocationIntegrityPlatform</a></code> |\n| **`available`** | <code>boolean</code>                                                            |\n| **`detected`**  | <code>boolean</code>                                                            |\n| **`message`**   | <code>string</code>                                                             |\n| **`metadata`**  | <code>{ [key: string]: unknown; }</code>                                        |\n\n\n#### DeveloperModeResult\n\n| Prop                         | Type                               |\n| ---------------------------- | ---------------------------------- |\n| **`detected`**               | <code>boolean</code>               |\n| **`canDetectDeveloperMode`** | <code>boolean</code>               |\n| **`checks`**                 | <code>LocationCheckResult[]</code> |\n\n\n#### LocationSample\n\n| Prop            | Type                |\n| --------------- | ------------------- |\n| **`latitude`**  | <code>number</code> |\n| **`longitude`** | <code>number</code> |\n| **`accuracy`**  | <code>number</code> |\n| **`altitude`**  | <code>number</code> |\n| **`speed`**     | <code>number</code> |\n| **`timestamp`** | <code>number</code> |\n\n\n#### AnalyzeOptions\n\n| Prop                              | Type                           |\n| --------------------------------- | ------------------------------ |\n| **`checks`**                      | <code>LocationCheckId[]</code> |\n| **`requestLocationSample`**       | <code>boolean</code>           |\n| **`locationTimeoutMs`**           | <code>number</code>            |\n| **`minDetectedChecks`**           | <code>number</code>            |\n| **`additionalMockAppPackages`**   | <code>string[]</code>          |\n| **`additionalMockAppUrlSchemes`** | <code>string[]</code>          |\n\n\n#### RunCheckOptions\n\n| Prop        | Type                                                        |\n| ----------- | ----------------------------------------------------------- |\n| **`check`** | <code><a href=\"#locationcheckid\">LocationCheckId</a></code> |\n\n\n#### MonitoringOptions\n\n| Prop                   | Type                 | Description                                                                                                                                                                                                                  | Default            |\n| ---------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |\n| **`intervalMs`**       | <code>number</code>  | How often to re-run checks while monitoring is active. Minimum 5000 ms. Defaults to 30000.                                                                                                                                   | <code>30000</code> |\n| **`emitOnlyOnChange`** | <code>boolean</code> | When `true`, `locationIntegrityChanged` is emitted only when `isSimulated`, `confidence`, `riskScore`, or triggered check IDs change. The first event after {@link MockLocationDetectorPlugin.startMonitoring} always fires. | <code>true</code>  |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### LocationIntegrityChangedEvent\n\nPayload emitted by {@link MockLocationDetectorPlugin.addListener} when monitoring detects\na new integrity snapshot.\n\nRegister the listener before calling {@link MockLocationDetectorPlugin.startMonitoring}:\n\n| Prop         | Type                                                     | Description                                                                                                                                                                                                           |\n| ------------ | -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`reason`** | <code>'interval' \\| 'location_update' \\| 'manual'</code> | Why this snapshot was emitted. - `manual` — first snapshot right after monitoring starts - `interval` — periodic re-check (`intervalMs`) - `location_update` — device location changed while monitoring (native only) |\n\n\n#### PluginVersionResult\n\n| Prop          | Type                |\n| ------------- | ------------------- |\n| **`version`** | <code>string</code> |\n\n\n### Type Aliases\n\n\n#### LocationIntegrityPlatform\n\n<code>'ios' | 'android' | 'web'</code>\n\n\n#### LocationCheckId\n\nIndividual integrity checks exposed by the plugin.\n\n<code>'system_mock_flag' | 'developer_options' | 'developer_mode_indicators' | 'mock_location_app' | 'adb_enabled' | 'mock_provider_settings' | 'location_anomaly' | 'motion_correlation' | 'simulator'</code>\n\n\n#### LocationIntegrityConfidence\n\n<code>'none' | 'low' | 'medium' | 'high'</code>\n\n</docgen-api>\n","readmeFilename":"README.md"}