{"_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","_rev":"6-eacaa88b1c66b23b24f07a6a67ae9538","name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","dist-tags":{"latest":"4.0.0"},"versions":{"2.0.0":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"2.0.0","keywords":["capacitor","plugin","native"],"author":{"url":"https://bi-so.de","name":"Nadine Seibel","email":"nadine.seibel@bi-so.com"},"license":"MIT","_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@2.0.0","maintainers":[{"name":"nseibel","email":"nadine.seibel@bi-so.com"},{"name":"biso_pklein","email":"patrick.klein@bi-so.com"}],"homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"dist":{"shasum":"54998528840acf9e6d61f00c7e48b5f2ca9fa005","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-2.0.0.tgz","fileCount":55,"integrity":"sha512-VDamK/4kLAUdKBQ442lMMfemkdqc7LU0NtGh/36pWEP89QIDRdAzT6HXwM7uaOnJ+MIdYJB/XohyCsIO5NJkPA==","signatures":[{"sig":"MEUCIDnle4qL9G88XkkiEAPZdcHTz3T2tGJsF5EZC+lwvFDsAiEA6XttxBDIJCH3/gd4KKPw2lNNAufXAgaVdR/y5m//q/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":133319},"main":"dist/plugin.cjs.js","type":"module","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"3b38cef1ea2e5142fc72258905ba2d5169a58a35","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git","type":"git"},"_npmVersion":"10.2.4","description":"Google MLKit Vision Barcode Scanner Plugin","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended","parserOptions":{"project":"./tsconfig.json"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","rollup":"^4.13.0","prettier":"~3.2.5","swiftlint":"^1.0.2","typescript":"~5.4.2","@capacitor/cli":"^6.0.0","@capacitor/ios":"^6.0.0","@capacitor/docgen":"^0.2.2","@capacitor/android":"^6.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"~2.6.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_2.0.0_1721819254877_0.7244657322211052","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"1.0.8","keywords":["capacitor","plugin","native"],"author":{"url":"https://bi-so.de","name":"Nadine Seibel","email":"nadine.seibel@bi-so.com"},"license":"MIT","_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@1.0.8","maintainers":[{"name":"nseibel","email":"nadine.seibel@bi-so.com"},{"name":"biso_pklein","email":"patrick.klein@bi-so.com"}],"homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"dist":{"shasum":"24628073f45b88a852c4902e4693aa496cc7f360","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-1.0.8.tgz","fileCount":55,"integrity":"sha512-O04CnNKl0ssoq+ySb5/qT6qCikqp4XdMFRAcJVo17d1xRBsGWikyJTVTo/NJzGG4eB1ACYeryZb05+vMM/jWrQ==","signatures":[{"sig":"MEQCID9Ys0Qbv1oLkSHIuUYDCvzmZ/oZLMhOmzt3HdCLKlhjAiAlIvKXXHw5f50MWSrfWBzaVoBEN9SUdnp+WPRx7uFiIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":133287},"main":"dist/plugin.cjs.js","type":"module","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"eab8c03b0903453d49d190352a6f6428ee1aa04b","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git","type":"git"},"_npmVersion":"10.2.4","description":"Google MLKit Vision Barcode Scanner Plugin","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended","parserOptions":{"project":"./tsconfig.json"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","rollup":"^4.13.0","prettier":"~3.2.5","swiftlint":"^1.0.2","typescript":"~5.4.2","@capacitor/ios":"^5.7.3","@capacitor/docgen":"^0.2.2","@capacitor/android":"^5.7.3","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"~2.6.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_1.0.8_1721819468690_0.043230187993985814","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"2.0.1","keywords":["capacitor","plugin","native"],"author":{"url":"https://bi-so.de","name":"Nadine Seibel","email":"nadine.seibel@bi-so.com"},"license":"MIT","_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@2.0.1","maintainers":[{"name":"nseibel","email":"nadine.seibel@bi-so.com"},{"name":"biso_pklein","email":"patrick.klein@bi-so.com"}],"homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"dist":{"shasum":"657cbcb8f0937ee7cf457218cd1724b3a7ffaa4a","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-2.0.1.tgz","fileCount":55,"integrity":"sha512-d+/SgyoK4Bk0gixivrcfZE5DfhcLA2IyDlM/8SVGSa1o5YEM0691tG14QrPkY+9bq32Q9WMYVU+IXa7uJe0eNg==","signatures":[{"sig":"MEQCICIj2zVM8mttagVjUHiEjbQPKLG2BHoXzp1xp27FlaRwAiAuYNTc0Rj97ixf+aFDU1ydi/nslEEceiIdr8xmDFaoYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":133591},"main":"dist/plugin.cjs.js","type":"module","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"36866ac97afa6776d638be1329f0ee364e86278d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git","type":"git"},"_npmVersion":"10.2.4","description":"Google MLKit Vision Barcode Scanner Plugin","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended","parserOptions":{"project":"./tsconfig.json"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","rollup":"^4.13.0","prettier":"~3.2.5","swiftlint":"^1.0.2","typescript":"~5.4.2","@capacitor/cli":"^6.0.0","@capacitor/ios":"^6.0.0","@capacitor/docgen":"^0.2.2","@capacitor/android":"^6.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"~2.6.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_2.0.1_1722328528097_0.6660215685325357","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"1.0.9","keywords":["capacitor","plugin","native"],"author":{"url":"https://bi-so.de","name":"Nadine Seibel","email":"nadine.seibel@bi-so.com"},"license":"MIT","_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@1.0.9","maintainers":[{"name":"nseibel","email":"nadine.seibel@bi-so.com"},{"name":"biso_pklein","email":"patrick.klein@bi-so.com"}],"homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"dist":{"shasum":"6d3c2537dc26c3235b28493e053a87ff39c9925f","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-1.0.9.tgz","fileCount":55,"integrity":"sha512-xwq++yU4NWmo2ldtF0gSKxKxoY8zNgKJP3C/RONAs4iR6lUbNyb/BWMKZBCWYxhQ2y/3h7ZOe/PODyd5UqIzfQ==","signatures":[{"sig":"MEUCIQDMlf797m1AmqA+vjsb29PCVnFDpUMAitxcEEBMHpvkiQIganqnWcyrnCbbi+7giPaOFKXTnTYbBBx/uQgsuQKxd1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":133303},"main":"dist/plugin.cjs.js","type":"module","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"c991c0d2ea2ecead53de9f00fbff385bb28a637c","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git","type":"git"},"_npmVersion":"10.2.4","description":"Google MLKit Vision Barcode Scanner Plugin","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended","parserOptions":{"project":"./tsconfig.json"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","rollup":"^4.13.0","prettier":"~3.2.5","swiftlint":"^1.0.2","typescript":"~5.4.2","@capacitor/ios":"^5.7.3","@capacitor/docgen":"^0.2.2","@capacitor/android":"^5.7.3","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"~2.6.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_1.0.9_1722328590576_0.13378922690762285","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"3.0.0","keywords":["capacitor","plugin","native"],"author":{"url":"https://bi-so.de","name":"Nadine Seibel","email":"nadine.seibel@bi-so.com"},"license":"MIT","_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@3.0.0","maintainers":[{"name":"biso_pklein","email":"patrick.klein@bi-so.com"},{"name":"nseibel","email":"nadine.seibel@bi-so.com"}],"homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"dist":{"shasum":"1c721e3248cd24fd57eea9f0d8aae4a9337a9751","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-3.0.0.tgz","fileCount":55,"integrity":"sha512-46Xizqo8bN9DBcIXC7UCoq6YZHlOYGv+ykRmR5mzNk9y0RO8I/A8gxGSkk0vFrYykSXUOUcF+DkveNFgzHd3aA==","signatures":[{"sig":"MEUCIGQge9YCp+3ix0W1qm4pMJzsCEr9FlHMwfFogXBk27vBAiEAwBI12MLmD/bEZgNP9fORJTb2AeZrs9rWxGPpW3FEbn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133861},"main":"dist/plugin.cjs.js","type":"module","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"380d73c7aa9aa263f55d40f0206329bbedf034d7","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git","type":"git"},"_npmVersion":"10.9.3","description":"Google MLKit Vision Barcode Scanner Plugin","directories":{},"_nodeVersion":"22.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended","parserOptions":{"project":"./tsconfig.json"}},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~5.4.2","@capacitor/cli":"^7.0.0","@capacitor/ios":"^7.0.0","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0 < 8"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_3.0.0_1772528592747_0.7737541153444605","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner","version":"4.0.0","type":"module","description":"Google MLKit Vision Barcode Scanner Plugin","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Nadine Seibel","email":"nadine.seibel@bi-so.com","url":"https://bi-so.de"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git"},"bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"oxlint && oxfmt --check && npm run swiftlint -- lint","fmt":"oxlint --fix && oxfmt --write && npm run swiftlint -- --fix --format","swiftlint":"node-swiftlint","docgen":"docgen --api MlKitBarcodeScannerPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^8.0.0","@capacitor/cli":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/ios":"^8.0.0","oxfmt":"^0.32.0","oxlint":"^1.47.0","rimraf":"^6.1.0","rollup":"^4.53.2","swiftlint":"^2.0.0","typescript":"^5.9.3"},"peerDependencies":{"@capacitor/core":">=8.0.0 < 9"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"_id":"@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner@4.0.0","gitHead":"64447e13453293bb8680a07bc91006e92b814f53","homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-7DcRcOOritas3NG/VpEfF+wOKmzHzpX9BRovk461uuzyKT4N27DfQeh6zf7K3oGG9Ld6CKIIBtvdxjngR0Prgw==","shasum":"cc54f5ad980562209059d4e93ff21319be312f20","tarball":"https://registry.npmjs.org/@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner/-/capacitor-plugin-ml-kit-barcode-scanner-4.0.0.tgz","fileCount":55,"unpackedSize":133943,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEqk64ouwr+7ILBwCS2cLhwCWra1qd63nGJplW9QPG+gAiEA2mizWAya/4HWxB6JQvPP8MK4iRLgAL/jt3/bcpobr7M="}]},"_npmUser":{"name":"nseibel","email":"nadine.seibel@bi-so.com"},"directories":{},"maintainers":[{"name":"biso_pklein","email":"patrick.klein@bi-so.com"},{"name":"nseibel","email":"nadine.seibel@bi-so.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-plugin-ml-kit-barcode-scanner_4.0.0_1772529027646_0.23846815309517133"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-24T11:07:34.791Z","modified":"2026-03-03T09:10:27.938Z","2.0.0":"2024-07-24T11:07:35.064Z","1.0.8":"2024-07-24T11:11:08.961Z","2.0.1":"2024-07-30T08:35:28.295Z","1.0.9":"2024-07-30T08:36:30.741Z","3.0.0":"2026-03-03T09:03:12.907Z","4.0.0":"2026-03-03T09:10:27.787Z"},"bugs":{"url":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner/issues"},"author":{"name":"Nadine Seibel","email":"nadine.seibel@bi-so.com","url":"https://bi-so.de"},"license":"MIT","homepage":"https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git"},"description":"Google MLKit Vision Barcode Scanner Plugin","maintainers":[{"name":"biso_pklein","email":"patrick.klein@bi-so.com"},{"name":"nseibel","email":"nadine.seibel@bi-so.com"}],"readme":"# capacitor-plugin-mlkit-barcode-scanner\nA really configurable implementation of googles MLKit Vision barcode scanning API for Android/IOS for capacitor.\n\nThis is a capacitor port of [bi-so-gmbh / cordova-plugin-mlkit-barcode-scanner](https://github.com/bi-so-gmbh/cordova-plugin-mlkit-barcode-scanner)\n\n> [!IMPORTANT]\n> * 4.x.x are Capacitor 8 versions\n> * 3.x.x are Capacitor 7 versions\n> * 2.x.x are Capacitor 6 versions\n> * 1.x.x are Capacitor 5 versions\n> * no support for Capacitor versions below 5\n\n\n## Supported Versions\n\n### iOS\n\niOS 15.5+ and Xcode 26.0+\n\n### Android\n\nAndroid 8.0 Oreo (API level 26) and Android Studio Otter | 2025.2.1 or newer (AGP 8.13.0 which the IntelliJ Android plugin can't do as of today (17.02.2026))\n\n## Install\n\n```bash\nnpm install https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner.git\nnpx cap sync\n```\n\n## Publish\nTo publish to npm use\n```bash\nnpm publish --access public\n```\nIf this is the first time you publish anything (or you were logged out) use\n\n### Permissions\n\n#### IOS\nOn IOS the camera permission needs to be added to the Info.plist of the project using the plugin.\n```\n<key>NSCameraUsageDescription</key>\n<string>Scan Barcodes</string>\n```\n\n#### Android\nOn Android the permission has to be added in the AndroidManifest.xml of the project using the plugin.\n```\n<uses-feature android:name=\"android.hardware.camera\" android:required=\"false\"/>\n<uses-permission android:name=\"android.permission.CAMERA\"/>\n```\n\n## Barcode Support\n\n| 1d formats   | Android | iOS |\n|--------------|---------|-----|\n| Codabar      | ✓       | ✓   |\n| Code 39      | ✓       | ✓   |\n| Code 93      | ✓       | ✓   |\n| Code 128     | ✓       | ✓   |\n| EAN-8.       | ✓       | ✓   |\n| EAN-13       | ✓       | ✓   |\n| ITF          | ✓       | ✓   |\n| MSI          | ✗       | ✗   |\n| RSS Expanded | ✗       | ✗   |\n| RSS-14       | ✗       | ✗   |\n| UPC-A        | ✓       | ✓   |\n| UPC-E        | ✓       | ✓   |\n\n| 2d formats  | Android | iOS |\n|-------------|---------|-----|\n| Aztec       | ✓       | ✓   |\n| Codablock   | ✗       | ✗   |\n| Data Matrix | ✓       | ✓   |\n| MaxiCode    | ✗       | ✗   |\n| PDF417      | ✓       | ✓   |\n| QR Code     | ✓       | ✓   |\n\n#### MLKit does not detect the following barcodes:\n\n- 1D Barcodes with only one character\n- Barcodes in ITF format with fewer than six characters\n- Barcodes encoded with FNC2, FNC3 or FNC4\n- QR codes generated in the ECI mode\n\n### Plugin Options\n\nThe default options are shown below.\nAll values are optional.\n\nNote that the `detectorSize` value must be between `0` and `1`, because it determines how many percent of the screen should be covered by the detector.\nIf the value is greater than 1 the detector will not be visible on the screen.\n\n```javascript\nconst defaultOptions = {\n  barcodeFormats: {\n    Code128: true,\n    Code39: true,\n    Code93: true,\n    CodaBar: true,\n    DataMatrix: true,\n    EAN13: true,\n    EAN8: true,\n    ITF: true,\n    QRCode: true,\n    UPCA: true,\n    UPCE: true,\n    PDF417: true,\n    Aztec: true,\n  },\n  beepOnSuccess: false,\n  vibrateOnSuccess: false,\n  detectorSize: 0.6,\n  detectorAspectRatio: \"1:1\",\n  drawFocusRect: true,\n  focusRectColor: \"#FFFFFF\",\n  focusRectBorderRadius: 100,\n  focusRectBorderThickness: 5,\n  drawFocusLine: false,\n  focusLineColor: \"#ff2d37\",\n  focusLineThickness: 2,\n  drawFocusBackground: false,\n  focusBackgroundColor: \"#66FFFFFF\",\n  stableThreshold: 5,\n  debugOverlay: false,\n  ignoreRotatedBarcodes: false\n};\n```\n\n### Barcode Detection\n\nAll barcodes that are on the image are detected by MLKit. Once the barcodes detected haven't changed for a configurable amount of images (`stableThreshold`) they enter a secondary logic that checks if the barcodes found are in the scan area. Barcodes are considered inside if the center line of the barcode fits into the scan area completely. If the option `ignoreRotatedBarcodes` is set to `true` then barcodes additionally have to have a center line that matches the device rotation. This is done to be able to sort out barcodes rotated by 90 degree.\n\n## API\n\n<docgen-index>\n\n* [`scan(...)`](#scan)\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\n### scan(...)\n\n```typescript\nscan(settings: ISettings) => Promise<IResult>\n```\n\nOpens a camera preview for barcode scanning and automatically detects barcodes in the scan area.\nIn case of unsuccessful scan the reason is thrown as an error.\n\n__Possible errors:__\n  * CANCELED\n  * NO_CAMERA\n  * NO_CAMERA_PERMISSION\n  * JSON_EXCEPTION\n  * PLATFORM_NOT_SUPPORTED\n\n| Param          | Type                                            | Description                      |\n| -------------- | ----------------------------------------------- | -------------------------------- |\n| **`settings`** | <code><a href=\"#isettings\">ISettings</a></code> | settings to be used for the scan |\n\n**Returns:** <code>Promise&lt;<a href=\"#iresult\">IResult</a>&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### IResult\n\nThe result of the plugin is an object with a list of detected barcodes, sorted by\ndistanceToCenter with the lowest value being first. DistanceToCenter is calculated by how\nfar away the center of the barcode is from the center of the scan area.\n\n| Prop           | Type                                                                                      |\n| -------------- | ----------------------------------------------------------------------------------------- |\n| **`barcodes`** | <code>[{ value: string; format: string; type: string; distanceToCenter: number; }]</code> |\n\n\n#### ISettings\n\nAll settings that can be passed to the plugin. The `detectorSize` value must be between\n`0` and `1`, because it determines how many percent of the screen should be covered by\nthe detector.\nIf the value is greater than 1 the detector will not be visible on the screen.\n\n| Prop                           | Type                                                        |\n| ------------------------------ | ----------------------------------------------------------- |\n| **`barcodeFormats`**           | <code><a href=\"#ibarcodeformats\">IBarcodeFormats</a></code> |\n| **`beepOnSuccess`**            | <code>boolean</code>                                        |\n| **`vibrateOnSuccess`**         | <code>boolean</code>                                        |\n| **`detectorSize`**             | <code>number</code>                                         |\n| **`detectorAspectRatio`**      | <code>string</code>                                         |\n| **`drawFocusRect`**            | <code>boolean</code>                                        |\n| **`focusRectColor`**           | <code>string</code>                                         |\n| **`focusRectBorderRadius`**    | <code>number</code>                                         |\n| **`focusRectBorderThickness`** | <code>number</code>                                         |\n| **`drawFocusLine`**            | <code>boolean</code>                                        |\n| **`focusLineColor`**           | <code>string</code>                                         |\n| **`focusLineThickness`**       | <code>number</code>                                         |\n| **`drawFocusBackground`**      | <code>boolean</code>                                        |\n| **`focusBackgroundColor`**     | <code>string</code>                                         |\n| **`stableThreshold`**          | <code>number</code>                                         |\n| **`debugOverlay`**             | <code>boolean</code>                                        |\n\n\n#### IBarcodeFormats\n\nOptions to make it possible to narrow down the barcode types scanned.\n\n| Prop             | Type                 |\n| ---------------- | -------------------- |\n| **`Aztec`**      | <code>boolean</code> |\n| **`CodaBar`**    | <code>boolean</code> |\n| **`Code39`**     | <code>boolean</code> |\n| **`Code93`**     | <code>boolean</code> |\n| **`Code128`**    | <code>boolean</code> |\n| **`DataMatrix`** | <code>boolean</code> |\n| **`EAN8`**       | <code>boolean</code> |\n| **`EAN13`**      | <code>boolean</code> |\n| **`ITF`**        | <code>boolean</code> |\n| **`PDF417`**     | <code>boolean</code> |\n| **`QRCode`**     | <code>boolean</code> |\n| **`UPCA`**       | <code>boolean</code> |\n| **`UPCE`**       | <code>boolean</code> |\n\n</docgen-api>\n\n## Known Issues\n\n### Sometimes the orientation of the barcode is detected wrongly\n\nThis is an issue with the fact that MLKit doesn't actually expose the barcode orientation, so any orientation that is used by this plugin basically just checks for the longest side of the barcode bounds. With square barcodes this causes some display issues in the debug overlay, and detection issues with `ignoreRotatedBarcodes` set to `true`. If you expect square barcodes (or qr codes) don't use that setting.\n\n### Barcodes are only read partially\n\nAnother MLKit \"feature\". Happens especially often on ITF barcodes because the barcode checksum check isn't implemented in MLKit. Should be somewhat mitigated by the detection using the center line of the barcode, but sometimes only parts of the barcode will be read anyway. Only way to deal with it is to play around with `stableThreshold` until you have enough time to get the whole barcode in the scan area.\n\n### Barcode detection doesn't detect all barcodes\n\nMore MLKit issues. When having multiple barcodes on screen, not all of them are detected all the time. If you are wondering why some barcodes are missing, activate `debugOverlay` and you will see which barcodes MLKIt found.\n\n### [Android] Torch Button is behind the drawn background\n\nOn android, I use a SurfaceView to draw the overlay, including the full background, on. The only way to get this to be transparent so the camera can be seen behind it is to use ```setZOrderOnTop(true)``` on it, which makes it impossible for the button to be shown over it. This becomes a problem when a (nearly) opaque background is selected because then the button can't be seen anymore. NOTE: The button still works, it is just rendered behind the background.\n","readmeFilename":"README.md"}