{"_id":"@capacitor-trancee/nearby-connections","_rev":"9-de501b552bc7c463bdcaf48308cf209e","name":"@capacitor-trancee/nearby-connections","dist-tags":{"latest":"0.2.6"},"versions":{"0.0.1":{"name":"@capacitor-trancee/nearby-connections","version":"0.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.0.1","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"60225640dcddc052d9cbb282c8b5c5b0deee3661","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.0.1.tgz","fileCount":60,"integrity":"sha512-22fSM71tKCEhrXfTQtJuTA6RQJWfWXQCUo8DKSuJiFDIPpIZonvjqxRW3Qdzff2e2ZPJi3BPd4NwebBOcPTLmg==","signatures":[{"sig":"MEYCIQCN7oBaJkX8gPLlx8C3utOzOOdjnyZdzlYuE8bTlNGNnAIhAPdcx/sQRTs3MRlwi8TIu4kjMpDZ4BBHDk71Yrg0c1FY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":347186},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"469d42c34596555fe1a19f24179b871268861437","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"10.9.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"22.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.8","prettier":"^3.5.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.0.1_1740258414037_0.999584103482045","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@capacitor-trancee/nearby-connections","version":"0.1.0","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.1.0","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"3d87691e6e9f575bacb4edad1702f0d8148f6619","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.1.0.tgz","fileCount":60,"integrity":"sha512-miy8qvVJM72/LkBVqhF86QjDKLC2+ScYMVgcI+Z9FQLhkinmi8+3Yy0iza67WdhYwNEw7415lijJjI1agVJcgw==","signatures":[{"sig":"MEQCIFGT1nuDbSbsXmbjvmvzg4686s7/yePo0OZtIBVsEwuBAiACgxaSXBDm5LZ8hqCIDI9CbAprb2djnay4bWPi8ljmgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":347700},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"727eab27b9408948e6bae73bfd5c508db91af876","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"10.9.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"22.11.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.8","prettier":"^3.5.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.1.0_1740306396806_0.8199107313092875","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.0","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.0","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"b211f3d522364871b82f40d83a7ee930285a970c","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.0.tgz","fileCount":88,"integrity":"sha512-kgXmHGZZC6R6V6KuR+KISM8IovByrO8bEIblMYCv/8oH+oDg13kOUgactOfVVgGglFIfGv6aeO5mZDE/AwBm+w==","signatures":[{"sig":"MEUCIQDsz0mIktBn4XCUq752p+sE/UFRlc6tqFnJlhQAz607SQIgahWZzBhFD3qvgznsSFow9kZMvROqKDgN43TqVIKmBcs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385711},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ca99bf6b2c63dc813ad894ddfe41f3872289346b","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"11.1.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.8","prettier":"^3.5.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.0_1741110264733_0.7283116439133006","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.1","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.1","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"d5788867ddf710b207bce58a391614561199a26f","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.1.tgz","fileCount":88,"integrity":"sha512-cHwLZimQ6EPC5aMdFLr/6mKf6jc2jBY0V4t2puksaVj035GNKfn6QcFl6puEQlCjD5jPsOKcOoeiKx8FNPnI2w==","signatures":[{"sig":"MEUCIQCS1sgjhCMW8FnBR+5g9wzI66oTZ2iwIbPEeoo4ro8uEQIgdIYHr3xts3DwxzaLoHg2kUz90oFyw8PT3skqfKpU1bo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385711},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ca99bf6b2c63dc813ad894ddfe41f3872289346b","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"11.1.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.9","prettier":"^3.5.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.1_1741371586499_0.7421685884669085","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.2","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.2","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"b9dbddb37cb35bf043976b2c10ba1bb5a95c4e6a","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.2.tgz","fileCount":14409,"integrity":"sha512-8P67dkyBRSGfljtpTCilulV7q7KSLvPAEyFwo/eC67yRavqf2GDilmspekm13zz/YuQlqc9B0kGffZIgIUMdQA==","signatures":[{"sig":"MEUCIHkIjyNNiFzQZuEsUWfdt+IyK7GV4dszxEadjDHOsothAiEAiGFTg8Y5dvR4TDJO05SIngpZX61zD+DLw+BVP8Hy08A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225606552},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"9b3410cdfd620fb2f92c27602afb65c4a664e2c1","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"11.1.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"22.14.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.9","prettier":"^3.5.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.2_1741379096124_0.6221249741091561","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.3","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.3","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"805f3cd416730fa5bda0994d82a033125e91d378","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.3.tgz","fileCount":88,"integrity":"sha512-LNDF1fO1CDvLM4XdU9VMJevGPNiXz0YtUIMGyBfoyJR30HqFDkR2z5YY7lMrdKn/pzcvdfd2JgaG0OF8ZqkuWQ==","signatures":[{"sig":"MEQCIEMBeO+bCLFO4LTem4qByK0MstjZrRkLEmXXK9xuDAN9AiAFDbyAHGj3GsGyDdKMEqkFEY6qdL5kxO0BWcg8mKObAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385782},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"9b3410cdfd620fb2f92c27602afb65c4a664e2c1","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"10.9.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"18.19.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.9","prettier":"^3.5.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.3_1741435937042_0.40077822858361745","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.4","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.4","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"677da124da09bd17dae2026012d353feabd82366","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.4.tgz","fileCount":88,"integrity":"sha512-40KnuV2qm+plCEHik+7/7wCJiZas5N7FHWe5QVKn1gKUFb9nl7v/zvtGCyIE2mOFPtdNfN6jWrmpdQPHsRblfQ==","signatures":[{"sig":"MEUCIArMbIyO+MmX6JxMmMk+XqtjL6zNJgruk2SiN4cQqa2/AiEAtRyZvZbGjLl8z8WA5RBO59//NMY/1Z3jZX1xB28VsJA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385736},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"2148b56aaa4cdb353ceafa72961ece13e2513864","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"10.9.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"18.19.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.9","prettier":"^3.5.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.4_1741456173766_0.35838082535871263","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.5","keywords":["capacitor","plugin","native","nearby"],"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","_id":"@capacitor-trancee/nearby-connections@0.2.5","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"dist":{"shasum":"93a1cc49ce5367d6f7d4d1941c9983114e17f5a5","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.5.tgz","fileCount":88,"integrity":"sha512-g1SUppD8tLolu29qGZ/f7x69X5huUCtYdII8f9iTHAze/wTWpreI8j60dOZR53KphJoCFTtyWf1pFt+A6MlPpg==","signatures":[{"sig":"MEUCIQDx2vBcaVDPo0wV7V8DxDZD/pjIcnDFAzYf83YLkZD6QwIgMNYxeuml2TnuDDuJ57rNRuaT6fih1jB1c12d1AUcfUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":390281},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"2148b56aaa4cdb353ceafa72961ece13e2513864","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 NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/trancee/capacitor-nearby-connections.git","type":"git"},"_npmVersion":"10.9.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","directories":{},"_nodeVersion":"18.19.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.0.1","rollup":"^4.34.9","prettier":"^3.5.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/cli":"^7.0.1","@capacitor/ios":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.1","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby-connections_0.2.5_1741513291997_0.6489280073866037","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@capacitor-trancee/nearby-connections","version":"0.2.6","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/trancee/capacitor-nearby-connections.git"},"bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"keywords":["capacitor","plugin","native","nearby"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"xcodebuild -scheme CapacitorTranceeNearbyConnections -destination generic/platform=iOS","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api NearbyConnectionsPlugin --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","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript"},"devDependencies":{"@capacitor/android":"^7.0.1","@capacitor/cli":"^7.0.1","@capacitor/core":"^7.0.1","@capacitor/docgen":"^0.3.0","@capacitor/ios":"^7.0.1","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.1","prettier":"^3.5.3","prettier-plugin-java":"^2.6.7","rimraf":"^6.0.1","rollup":"^4.34.9","swiftlint":"^2.0.0","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"prettier":"@ionic/prettier-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"_id":"@capacitor-trancee/nearby-connections@0.2.6","gitHead":"01f1247dc6cab416a5384c07f12276f67d1dd8b6","homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","_nodeVersion":"18.19.1","_npmVersion":"10.9.0","dist":{"integrity":"sha512-7KjLM2nJJZFZlRVMLk43RHyq9oMh28HlyVfBmL0cariXlqbNmN0H0u0p1LQnY457Xacr+xevZcIyU0/kmV4Anw==","shasum":"6fb64b20d3a970bbc8e2da9239d254b7530c07fc","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby-connections/-/nearby-connections-0.2.6.tgz","fileCount":88,"unpackedSize":390302,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDoIAZNf3B6zC62GHxYuUhpuEPbR1QSRIdj2VYLG+DggQIgYzfBxs1HIVBCKA5d+Sa/ma7NIIoVCrARSy6C4pCY2tA="}]},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"directories":{},"maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nearby-connections_0.2.6_1741529043603_0.44801715945120923"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-22T21:06:53.973Z","modified":"2025-03-09T14:04:04.055Z","0.0.1":"2025-02-22T21:06:54.258Z","0.1.0":"2025-02-23T10:26:36.979Z","0.2.0":"2025-03-04T17:44:25.045Z","0.2.1":"2025-03-07T18:19:46.745Z","0.2.2":"2025-03-07T20:24:56.754Z","0.2.3":"2025-03-08T12:12:17.311Z","0.2.4":"2025-03-08T17:49:33.977Z","0.2.5":"2025-03-09T09:41:32.205Z","0.2.6":"2025-03-09T14:04:03.842Z"},"bugs":{"url":"https://github.com/trancee/capacitor-nearby-connections/issues"},"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","homepage":"https://github.com/trancee/capacitor-nearby-connections#readme","keywords":["capacitor","plugin","native","nearby"],"repository":{"type":"git","url":"git+https://github.com/trancee/capacitor-nearby-connections.git"},"description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"readme":"# @capacitor-trancee/nearby-connections\n\nUses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity\n\n## Install\n\n```bash\nnpm install @capacitor-trancee/nearby-connections\nnpx cap sync\n```\n\n## iOS\n\nNearby Connections needs access to both Bluetooth and the local network to advertise, discover, make connections, and transfer data. Provide a usage description for each resource needed, in your app’s `Info.plist`. If you don’t, attempts to access the resource will fail, and might even cause your app to crash.\n\nRequired usage description keys:\n\n- `NSBluetoothAlwaysUsageDescription`\n  ```\n  <key>NSBluetoothAlwaysUsageDescription</key>\n  <string>${PRODUCT_NAME} uses Bluetooth to discover nearby devices.</string>\n  ```\n\n- `NSLocalNetworkUsageDescription`\n  ```\n  <key>NSLocalNetworkUsageDescription</key>\n  <string>${PRODUCT_NAME} uses the local network to discover nearby devices on your WiFi network.</string>\n  ```\n\nIn addition to usage description keys, an `NSBonjourServices` key with a list of the service types that will be browsed by the app, will also need to be added. The only service type that must be added can be generated by taking the first 12 bytes of the `SHA-256` hash of your app's service ID.\n\nRead about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) in the [iOS Guide](https://capacitorjs.com/docs/ios) for more information on setting iOS permissions in Xcode\n\n## Android\n\nBefore using Nearby Connections, your app must request the appropriate permissions. Add the following permissions to your `AndroidManifest.xml`:\n\n```xml\n    <!-- https://developers.google.com/nearby/connections/android/get-started#request_permissions -->\n\n    <!-- Required for Nearby Connections -->\n    <uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" />\n    <uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\" />\n\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH\"\n        android:maxSdkVersion=\"30\" />\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_ADMIN\"\n        android:maxSdkVersion=\"30\" />\n\n    <uses-permission\n        android:name=\"android.permission.ACCESS_COARSE_LOCATION\"\n        android:maxSdkVersion=\"32\" />\n    <uses-permission\n        android:name=\"android.permission.ACCESS_FINE_LOCATION\"\n        android:maxSdkVersion=\"32\" />\n\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_ADVERTISE\" />\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_CONNECT\" />\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_SCAN\"\n        android:usesPermissionFlags=\"neverForLocation\"\n        tools:targetApi=\"s\" />\n\n    <uses-permission\n        android:name=\"android.permission.NEARBY_WIFI_DEVICES\"\n        android:usesPermissionFlags=\"neverForLocation\"\n        tools:targetApi=\"s\" />\n\n    <!-- Optional: only required for FILE payloads -->\n    <uses-permission\n        android:name=\"android.permission.READ_EXTERNAL_STORAGE\"\n        tools:ignore=\"ScopedStorage\" />\n\n    <uses-feature\n        android:name=\"android.hardware.bluetooth_le\"\n        android:required=\"false\" />\n```\n\nIf the user does not grant all required permissions, the Nearby Connections API will refuse to allow your app to start advertising or discovering.\n\nRead about [Setting Permissions](https://capacitorjs.com/docs/android/configuration#setting-permissions) in the [Android Guide](https://capacitorjs.com/docs/android) for more information on setting Android permissions.\n\n### Variables\n\nThis plugin will use the following project variables (defined in your app's `variables.gradle` file):\n\n- `playServicesNearbyVersion` version of `com.google.android.gms:play-services-nearby` (default: `19.3.0`)\n\n- `playServicesLocationVersion` version of `com.google.android.gms:play-services-location` (default: `21.3.0`)\n\n- `protoliteWellKnownTypesVersion` version of `com.google.firebase:protolite-well-known-types` (default: `18.0.0`)\n\n## Example\n\n```typescript\n```\n\n## Configuration\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop                 | Type                                                      | Description                                                                                                                                                                                             | Since |\n| -------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`endpointName`**   | <code>string</code>                                       | A human readable name for this endpoint, to appear on the remote device.                                                                                                                                | 1.0.0 |\n| **`serviceID`**      | <code><a href=\"#serviceid\">ServiceID</a></code>           | An identifier to advertise your app to other endpoints. The `serviceID` value must uniquely identify your app. As a best practice, use the package name of your app (for example, `com.example.myapp`). | 1.0.0 |\n| **`strategy`**       | <code><a href=\"#strategy\">Strategy</a></code>             | Sets the <a href=\"#strategy\">`Strategy`</a> to be used when discovering or advertising to Nearby devices.                                                                                               | 1.0.0 |\n| **`connectionType`** | <code><a href=\"#connectiontype\">ConnectionType</a></code> | Sets whether the client should disrupt the current connection to optimize the transfer or not. Only available on Android.                                                                               | 1.0.0 |\n| **`lowPower`**       | <code>boolean</code>                                      | Sets whether low power should be used. Only available on Android.                                                                                                                                       | 1.0.0 |\n| **`autoConnect`**    | <code>boolean</code>                                      | Automatically accept the connection on both sides.                                                                                                                                                      | 1.0.0 |\n| **`payload`**        | <code>string</code>                                       | What payload to send when automatically connecting to each other.                                                                                                                                       | 1.0.0 |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"NearbyConnections\": {\n      \"endpointName\": \"My App\",\n      \"serviceID\": \"com.example.myapp\",\n      \"strategy\": Strategy.STAR,\n      \"connectionType\": ConnectionType.BALANCED,\n      \"lowPower\": true,\n      \"autoConnect\": true,\n      \"payload\": \"Hello, World!\"\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor-trancee/nearby-connections\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    NearbyConnections: {\n      endpointName: \"My App\",\n      serviceID: \"com.example.myapp\",\n      strategy: Strategy.STAR,\n      connectionType: ConnectionType.BALANCED,\n      lowPower: true,\n      autoConnect: true,\n      payload: \"Hello, World!\",\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## API\n\n<docgen-index>\n\n* [`initialize(...)`](#initialize)\n* [`reset()`](#reset)\n* [`startAdvertising(...)`](#startadvertising)\n* [`stopAdvertising()`](#stopadvertising)\n* [`startDiscovery(...)`](#startdiscovery)\n* [`stopDiscovery()`](#stopdiscovery)\n* [`requestConnection(...)`](#requestconnection)\n* [`acceptConnection(...)`](#acceptconnection)\n* [`rejectConnection(...)`](#rejectconnection)\n* [`disconnect(...)`](#disconnect)\n* [`sendPayload(...)`](#sendpayload)\n* [`cancelPayload(...)`](#cancelpayload)\n* [`status()`](#status)\n* [`checkPermissions()`](#checkpermissions)\n* [`requestPermissions(...)`](#requestpermissions)\n* [`addListener('onPermissionChanged', ...)`](#addlisteneronpermissionchanged-)\n* [`addListener('onBluetoothStateChanged', ...)`](#addlisteneronbluetoothstatechanged-)\n* [`addListener('onEndpointFound', ...)`](#addlisteneronendpointfound-)\n* [`addListener('onEndpointLost', ...)`](#addlisteneronendpointlost-)\n* [`addListener('onEndpointInitiated', ...)`](#addlisteneronendpointinitiated-)\n* [`addListener('onEndpointConnected', ...)`](#addlisteneronendpointconnected-)\n* [`addListener('onEndpointRejected', ...)`](#addlisteneronendpointrejected-)\n* [`addListener('onEndpointFailed', ...)`](#addlisteneronendpointfailed-)\n* [`addListener('onEndpointDisconnected', ...)`](#addlisteneronendpointdisconnected-)\n* [`addListener('onEndpointBandwidthChanged', ...)`](#addlisteneronendpointbandwidthchanged-)\n* [`addListener('onPayloadReceived', ...)`](#addlisteneronpayloadreceived-)\n* [`addListener('onPayloadTransferUpdate', ...)`](#addlisteneronpayloadtransferupdate-)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\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### initialize(...)\n\n```typescript\ninitialize(options?: InitializeOptions | undefined) => Promise<void>\n```\n\nInitializes Nearby Connections for advertising and discovering of endpoints.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#initializeoptions\">InitializeOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### reset()\n\n```typescript\nreset() => Promise<void>\n```\n\nStops and resets advertising and discovering of endpoints.\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### startAdvertising(...)\n\n```typescript\nstartAdvertising(options?: StartAdvertisingOptions | undefined) => Promise<void>\n```\n\nStarts advertising the local endpoint.\n\n| Param         | Type                                                                        |\n| ------------- | --------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#startadvertisingoptions\">StartAdvertisingOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### stopAdvertising()\n\n```typescript\nstopAdvertising() => Promise<void>\n```\n\nStops advertising the local endpoint.\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### startDiscovery(...)\n\n```typescript\nstartDiscovery(options?: StartDiscoveryOptions | undefined) => Promise<void>\n```\n\nStarts discovery for remote endpoints.\n\n| Param         | Type                                                                    |\n| ------------- | ----------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#startdiscoveryoptions\">StartDiscoveryOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### stopDiscovery()\n\n```typescript\nstopDiscovery() => Promise<void>\n```\n\nStops discovery for remote endpoints.\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### requestConnection(...)\n\n```typescript\nrequestConnection(options: RequestConnectionOptions) => Promise<void>\n```\n\nSends a request to connect to a remote endpoint.\n\n| Param         | Type                                                                          |\n| ------------- | ----------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#requestconnectionoptions\">RequestConnectionOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### acceptConnection(...)\n\n```typescript\nacceptConnection(options: AcceptConnectionOptions) => Promise<void>\n```\n\nAccepts a connection to a remote endpoint.\n\n| Param         | Type                                                                        |\n| ------------- | --------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#acceptconnectionoptions\">AcceptConnectionOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### rejectConnection(...)\n\n```typescript\nrejectConnection(options: RejectConnectionOptions) => Promise<void>\n```\n\nRejects a connection to a remote endpoint.\n\n| Param         | Type                                                                        |\n| ------------- | --------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#rejectconnectionoptions\">RejectConnectionOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### disconnect(...)\n\n```typescript\ndisconnect(options: DisconnectOptions) => Promise<void>\n```\n\nDisconnects from a remote endpoint.\n`Payload`s can no longer be sent to or received from the endpoint after this method is called.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#disconnectoptions\">DisconnectOptions</a></code> |\n\n--------------------\n\n\n### sendPayload(...)\n\n```typescript\nsendPayload(options: SendPayloadOptions) => Promise<SendPayloadResult>\n```\n\nSends a <a href=\"#payload\">`Payload`</a> to a remote endpoint.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#sendpayloadoptions\">SendPayloadOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#sendpayloadresult\">SendPayloadResult</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### cancelPayload(...)\n\n```typescript\ncancelPayload(options: CancelPayloadOptions) => Promise<void>\n```\n\nCancels a <a href=\"#payload\">`Payload`</a> currently in-flight to or from remote endpoint(s).\n\n| Param         | Type                                                                  |\n| ------------- | --------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#cancelpayloadoptions\">CancelPayloadOptions</a></code> |\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### status()\n\n```typescript\nstatus() => Promise<StatusResult>\n```\n\nReturns advertising and discovering status, and discovered endpoints.\n\n**Returns:** <code>Promise&lt;<a href=\"#statusresult\">StatusResult</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### checkPermissions()\n\n```typescript\ncheckPermissions() => Promise<PermissionStatus>\n```\n\nCheck for the appropriate permissions to use Nearby.\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### requestPermissions(...)\n\n```typescript\nrequestPermissions(permissions?: NearbyConnectionsPermissions | undefined) => Promise<PermissionStatus>\n```\n\nRequest the appropriate permissions to use Nearby.\n\n| Param             | Type                                                                                  |\n| ----------------- | ------------------------------------------------------------------------------------- |\n| **`permissions`** | <code><a href=\"#nearbyconnectionspermissions\">NearbyConnectionsPermissions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onPermissionChanged', ...)\n\n```typescript\naddListener(eventName: 'onPermissionChanged', listenerFunc: (granted: boolean) => void) => Promise<PluginListenerHandle>\n```\n\nCalled when permission is granted or revoked for this app to use Nearby.\n\n| Param              | Type                                       |\n| ------------------ | ------------------------------------------ |\n| **`eventName`**    | <code>'onPermissionChanged'</code>         |\n| **`listenerFunc`** | <code>(granted: boolean) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onBluetoothStateChanged', ...)\n\n```typescript\naddListener(eventName: 'onBluetoothStateChanged', listenerFunc: (state: BluetoothState) => void) => Promise<PluginListenerHandle>\n```\n\nCalled when state of Bluetooth has changed.\n\n| Param              | Type                                                                          |\n| ------------------ | ----------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onBluetoothStateChanged'</code>                                        |\n| **`listenerFunc`** | <code>(state: <a href=\"#bluetoothstate\">BluetoothState</a>) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointFound', ...)\n\n```typescript\naddListener(eventName: 'onEndpointFound', listenerFunc: EndpointFoundCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is discovered.\n\n| Param              | Type                                                                    |\n| ------------------ | ----------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointFound'</code>                                          |\n| **`listenerFunc`** | <code><a href=\"#endpointfoundcallback\">EndpointFoundCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointLost', ...)\n\n```typescript\naddListener(eventName: 'onEndpointLost', listenerFunc: EndpointLostCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is no longer discoverable.\n\n| Param              | Type                                                                  |\n| ------------------ | --------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointLost'</code>                                         |\n| **`listenerFunc`** | <code><a href=\"#endpointlostcallback\">EndpointLostCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointInitiated', ...)\n\n```typescript\naddListener(eventName: 'onEndpointInitiated', listenerFunc: EndpointInitiatedCallback) => Promise<PluginListenerHandle>\n```\n\nA basic encrypted channel has been created between you and the endpoint.\nBoth sides are now asked if they wish to accept or reject the connection before any data can be sent over this channel.\n\n| Param              | Type                                                                            |\n| ------------------ | ------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointInitiated'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#endpointinitiatedcallback\">EndpointInitiatedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointConnected', ...)\n\n```typescript\naddListener(eventName: 'onEndpointConnected', listenerFunc: EndpointConnectedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled after both sides have accepted the connection.\nBoth sides may now send Payloads to each other.\n\n| Param              | Type                                                                            |\n| ------------------ | ------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointConnected'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#endpointconnectedcallback\">EndpointConnectedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointRejected', ...)\n\n```typescript\naddListener(eventName: 'onEndpointRejected', listenerFunc: EndpointRejectedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when either side rejected the connection.\nPayloads can not be exchaged.\n\n| Param              | Type                                                                          |\n| ------------------ | ----------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointRejected'</code>                                             |\n| **`listenerFunc`** | <code><a href=\"#endpointrejectedcallback\">EndpointRejectedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### addListener('onEndpointFailed', ...)\n\n```typescript\naddListener(eventName: 'onEndpointFailed', listenerFunc: EndpointFailedCallback) => Promise<PluginListenerHandle>\n```\n\n| Param              | Type                                                                      |\n| ------------------ | ------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointFailed'</code>                                           |\n| **`listenerFunc`** | <code><a href=\"#endpointfailedcallback\">EndpointFailedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### addListener('onEndpointDisconnected', ...)\n\n```typescript\naddListener(eventName: 'onEndpointDisconnected', listenerFunc: EndpointDisconnectedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is disconnected or has become unreachable.\n\n| Param              | Type                                                                                  |\n| ------------------ | ------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointDisconnected'</code>                                                 |\n| **`listenerFunc`** | <code><a href=\"#endpointdisconnectedcallback\">EndpointDisconnectedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onEndpointBandwidthChanged', ...)\n\n```typescript\naddListener(eventName: 'onEndpointBandwidthChanged', listenerFunc: EndpointBandwidthChangedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a connection is established or if the connection quality improves to a higher connection bandwidth.\n\n| Param              | Type                                                                                          |\n| ------------------ | --------------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointBandwidthChanged'</code>                                                     |\n| **`listenerFunc`** | <code><a href=\"#endpointbandwidthchangedcallback\">EndpointBandwidthChangedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onPayloadReceived', ...)\n\n```typescript\naddListener(eventName: 'onPayloadReceived', listenerFunc: PayloadReceivedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a <a href=\"#payload\">`Payload`</a> is received from a remote endpoint.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onPayloadReceived'</code>                                            |\n| **`listenerFunc`** | <code><a href=\"#payloadreceivedcallback\">PayloadReceivedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### addListener('onPayloadTransferUpdate', ...)\n\n```typescript\naddListener(eventName: 'onPayloadTransferUpdate', listenerFunc: PayloadTransferUpdateCallback) => Promise<PluginListenerHandle>\n```\n\nCalled with progress information about an active <a href=\"#payload\">`Payload`</a> transfer, either incoming or outgoing.\n\n| Param              | Type                                                                                    |\n| ------------------ | --------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onPayloadTransferUpdate'</code>                                                  |\n| **`listenerFunc`** | <code><a href=\"#payloadtransferupdatecallback\">PayloadTransferUpdateCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### InitializeOptions\n\n| Prop               | Type                                            | Description                                                                                                                                                                                             | Default            | Since |\n| ------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`endpointName`** | <code>string</code>                             | A human readable name for this endpoint, to appear on the remote device.                                                                                                                                |                    | 1.0.0 |\n| **`serviceID`**    | <code><a href=\"#serviceid\">ServiceID</a></code> | An identifier to advertise your app to other endpoints. The `serviceID` value must uniquely identify your app. As a best practice, use the package name of your app (for example, `com.example.myapp`). |                    | 1.0.0 |\n| **`strategy`**     | <code><a href=\"#strategy\">Strategy</a></code>   | Sets the <a href=\"#strategy\">`Strategy`</a> to be used when discovering or advertising to Nearby devices.                                                                                               |                    | 1.0.0 |\n| **`lowPower`**     | <code>boolean</code>                            | Sets whether low power should be used. Only available on Android.                                                                                                                                       | <code>false</code> | 1.0.0 |\n| **`autoConnect`**  | <code>boolean</code>                            | Automatically accept the connection on both sides.                                                                                                                                                      |                    | 1.0.0 |\n| **`payload`**      | <code>string</code>                             | What payload to send when automatically connecting to each other.                                                                                                                                       |                    | 1.0.0 |\n\n\n#### StartAdvertisingOptions\n\n| Prop                 | Type                                                      | Description                                                                                                               | Default                              | Since |\n| -------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ----- |\n| **`endpointName`**   | <code>string</code>                                       | A human readable name for this endpoint, to appear on the remote device.                                                  |                                      | 1.0.0 |\n| **`connectionType`** | <code><a href=\"#connectiontype\">ConnectionType</a></code> | Sets whether the client should disrupt the current connection to optimize the transfer or not. Only available on Android. | <code>ConnectionType.BALANCED</code> | 1.0.0 |\n| **`lowPower`**       | <code>boolean</code>                                      | Sets whether low power should be used. Only available on Android.                                                         | <code>false</code>                   | 1.0.0 |\n\n\n#### StartDiscoveryOptions\n\n| Prop           | Type                 | Description                                                       | Default            | Since |\n| -------------- | -------------------- | ----------------------------------------------------------------- | ------------------ | ----- |\n| **`lowPower`** | <code>boolean</code> | Sets whether low power should be used. Only available on Android. | <code>false</code> | 1.0.0 |\n\n\n#### RequestConnectionOptions\n\n| Prop               | Type                                              | Description                                                                        | Since |\n| ------------------ | ------------------------------------------------- | ---------------------------------------------------------------------------------- | ----- |\n| **`endpointID`**   | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to which a connection request will be sent. | 1.0.0 |\n| **`endpointName`** | <code>string</code>                               | A human readable name for this endpoint, to appear on the remote device.           | 1.0.0 |\n\n\n#### AcceptConnectionOptions\n\n| Prop             | Type                                              | Description                             | Since |\n| ---------------- | ------------------------------------------------- | --------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint. | 1.0.0 |\n\n\n#### RejectConnectionOptions\n\n| Prop             | Type                                              | Description                             | Since |\n| ---------------- | ------------------------------------------------- | --------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint. | 1.0.0 |\n\n\n#### DisconnectOptions\n\n| Prop             | Type                                              | Description                                                | Since |\n| ---------------- | ------------------------------------------------- | ---------------------------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to disconnect from. | 1.0.0 |\n\n\n#### SendPayloadResult\n\n| Prop              | Type                                                                                | Description                           | Since |\n| ----------------- | ----------------------------------------------------------------------------------- | ------------------------------------- | ----- |\n| **`payloadID`**   | <code><a href=\"#payloadid\">PayloadID</a></code>                                     | A unique identifier for this payload. | 1.0.0 |\n| **`payloadType`** | <code><a href=\"#payloadtype\">PayloadType</a></code>                                 | The type of this payload.             | 1.0.0 |\n| **`status`**      | <code><a href=\"#payloadtransferupdatestatus\">PayloadTransferUpdateStatus</a></code> | The status of the payload.            | 1.0.0 |\n\n\n#### SendPayloadOptions\n\n| Prop              | Type                                              | Description                                                                   | Since |\n| ----------------- | ------------------------------------------------- | ----------------------------------------------------------------------------- | ----- |\n| **`endpointID`**  | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to which the payload should be sent.   | 1.0.0 |\n| **`endpointIDs`** | <code>string[]</code>                             | The identifiers for the remote endpoints to which the payload should be sent. | 1.0.0 |\n| **`payload`**     | <code>string</code>                               | The <a href=\"#payload\">`Payload`</a> to be sent.                              | 1.0.0 |\n\n\n#### CancelPayloadOptions\n\n| Prop            | Type                                            | Description                                                           | Since |\n| --------------- | ----------------------------------------------- | --------------------------------------------------------------------- | ----- |\n| **`payloadID`** | <code><a href=\"#payloadid\">PayloadID</a></code> | The identifier for the <a href=\"#payload\">Payload</a> to be canceled. | 1.0.0 |\n\n\n#### StatusResult\n\n| Prop                | Type                 |\n| ------------------- | -------------------- |\n| **`isAdvertising`** | <code>boolean</code> |\n| **`isDiscovering`** | <code>boolean</code> |\n\n\n#### PermissionStatus\n\n| Prop                  | Type                                                        | Description                                                                                                                                                                                                                                             | Since |\n| --------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`wifiNearby`**      | <code><a href=\"#permissionstate\">PermissionState</a></code> | `NEARBY_WIFI_DEVICES` Required to be able to advertise and connect to nearby devices via Wi-Fi.                                                                                                                                                         | 1.0.0 |\n| **`wifiState`**       | <code><a href=\"#permissionstate\">PermissionState</a></code> | `ACCESS_WIFI_STATE` Allows applications to access information about Wi-Fi networks. `CHANGE_WIFI_STATE` Allows applications to change Wi-Fi connectivity state.                                                                                         | 1.0.0 |\n| **`bluetoothNearby`** | <code><a href=\"#permissionstate\">PermissionState</a></code> | `BLUETOOTH_ADVERTISE` Required to be able to advertise to nearby Bluetooth devices. `BLUETOOTH_CONNECT` Required to be able to connect to paired Bluetooth devices. `BLUETOOTH_SCAN` Required to be able to discover and pair nearby Bluetooth devices. | 1.0.0 |\n| **`bluetoothLegacy`** | <code><a href=\"#permissionstate\">PermissionState</a></code> | `BLUETOOTH` Allows applications to connect to paired bluetooth devices. `BLUETOOTH_ADMIN` Allows applications to discover and pair bluetooth devices.                                                                                                   | 1.0.0 |\n| **`location`**        | <code><a href=\"#permissionstate\">PermissionState</a></code> | `ACCESS_FINE_LOCATION` Allows an app to access precise location.                                                                                                                                                                                        | 1.0.0 |\n| **`locationCoarse`**  | <code><a href=\"#permissionstate\">PermissionState</a></code> | `ACCESS_COARSE_LOCATION` Allows an app to access approximate location.                                                                                                                                                                                  | 1.0.0 |\n\n\n#### NearbyConnectionsPermissions\n\n| Prop              | Type                                          |\n| ----------------- | --------------------------------------------- |\n| **`permissions`** | <code>NearbyConnectionPermissionType[]</code> |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### Endpoint\n\n| Prop               | Type                                              | Description                                                              | Since |\n| ------------------ | ------------------------------------------------- | ------------------------------------------------------------------------ | ----- |\n| **`endpointID`**   | <code><a href=\"#endpointid\">EndpointID</a></code> | The ID of the remote endpoint that was discovered.                       | 1.0.0 |\n| **`endpointName`** | <code>string</code>                               | A human readable name for this endpoint, to appear on the remote device. | 1.0.0 |\n\n\n#### ConnectionInfo\n\nInformation about a connection that is being initiated.\n\n| Prop                       | Type                 | Description                                                                                                                                 | Since |\n| -------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`authenticationToken`**  | <code>string</code>  | A 4 digit authentication token that has been given to both devices.                                                                         | 1.0.0 |\n| **`authenticationStatus`** | <code>number</code>  | An authentication status for Authentication handshaking result after uKey2 verification.                                                    | 1.0.0 |\n| **`isIncomingConnection`** | <code>boolean</code> | `True` if the connection request was initiated from a remote device. `False` if this device was the one to try and initiate the connection. | 1.0.0 |\n\n\n#### BandwidthInfo\n\nInformation about a connection's bandwidth.\n\n| Prop          | Type                                        | Description                       | Since |\n| ------------- | ------------------------------------------- | --------------------------------- | ----- |\n| **`quality`** | <code><a href=\"#quality\">Quality</a></code> | The connection's current quality. | 1.0.0 |\n\n\n#### Payload\n\nA <a href=\"#payload\">Payload</a> sent between devices.\n\n| Prop              | Type                                                | Description                           | Since |\n| ----------------- | --------------------------------------------------- | ------------------------------------- | ----- |\n| **`payloadID`**   | <code><a href=\"#payloadid\">PayloadID</a></code>     | A unique identifier for this payload. | 1.0.0 |\n| **`payloadType`** | <code><a href=\"#payloadtype\">PayloadType</a></code> | The type of this payload.             | 1.0.0 |\n| **`payload`**     | <code>string</code>                                 | <a href=\"#payload\">Payload</a> data.  | 1.0.0 |\n\n\n#### PayloadTransferUpdate\n\nDescribes the status for an active <a href=\"#payload\">`Payload`</a> transfer, either incoming or outgoing.\n\n| Prop                   | Type                                                                                | Description                               | Since |\n| ---------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------- | ----- |\n| **`payloadID`**        | <code><a href=\"#payloadid\">PayloadID</a></code>                                     | The payload identifier.                   | 1.0.0 |\n| **`status`**           | <code><a href=\"#payloadtransferupdatestatus\">PayloadTransferUpdateStatus</a></code> | The status of the payload.                | 1.0.0 |\n| **`bytesTransferred`** | <code>number</code>                                                                 | The number of bytes transferred so far.   | 1.0.0 |\n| **`totalBytes`**       | <code>number</code>                                                                 | The total number of bytes in the payload. | 1.0.0 |\n\n\n### Type Aliases\n\n\n#### ServiceID\n\nUsed to represent a service identifier.\n\n<code>string</code>\n\n\n#### EndpointID\n\nUsed to represent an endpoint.\n\n<code>string</code>\n\n\n#### PayloadID\n\nUsed to represent a payload.\n\n<code>number</code>\n\n\n#### PermissionState\n\n<code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>\n\n\n#### NearbyConnectionPermissionType\n\n<code>'wifiNearby' | 'wifiState' | 'bluetoothNearby' | 'bluetoothLegacy' | 'location' | 'locationCoarse'</code>\n\n\n#### EndpointFoundCallback\n\nCalled when a remote endpoint is discovered.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointLostCallback\n\nCalled when a remote endpoint is no longer discoverable.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointInitiatedCallback\n\nA basic encrypted channel has been created between you and the endpoint.\nBoth sides are now asked if they wish to accept or reject the connection before any data can be sent over this channel.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#connectioninfo\">ConnectionInfo</a>): void</code>\n\n\n#### EndpointConnectedCallback\n\nCalled after both sides have accepted the connection.\nBoth sides may now send Payloads to each other.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointRejectedCallback\n\nCalled when either side rejected the connection.\nPayloads can not be exchaged.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointFailedCallback\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#status\">Status</a>): void</code>\n\n\n#### EndpointDisconnectedCallback\n\nCalled when a remote endpoint is disconnected or has become unreachable.\nAt this point service (re-)discovery may start again.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointBandwidthChangedCallback\n\nCalled when a connection is established or if the connection quality improves to a higher connection bandwidth.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#bandwidthinfo\">BandwidthInfo</a>): void</code>\n\n\n#### PayloadReceivedCallback\n\nCalled when a payload is received from a remote endpoint. Depending on the type of the payload,\nall of the data may or may not have been received at the time of this call.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#payload\">Payload</a>): void</code>\n\n\n#### PayloadTransferUpdateCallback\n\nCalled with progress information about an active payload transfer, either incoming or outgoing.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#payloadtransferupdate\">PayloadTransferUpdate</a>): void</code>\n\n\n### Enums\n\n\n#### Strategy\n\n| Members              | Value                       | Description                                                                                                                                                                                          | Since |\n| -------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`CLUSTER`**        | <code>'cluster'</code>      | Peer-to-peer strategy that supports an M-to-N, or cluster-shaped, connection topology. No restrictions on the amount of incoming and outgoing connections.                                           | 1.0.0 |\n| **`STAR`**           | <code>'star'</code>         | Peer-to-peer strategy that supports a 1-to-N, or star-shaped, connection topology. Restricts the discoverer to a single connection, while advertisers have no restrictions on amount of connections. | 1.0.0 |\n| **`POINT_TO_POINT`** | <code>'pointToPoint'</code> | Peer-to-peer strategy that supports a 1-to-1 connection topology. Restricts both adverisers and discoverers to a single connection.                                                                  | 1.0.0 |\n\n\n#### ConnectionType\n\n| Members              | Value                        | Description                                                                                  | Since |\n| -------------------- | ---------------------------- | -------------------------------------------------------------------------------------------- | ----- |\n| **`BALANCED`**       | <code>'balanced'</code>      | Nearby Connections will change the device's Wi-Fi or Bluetooth status only if necessary.     | 1.0.0 |\n| **`DISRUPTIVE`**     | <code>'disruptive'</code>    | Nearby Connections will change the device's Wi-Fi or Bluetooth status to enhance throughput. | 1.0.0 |\n| **`NON_DISRUPTIVE`** | <code>'nonDisruptive'</code> | Nearby Connections should not change the device's Wi-Fi or Bluetooth status.                 | 1.0.0 |\n\n\n#### PayloadType\n\n| Members      | Value                 | Description                                                                                                                                        | Since |\n| ------------ | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`BYTES`**  | <code>'bytes'</code>  | A <a href=\"#payload\">Payload</a> consisting of a single byte array.                                                                                | 1.0.0 |\n| **`FILE`**   | <code>'file'</code>   | A <a href=\"#payload\">Payload</a> representing a file on the device.                                                                                | 1.0.0 |\n| **`STREAM`** | <code>'stream'</code> | A <a href=\"#payload\">Payload</a> representing a real-time stream of data; e.g. generated data for which the total size is not known ahead of time. | 1.0.0 |\n\n\n#### PayloadTransferUpdateStatus\n\n| Members           | Value                     | Description                                                                  | Since |\n| ----------------- | ------------------------- | ---------------------------------------------------------------------------- | ----- |\n| **`SUCCESS`**     | <code>'success'</code>    | The remote endpoint has successfully received the full transfer.             | 1.0.0 |\n| **`CANCELED`**    | <code>'canceled'</code>   | Either the local or remote endpoint has canceled the transfer.               | 1.0.0 |\n| **`FAILURE`**     | <code>'failure'</code>    | The remote endpoint failed to receive the transfer.                          | 1.0.0 |\n| **`IN_PROGRESS`** | <code>'inProgress'</code> | The the transfer is currently in progress with an associated progress value. | 1.0.0 |\n\n\n#### BluetoothState\n\n| Members            | Value                       | Description                                                                                         | Since |\n| ------------------ | --------------------------- | --------------------------------------------------------------------------------------------------- | ----- |\n| **`UNKNOWN`**      | <code>'unknown'</code>      | The manager’s state is unknown.                                                                     | 1.0.0 |\n| **`RESETTING`**    | <code>'resetting'</code>    | A state that indicates the connection with the system service was momentarily lost.                 | 1.0.0 |\n| **`UNSUPPORTED`**  | <code>'unsupported'</code>  | A state that indicates this device doesn’t support the Bluetooth low energy central or client role. | 1.0.0 |\n| **`UNAUTHORIZED`** | <code>'unauthorized'</code> | A state that indicates the application isn’t authorized to use the Bluetooth low energy role.       | 1.0.0 |\n| **`POWERED_OFF`**  | <code>'poweredOff'</code>   | A state that indicates Bluetooth is currently powered off.                                          | 1.0.0 |\n| **`POWERED_ON`**   | <code>'poweredOn'</code>    | A state that indicates Bluetooth is currently powered on and available to use.                      | 1.0.0 |\n\n\n#### Status\n\n| Members                                     | Value                                                | Description                                                                                                                                                                                                                                                                                                    |\n| ------------------------------------------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **`OK`**                                    | <code>'OK'</code>                                    | The operation was successful.                                                                                                                                                                                                                                                                                  |\n| **`ERROR`**                                 | <code>'ERROR'</code>                                 | The operation failed, without any more information.                                                                                                                                                                                                                                                            |\n| **`NETWORK_NOT_CONNECTED`**                 | <code>'NETWORK_NOT_CONNECTED'</code>                 |                                                                                                                                                                                                                                                                                                                |\n| **`ALREADY_ADVERTISING`**                   | <code>'ALREADY_ADVERTISING'</code>                   | The app is already advertising; call `stopAdvertising()` before trying to advertise again.                                                                                                                                                                                                                     |\n| **`ALREADY_DISCOVERING`**                   | <code>'ALREADY_DISCOVERING'</code>                   | The app is already discovering the specified application ID; call `stopDiscovery()` before trying to advertise again.                                                                                                                                                                                          |\n| **`ALREADY_CONNECTED_TO_ENDPOINT`**         | <code>'ALREADY_CONNECTED_TO_ENDPOINT'</code>         | The app is already connected to the specified endpoint. Multiple connections to a remote endpoint cannot be maintained simultaneously.                                                                                                                                                                         |\n| **`CONNECTION_REJECTED`**                   | <code>'CONNECTION_REJECTED'</code>                   | The remote endpoint rejected the connection request.                                                                                                                                                                                                                                                           |\n| **`NOT_CONNECTED_TO_ENDPOINT`**             | <code>'NOT_CONNECTED_TO_ENDPOINT'</code>             | The remote endpoint is not connected; messages cannot be sent to it.                                                                                                                                                                                                                                           |\n| **`RADIO_ERROR`**                           | <code>'RADIO_ERROR'</code>                           | There was an error trying to use the phone's Bluetooth/WiFi/NFC capabilities.                                                                                                                                                                                                                                  |\n| **`ALREADY_HAVE_ACTIVE_STRATEGY`**          | <code>'ALREADY_HAVE_ACTIVE_STRATEGY'</code>          | The app already has active operations (advertising, discovering, or connected to other devices) with another <a href=\"#strategy\">`Strategy`</a>. Stop these operations on the current <a href=\"#strategy\">`Strategy`</a> before trying to advertise or discover with a new <a href=\"#strategy\">`Strategy`</a>. |\n| **`OUT_OF_ORDER_API_CALL`**                 | <code>'OUT_OF_ORDER_API_CALL'</code>                 | The app called an API method out of order (i.e. another method is expected to be called first).                                                                                                                                                                                                                |\n| **`UNSUPPORTED_PAYLOAD_TYPE_FOR_STRATEGY`** | <code>'UNSUPPORTED_PAYLOAD_TYPE_FOR_STRATEGY'</code> |                                                                                                                                                                                                                                                                                                                |\n| **`ENDPOINT_UNKNOWN`**                      | <code>'ENDPOINT_UNKNOWN'</code>                      | An attempt to interact with a remote endpoint failed because it's unknown to us -- it's either an endpoint that was never discovered, or an endpoint that never connected to us (both of which are indicative of bad input from the client app).                                                               |\n| **`ENDPOINT_IO_ERROR`**                     | <code>'ENDPOINT_IO_ERROR'</code>                     | An attempt to read from/write to a connected remote endpoint failed.                                                                                                                                                                                                                                           |\n| **`PAYLOAD_IO_ERROR`**                      | <code>'PAYLOAD_IO_ERROR'</code>                      | An attempt to read/write data for a <a href=\"#payload\">`Payload`</a> of type `FILE` or `STREAM` failed.                                                                                                                                                                                                        |\n| **`PAYLOAD_UNKNOWN`**                       | <code>'PAYLOAD_UNKNOWN'</code>                       |                                                                                                                                                                                                                                                                                                                |\n| **`ALREADY_LISTENING`**                     | <code>'ALREADY_LISTENING'</code>                     |                                                                                                                                                                                                                                                                                                                |\n| **`AUTH_ERROR`**                            | <code>'AUTH_ERROR'</code>                            |                                                                                                                                                                                                                                                                                                                |\n| **`ALREADY_IN_USE`**                        | <code>'ALREADY_IN_USE'</code>                        | This error indicates that Nearby Connections is already in use by some app, and thus is currently unavailable to the caller.                                                                                                                                                                                   |\n\n\n#### Quality\n\n| Members       | Value                  | Description                                                                                                                                                                                           | Since |\n| ------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`UNKNOWN`** | <code>'unknown'</code> |                                                                                                                                                                                                       |       |\n| **`LOW`**     | <code>'low'</code>     | The connection quality is poor (5KBps) and is not suitable for sending files. It's recommended you wait until the connection quality improves.                                                        | 1.0.0 |\n| **`MEDIUM`**  | <code>'medium'</code>  | The connection quality is ok (60~200KBps) and is suitable for sending small files. For large files, it's recommended you wait until the connection quality improves.                                  | 1.0.0 |\n| **`HIGH`**    | <code>'high'</code>    | The connection quality is good or great (6MBps~60MBps) and files can readily be sent. The connection quality cannot improve further but may still be impacted by environment or hardware limitations. | 1.0.0 |\n\n</docgen-api>\n","readmeFilename":"README.md"}