{"_id":"@capawesome/capacitor-network","_rev":"6-fbc218ad99338b1864fb3ec088898eda","name":"@capawesome/capacitor-network","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"@capawesome/capacitor-network","version":"0.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-network@0.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"03fc7a8d0c652078bc0574fa733712403f4c5d09","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.0.1.tgz","fileCount":34,"integrity":"sha512-tamBoo3MmDPsGBmVPUvb7ElW/BFjv2jhM22x8mllYkDSYOOF8fFDQlgtPVjnOLoGIOlcCYR5GkUcOd449/3U4A==","signatures":[{"sig":"MEYCIQCoTwKI5kfUwU3hi32EIXcP6pL/vRr+9Ou4e3hTpyLfZAIhAMeaZ4BHei8FY9kT3ft57z9ENrotz1OpTkyiYkNDY1ba","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73137},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"e18228f8362b044cd453aba542fe8e0a02fd996f","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin to access network information.","directories":{},"_nodeVersion":"24.16.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-network_0.0.1_1783426832633_0.04316634404921604","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@capawesome/capacitor-network","version":"0.1.0","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-network@0.1.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"c35c5e3cca86bbc6d3407d27aa3e5306abdaab55","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.1.0.tgz","fileCount":34,"integrity":"sha512-UXtEmlYaMS/RjjAON8AvOJJUhWkBbf/yJHrKQGkQEoj58+l9BzzO7DlHWfBL83SKK4f4+hxYtH7guF7dgZ6bNQ==","signatures":[{"sig":"MEYCIQDcqYCfhfrm7hSA/exBDg4S6JQCwC5O7N0dA7vagDP5zgIhAIUy4tY0oRt5x/sRizZLrSmGfLj3JzrGAEkXj0Ure+pK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-network@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78193},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"1ce17b1fd14c43b2f1d5d3c2da82221e1d1dca37","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a2ecf171-ac27-4547-a6ab-a830ccbf351b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to access network information on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-network_0.1.0_1784015559403_0.36612453593979266","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@capawesome/capacitor-network","version":"0.1.1","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-network@0.1.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"2e6a270cc84fcbddcf17d1a3f918cb512f4401f1","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.1.1.tgz","fileCount":34,"integrity":"sha512-zTF9NsD9+0a126bpddIwjbnKoA9gDpiXZpZJQAOeGmO+Kpud9cg9Z+s44lgsPvtoQu806I8SP6tretPwCfrFpA==","signatures":[{"sig":"MEYCIQDAwJu2epTD1NlCxYEqh/fQOY2np44o3mcHGByNZhbivQIhANf47IBbuG29Wol8XHidIk8DNpm8uDjjTY4M5QIYFw1q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-network@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78202},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"3e61f4b412f9f3f512c21169bb135bbb23a67e6d","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a2ecf171-ac27-4547-a6ab-a830ccbf351b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to access network information on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-network_0.1.1_1784103006181_0.9129504177023147","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@capawesome/capacitor-network","version":"0.1.2","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-network@0.1.2","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"cba7dd568e116c6f09719b72442278bca1da1adf","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.1.2.tgz","fileCount":34,"integrity":"sha512-0eqMv7JNuOTS7+JqN1mMjgCGG3ORMbhhaM9jaKcm0yFWZgg+hDfrW1C6U517azrnKwk35msXNaSUg2DxfR6tIw==","signatures":[{"sig":"MEQCIHvunnzIP9nHZMN1CRPSV86hFFTpeJHopWaL4+cH/DZmAiA6b4fIpat8vw8A36Yg8OGrYNbeCywwD0AhbLNfpDuY2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-network@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":96545},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"40af89e5f753c58c237c6953d75458e0847fbef5","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a2ecf171-ac27-4547-a6ab-a830ccbf351b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to access network information on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-network_0.1.2_1786175171156_0.037445285427012864","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@capawesome/capacitor-network","version":"0.1.3","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-network@0.1.3","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"19a49892b9d6b9efdb402c72d441ac810abe6c61","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.1.3.tgz","fileCount":34,"integrity":"sha512-TlnT5iFIiMvkZaFg48HlEgMEijym/mzGbijaX/k/7VJIyrzhzzOQhYqZrOkwMINuhhFbHVJ9X5bnwnikc4uodg==","signatures":[{"sig":"MEYCIQCSNS0YX6uMlvnGc5Gz4uNrPpKZmViUDb+Rge6CUcKEzQIhAKeqWqeTrpze1yLJtzMOA31fCanjEpcuB2F5KzunM9At","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-network@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99673},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"6b2c67b229aae8db704c472dd0a9a48a794d02c0","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a2ecf171-ac27-4547-a6ab-a830ccbf351b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to access network information on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-network_0.1.3_1786256305319_0.3751421830058128","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"_id":"@capawesome/capacitor-network@0.1.4","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"4c2246a8d57b2fa7a75c87465bc731a6db8e2fb9","tarball":"https://registry.npmjs.org/@capawesome/capacitor-network/-/capacitor-network-0.1.4.tgz","fileCount":34,"integrity":"sha512-OnyM0zrWjBC3hV3MVXvEMQbG78YpQKrC1lEJo5s7D3g5CJNn+hTxaMWIZC65rFVgOt8d5RKVrgyqy6jbIzMwzg==","signatures":[{"sig":"MEUCIQCEtu1i5bp/WpQN5fp/HXyBP8Ttukk0n2h/2mDUiw4A1wIgEoLUTJaw7A1IEBSZGBUKoWK1yZxUJqxCaYelx5I6EJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDzAnyj09tuLxcjA6rBD43nRnfkCXeV2d2tCX7bECfFZAIgXUkeeuIbSBQaXOMXqD4Ib7fxg3JLVK+V/zXirqid2wI="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-network@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99529},"main":"dist/plugin.cjs.js","name":"@capawesome/capacitor-network","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"7c1937ed10b7de86ca2c1cdc3539a2735fd69a00","license":"MIT","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 NetworkPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"version":"0.1.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a2ecf171-ac27-4547-a6ab-a830ccbf351b"}},"homepage":"https://capawesome.io/docs/sdks/capacitor/network/","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.17.0","description":"Capacitor plugin to access network information on Android, iOS, and Web.","directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_nodeVersion":"24.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-network_0.1.4_1788337473960_0.5924564137169079"}}},"time":{"created":"2026-07-07T12:20:32.466Z","modified":"2026-09-02T08:24:35.021Z","0.0.1":"2026-07-07T12:20:32.771Z","0.1.0":"2026-07-14T07:52:39.546Z","0.1.1":"2026-07-15T08:10:06.320Z","0.1.2":"2026-08-08T07:46:11.313Z","0.1.3":"2026-08-09T06:18:25.458Z","0.1.4":"2026-09-02T08:24:34.052Z"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","homepage":"https://capawesome.io/docs/sdks/capacitor/network/","keywords":["capacitor","plugin","native","capacitor-plugin","network","network status","connection type","connectivity","internet connection","offline detection","airplane mode"],"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"description":"Capacitor plugin to access network information on Android, iOS, and Web.","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"readme":"# Capacitor Network Plugin\n\nCapacitor plugin to access network information.\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1\" />\n  </a>\n</div>\n\n## Features\n\nThe Capacitor Network plugin is one of the most complete network information solutions for Capacitor apps. Here are some of the key features:\n\n- 📶 **Network status**: Read whether the device is connected and how (Wi-Fi, cellular, ethernet, VPN).\n- 🌍 **Internet reachability**: Detect whether the connection has verified access to the internet (Android).\n- 💸 **Data saving & cost**: Detect whether the connection is constrained (Data Saver or Low Data Mode) or expensive (metered).\n- 🛰️ **Satellite networks**: Detect satellite transport on Android 15+ and ultra-constrained connections on iOS 26+.\n- ✈️ **Airplane mode**: Read whether the airplane mode is enabled (Android).\n- 👂 **Change events**: Listen for changes to the network status.\n- 🌐 **Web support**: Read the network status on the web.\n- 🤝 **Compatibility**: Works alongside the [Wifi](https://capawesome.io/docs/sdks/capacitor/wifi/) plugin.\n- 📦 **CocoaPods & SPM**: Supports CocoaPods and Swift Package Manager for iOS.\n- 🔁 **Up-to-date**: Always supports the latest Capacitor version.\n\nMissing a feature? Just [open an issue](https://github.com/capawesome-team/capacitor-plugins/issues) and we'll take a look!\n\n## Use Cases\n\nThe Network plugin is typically used whenever an app needs to react to the device's connectivity, for example:\n\n- **Offline detection**: Show an offline banner or disable network-dependent features when the connection is lost.\n- **Conditional downloads**: Only download large files when the device is connected via Wi-Fi instead of a cellular network.\n- **Reliable syncing**: On Android, check whether the connection has verified internet access before starting a sync, avoiding false positives caused by captive portals or VPNs.\n- **Airplane mode hints**: On Android, detect that airplane mode is enabled and inform the user why no connection is available.\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 0.x.x          | >=8.x.x           | Active support |\n\n## Guides\n\n- [How to Detect the Network Status in Capacitor](https://capawesome.io/blog/how-to-detect-the-network-status-in-a-capacitor-app/): Check the connection type, listen for changes, and handle offline and metered connections.\n- [How to Detect Satellite Networks in Capacitor](https://capawesome.io/blog/how-to-detect-satellite-networks-in-a-capacitor-app/): Detect satellite and ultra-constrained networks on Android 15+ and iOS 26 and adapt to limited bandwidth.\n\n## Installation\n\nYou can use our **AI-Assisted Setup** to install the plugin.\nAdd the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:\n\n```bash\nnpx skills add capawesome-team/skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```\n Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capawesome/capacitor-network` plugin in my project.\n```\n\nIf you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capawesome/capacitor-network\nnpx cap sync\n```\n\nOn **Android**, the plugin declares the [`ACCESS_NETWORK_STATE`](https://developer.android.com/reference/android/Manifest.permission#ACCESS_NETWORK_STATE) permission in its manifest, so no additional configuration is required.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Usage\n\nThe following examples show how to get the current network status, check whether airplane mode is enabled, and listen for changes to the network status.\n\n### Get the current network status\n\nRead whether the device is currently connected, the type of the connection (e.g. Wi-Fi or cellular) and, on Android, whether the connection has verified access to the internet:\n\n```typescript\nimport { Network } from '@capawesome/capacitor-network';\n\nconst getStatus = async () => {\n  const status = await Network.getStatus();\n  return status;\n};\n```\n\n### Detect satellite networks\n\nRead whether the device is connected via a satellite network. Only available on Android:\n\n```typescript\nimport { ConnectionType, Network } from '@capawesome/capacitor-network';\n\nconst isSatellite = async () => {\n  const { connectionType } = await Network.getStatus();\n  return connectionType === ConnectionType.Satellite;\n};\n```\n\nAndroid only uses constrained satellite networks for apps that identify themselves as optimized for them. If your app is optimized for extremely limited bandwidth and variable latency, add the following element to the `application` element in your `AndroidManifest.xml`:\n\n```xml\n<meta-data\n  android:name=\"android.telephony.PROPERTY_SATELLITE_DATA_OPTIMIZED\"\n  android:value=\"PACKAGE_NAME\"\n/>\n```\n\nReplace `PACKAGE_NAME` with your app's package name. This plugin does not add this element automatically, because each app must decide whether it is suitable for constrained satellite access. Push notifications must additionally be sent with the `bandwidth_constrained_ok` flag to be delivered on such a network. See [Constrained satellite networks](https://developer.android.com/develop/connectivity/satellite/constrained-networks) for more information.\n\nOn **iOS**, carrier-provided satellite connections are reported as `CELLULAR` with `ultraConstrained` set to `true`, because Apple does not expose satellite as a connection type.\n\n### Detect ultra-constrained networks\n\nRead whether the connection is severely limited in bandwidth, such as a carrier-provided satellite network. Only available on Android and iOS 26+:\n\n```typescript\nimport { Network } from '@capawesome/capacitor-network';\n\nconst isUltraConstrained = async () => {\n  const { ultraConstrained } = await Network.getStatus();\n  return ultraConstrained;\n};\n```\n\nOn **Android**, this is `true` on satellite networks and on networks that the system reports as bandwidth-constrained. Satellite networks are always reported as ultra-constrained, while bandwidth-constraint detection requires Android 16+ (API level 36) or [U Extensions](https://developer.android.com/guide/sdk-extensions) 16+, which can be present on eligible devices running Android 14 or later.\n\nOn **iOS**, detecting this state requires no entitlement. However, if your app wants to transfer data over such a network, it must allow this per request (see [`allowsUltraConstrainedNetworkAccess`](https://developer.apple.com/documentation/foundation/urlrequest/allowsultraconstrainednetworkaccess)) and may need the [`com.apple.developer.networking.carrier-constrained.appcategory`](https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.developer.networking.carrier-constrained.appcategory) entitlement to be allowed on all carriers. This plugin neither adds entitlements nor modifies your `URLSession` or `NWParameters` configuration. See [Configuring your app for ultra-constrained networks](https://developer.apple.com/documentation/bundleresources/configuring-your-app-for-ultra-constrained-networks) for more information.\n\n### Check whether airplane mode is enabled\n\nRead whether the airplane mode is currently enabled. Only available on Android:\n\n```typescript\nimport { Network } from '@capawesome/capacitor-network';\n\nconst isAirplaneModeEnabled = async () => {\n  const { enabled } = await Network.isAirplaneModeEnabled();\n  return enabled;\n};\n```\n\n### Listen for changes to the network status\n\nGet notified whenever the network status of the device changes. The device is only observed while at least one listener is attached:\n\n```typescript\nimport { Network } from '@capawesome/capacitor-network';\n\nconst addNetworkStatusChangeListener = async () => {\n  await Network.addListener('networkStatusChange', status => {\n    console.log('Network status changed:', status);\n  });\n};\n```\n\nWhen you no longer need updates, remove all listeners:\n\n```typescript\nimport { Network } from '@capawesome/capacitor-network';\n\nconst removeAllListeners = async () => {\n  await Network.removeAllListeners();\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getStatus()`](#getstatus)\n* [`isAirplaneModeEnabled()`](#isairplanemodeenabled)\n* [`addListener('networkStatusChange', ...)`](#addlistenernetworkstatuschange-)\n* [`removeAllListeners()`](#removealllisteners)\n* [Interfaces](#interfaces)\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### getStatus()\n\n```typescript\ngetStatus() => Promise<GetStatusResult>\n```\n\nGet the current network status of the device.\n\nOnly available on Android, iOS and Web.\n\n**Returns:** <code>Promise&lt;<a href=\"#getstatusresult\">GetStatusResult</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### isAirplaneModeEnabled()\n\n```typescript\nisAirplaneModeEnabled() => Promise<IsAirplaneModeEnabledResult>\n```\n\nGet whether the airplane mode is currently enabled.\n\nOnly available on Android.\n\n**Returns:** <code>Promise&lt;<a href=\"#isairplanemodeenabledresult\">IsAirplaneModeEnabledResult</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### addListener('networkStatusChange', ...)\n\n```typescript\naddListener(eventName: 'networkStatusChange', listenerFunc: (event: GetStatusResult) => void) => Promise<PluginListenerHandle>\n```\n\nListen for changes to the network status of the device.\n\nThe device is only observed while at least one listener is attached.\n\nOnly available on Android, iOS and Web.\n\n| Param              | Type                                                                            |\n| ------------------ | ------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'networkStatusChange'</code>                                              |\n| **`listenerFunc`** | <code>(event: <a href=\"#getstatusresult\">GetStatusResult</a>) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### removeAllListeners()\n\n```typescript\nremoveAllListeners() => Promise<void>\n```\n\nRemove all listeners for this plugin.\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetStatusResult\n\n| Prop                    | Type                                                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Since |\n| ----------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- |\n| **`connected`**         | <code>boolean</code>                                      | Whether the device is currently connected to a network.                                                                                                                                                                                                                                                                                                                                                                                                                              | 0.1.0 |\n| **`connectionType`**    | <code><a href=\"#connectiontype\">ConnectionType</a></code> | The type of the currently active network connection.                                                                                                                                                                                                                                                                                                                                                                                                                                 | 0.1.0 |\n| **`internetReachable`** | <code>boolean \\| null</code>                              | Whether the active network connection has verified access to the internet. This is `null` on platforms that cannot validate internet access (iOS and Web), where connectivity does not guarantee reachability. Only available on Android.                                                                                                                                                                                                                                            | 0.1.0 |\n| **`constrained`**       | <code>boolean \\| null</code>                              | Whether the active network connection is subject to data saving restrictions, such as Data Saver on Android or Low Data Mode on iOS. This is `false` if the device is not connected to a network and `null` on browsers that do not expose this information.                                                                                                                                                                                                                         | 0.1.2 |\n| **`expensive`**         | <code>boolean \\| null</code>                              | Whether the active network connection is considered expensive, for example a metered Wi-Fi or cellular network. This is `false` if the device is not connected to a network and `null` on platforms that cannot determine the cost of the connection (Web).                                                                                                                                                                                                                          | 0.1.2 |\n| **`ultraConstrained`**  | <code>boolean \\| null</code>                              | Whether the active network connection is severely limited in bandwidth, such as a carrier-provided satellite network. This is `false` if the device is not connected to a network and `null` on platforms that cannot determine this (Web and iOS below 26). On Android, satellite networks are always reported as ultra-constrained. Detecting other bandwidth-constrained networks requires Android 16+ (API level 36) or U Extensions 16+. Only available on Android and iOS 26+. | 0.1.2 |\n\n\n#### IsAirplaneModeEnabledResult\n\n| Prop          | Type                 | Description                                     | Since |\n| ------------- | -------------------- | ----------------------------------------------- | ----- |\n| **`enabled`** | <code>boolean</code> | Whether the airplane mode is currently enabled. | 0.1.0 |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n### Enums\n\n\n#### ConnectionType\n\n| Members         | Value                    | Description                                                                 | Since |\n| --------------- | ------------------------ | --------------------------------------------------------------------------- | ----- |\n| **`Cellular`**  | <code>'CELLULAR'</code>  | The device is connected via a cellular network.                             | 0.1.0 |\n| **`Ethernet`**  | <code>'ETHERNET'</code>  | The device is connected via a wired ethernet network.                       | 0.1.0 |\n| **`None`**      | <code>'NONE'</code>      | The device is not connected to any network.                                 | 0.1.0 |\n| **`Satellite`** | <code>'SATELLITE'</code> | The device is connected via a satellite network. Only available on Android. | 0.1.2 |\n| **`Unknown`**   | <code>'UNKNOWN'</code>   | The type of the network connection could not be determined.                 | 0.1.0 |\n| **`Vpn`**       | <code>'VPN'</code>       | The device is connected via a virtual private network (VPN).                | 0.1.0 |\n| **`Wifi`**      | <code>'WIFI'</code>      | The device is connected via a Wi-Fi network.                                | 0.1.0 |\n\n</docgen-api>\n\n## Network Information\n\nKeep the following platform differences in mind when accessing network information:\n\n- **Android**: The network status is read from the [`ConnectivityManager`](https://developer.android.com/reference/android/net/ConnectivityManager). The `internetReachable` property reflects the [`NET_CAPABILITY_VALIDATED`](https://developer.android.com/reference/android/net/NetworkCapabilities#NET_CAPABILITY_VALIDATED) capability, which fixes false positives when a VPN or captive portal is active.\n- **iOS**: The network status is read from the [`NWPathMonitor`](https://developer.apple.com/documentation/network/nwpathmonitor) of the Network framework. The `internetReachable` property is always `null` because iOS cannot distinguish validated internet access from mere connectivity. VPN connections are reported as `UNKNOWN`. The `isAirplaneModeEnabled()` method is not available because there is no public API for it.\n- **Web**: The network status is read from [`navigator.onLine`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine) and the [Network Information API](https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API) (where supported). The `internetReachable` property is always `null`. The `isAirplaneModeEnabled()` method is not available.\n\n## FAQ\n\n### How is this plugin different from other similar plugins?\n\nIt reports connectivity and the connection type (Wi-Fi, cellular, ethernet, or VPN) on Android, iOS, and the web, and on Android it adds verified internet reachability that avoids false positives from captive portals or VPNs, plus an airplane-mode check. You can read the status once or listen for change events, with the device observed only while a listener is attached, all through a fully typed API with typed connection-type enums. It supports both CocoaPods and Swift Package Manager on iOS, is honest about platform limits by returning `null` where reachability cannot be validated, and is actively maintained against the latest Capacitor and OS versions.\n\n### What is the difference between `connected` and `internetReachable`?\n\nThe `connected` property tells you whether the device is connected to any network, while `internetReachable` tells you whether that connection has verified access to the internet. A device can be connected to a network without actually reaching the internet, for example behind a captive portal or when a VPN is active. The `internetReachable` property is only available on Android, where it reflects the `NET_CAPABILITY_VALIDATED` capability of the connection.\n\n### Why is `internetReachable` always `null` on iOS and Web?\n\niOS and the Web platform cannot distinguish validated internet access from mere network connectivity, so the plugin returns `null` instead of a potentially misleading value. On these platforms, being connected to a network does not guarantee that the internet is reachable. See the [Network Information](#network-information) section for the platform-specific details.\n\n### What is the difference between the `SATELLITE` connection type and `ultraConstrained`?\n\nThe `SATELLITE` connection type tells you what the connection is, while `ultraConstrained` tells you that it is severely limited in bandwidth. Satellite is only reported as a connection type on Android, because iOS exposes this condition as a property of the connection instead. The two do not always match: a satellite network is not necessarily reported as bandwidth-constrained, and a bandwidth-constrained network is not necessarily a satellite network.\n\n### Can I check whether airplane mode is enabled on iOS or Web?\n\nNo, the `isAirplaneModeEnabled()` method is only available on Android. On iOS, there is no public API to read the airplane mode state, and the Web platform does not expose this information either.\n\n### Do I need any permissions to use this plugin?\n\nNo, the plugin works without any additional configuration. On Android, the plugin already declares the required `ACCESS_NETWORK_STATE` permission in its own manifest, see the [Installation](#installation) section.\n\n### Why is a VPN connection reported as `UNKNOWN` on iOS?\n\nOn iOS, the network status is read from the `NWPathMonitor` of the Network framework, and VPN connections are reported as `UNKNOWN`. The `VPN` connection type is only reported on platforms that can detect it, such as Android. See the [Network Information](#network-information) section for more platform differences.\n\n### Can I use this plugin with Ionic, React, Vue or Angular?\n\nYes, the plugin is framework-agnostic. It works in any Capacitor app regardless of the web framework, including Ionic with Angular, React, or Vue, as well as plain JavaScript projects.\n\n## Related Plugins\n\n- [Battery](https://capawesome.io/docs/sdks/capacitor/battery/): Access battery information of the device.\n- [Bluetooth Low Energy](https://capawesome.io/docs/sdks/capacitor/bluetooth-low-energy/): Communicate with Bluetooth Low Energy (BLE) devices in the central and peripheral role.\n- [NFC](https://capawesome.io/docs/sdks/capacitor/nfc/): Read, write, and emulate NFC tags with advanced features like HCE and raw command handling.\n- [Sim](https://capawesome.io/docs/sdks/capacitor/sim/): Read SIM card and carrier information.\n- [Wifi](https://capawesome.io/docs/sdks/capacitor/wifi/): Manage Wi-Fi connectivity, including adding, connecting, and disconnecting networks.\n\n## Newsletter\n\nStay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/network/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/network/LICENSE).\n","readmeFilename":"README.md"}