{"_id":"@capacitor-geckoview/device","_rev":"5-32cf14dc6ede6d079e04324b55515e69","name":"@capacitor-geckoview/device","dist-tags":{"latest":"8.6.0"},"versions":{"8.0.3":{"name":"@capacitor-geckoview/device","version":"8.0.3","keywords":["capacitor","plugin","native"],"author":{"name":"Ionic","email":"hi@ionicframework.com"},"license":"MIT","_id":"@capacitor-geckoview/device@8.0.3","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"32f4c6216f85aa38a2bf18d9284d5d5649de3cd5","tarball":"https://registry.npmjs.org/@capacitor-geckoview/device/-/device-8.0.3.tgz","fileCount":26,"integrity":"sha512-q3YTZ8jhZpyyqFcLOWRDk3GdGolDwfStYqExuk+Tg+9LnR0vkyhg7PGKKvCos77oeMvQ5dezhjAc5n2AlwAFRA==","signatures":[{"sig":"MEUCIEAyLqVk5NOqJFHkGHjlU5fLXE8KPnz5GMVgohB5PFNZAiEAr6S0bmOW47ennBS5YsXh59So8Jo1l3Nricb4x6WIqSg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103615},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"648f592a237ba5d53e0cf1801ef02985d6c43d80","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","test":"uvu -r tsm src/__tests__","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DevicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS","verify:web":"npm run build && npm test","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./CapacitorDevice.podspec --allow-warnings"},"_npmUser":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.12.1","description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","directories":{},"_nodeVersion":"24.15.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsm":"^2.3.0","uvu":"^0.5.6","eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@capacitor/android":"^8.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device_8.0.3_1788143879453_0.3902572429738542","host":"s3://npm-registry-packages-npm-production"}},"8.5.5":{"name":"@capacitor-geckoview/device","version":"8.5.5","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/device@8.5.5","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"45b9d4249088a3305ea68d8b30a6dd004c553b1d","tarball":"https://registry.npmjs.org/@capacitor-geckoview/device/-/device-8.5.5.tgz","fileCount":26,"integrity":"sha512-EYLScA8FIJ2ve/eBSUsZmv46OTj5imrUtlSNXLGBRcb5kA45VSmdQiTJ3VcOOiFtD8gaMOdBecGDmFNA1bqpaQ==","signatures":[{"sig":"MEQCID7QE9o4zJB93qmzkC+dovLw+NqtmFCoC0H2CoqJ6LlDAiBEqgQu684ZjzK2huIA+r3wZOifznTjmJVVPz6DFNd33A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fdevice@8.5.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103655},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"44a37174c9f879dc86995227caf8a98724b73f41","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","test":"uvu -r tsm src/__tests__","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DevicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS","verify:web":"npm run build && npm test","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./CapacitorDevice.podspec --allow-warnings"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a03df856-ea7e-4f41-b7ba-0e5150d6286c"}},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsm":"^2.3.0","uvu":"^0.5.6","eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device_8.5.5_1788530921393_0.8843448268538232","host":"s3://npm-registry-packages-npm-production"}},"8.5.6":{"name":"@capacitor-geckoview/device","version":"8.5.6","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/device@8.5.6","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"5526519916ee173659ae2f0edc2862066ae1fea3","tarball":"https://registry.npmjs.org/@capacitor-geckoview/device/-/device-8.5.6.tgz","fileCount":26,"integrity":"sha512-ui0oD1YwIMPbkJKZJDCoiEKG5grazMOKKhh6RbAsPStW2ABI9HKOvVPhMBaXSINOB/AKyqwFRZ8EhHsiqDEmuQ==","signatures":[{"sig":"MEQCIDkhUsSxhd9ekuEj4h2Og6N9ApUX2lR41vjcLCLaah37AiA9A9OSDCB99lkqjt6naZR9+F4eCxB5avZJG2zKEWnwOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fdevice@8.5.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103655},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"7b5d783b4736fa7ece909ce8d6f8360ba60b6868","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","test":"uvu -r tsm src/__tests__","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DevicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS","verify:web":"npm run build && npm test","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./CapacitorDevice.podspec --allow-warnings"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a03df856-ea7e-4f41-b7ba-0e5150d6286c"}},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsm":"^2.3.0","uvu":"^0.5.6","eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device_8.5.6_1788531314696_0.7490165648547775","host":"s3://npm-registry-packages-npm-production"}},"8.5.7":{"name":"@capacitor-geckoview/device","version":"8.5.7","keywords":["capacitor","plugin","native"],"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","_id":"@capacitor-geckoview/device@8.5.7","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"dist":{"shasum":"b4f821191918ef67b7d19826a40d4e32f26c6f92","tarball":"https://registry.npmjs.org/@capacitor-geckoview/device/-/device-8.5.7.tgz","fileCount":26,"integrity":"sha512-ZbmzA/nXJgkrm95FVI5Kz6BMgVdc+6WECCTXLXlqn6OF71G+SY4eXLksb/u0KlbZb3RLYkJd4KBudj/5AxK1Tw==","signatures":[{"sig":"MEYCIQCY4mm2zeZpSBRoGRaU7J9RsH2HklcfnpKDb38eZ51ihQIhAMu+yZZMEyb3BIa3mCZ1sQz9pYJfS+58qbPMwup0S5iG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fdevice@8.5.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":103655},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"8b5461b659b8d1788d8b7058a1dc6743c53c769c","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","test":"uvu -r tsm src/__tests__","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api DevicePlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS","verify:web":"npm run build && npm test","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","publish:cocoapod":"pod trunk push ./CapacitorDevice.podspec --allow-warnings"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a03df856-ea7e-4f41-b7ba-0e5150d6286c"}},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git","type":"git"},"_npmVersion":"11.19.0","description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","directories":{},"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsm":"^2.3.0","uvu":"^0.5.6","eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.9.3","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device_8.5.7_1788531701399_0.5760875462927166","host":"s3://npm-registry-packages-npm-production"}},"8.6.0":{"name":"@capacitor-geckoview/device","version":"8.6.0","description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git"},"bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"test":"uvu -r tsm src/__tests__","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build && npm test","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 DevicePlugin --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","publish:cocoapod":"pod trunk push ./CapacitorDevice.podspec --allow-warnings"},"devDependencies":{"@capacitor/core":"^8.0.0","@capacitor/docgen":"0.3.0","@capacitor/ios":"^8.0.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.1","prettier":"^3.6.2","prettier-plugin-java":"^2.7.7","rimraf":"^6.1.0","rollup":"^4.53.2","swiftlint":"^2.0.0","tsm":"^2.3.0","typescript":"^5.9.3","uvu":"^0.5.6","@capacitor-geckoview/android":"^8.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"publishConfig":{"access":"public"},"gitHead":"01d4ce279e0b0b0c55b1b392db3f9a1b4673052e","_id":"@capacitor-geckoview/device@8.6.0","homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-YUb7pcO5P7FkJ/kmfRkoxA6M9UlpfvCUr/mPVt+rKFsJdF6EvXzctEAHXzo066MDnZgrnplYwMxElZ0VzoitBA==","shasum":"243fc7360363efdc88a55759c0f1a21887f18b9e","tarball":"https://registry.npmjs.org/@capacitor-geckoview/device/-/device-8.6.0.tgz","fileCount":26,"unpackedSize":103655,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-geckoview%2fdevice@8.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFkEkJR9ma7M9lYnsISxcPbkfgKWTL2/JB4wmmgYQfGgIhAPt0mfd93FMhOdo9fYy/mNJcFCxSY5i0CYKOdKEUoWeX"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a03df856-ea7e-4f41-b7ba-0e5150d6286c"}},"directories":{},"maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/device_8.6.0_1788767268177_0.6548355444891809"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-31T02:37:59.322Z","modified":"2026-09-07T07:47:48.752Z","8.0.3":"2026-08-31T02:37:59.605Z","8.5.5":"2026-09-04T14:08:41.532Z","8.5.6":"2026-09-04T14:15:14.859Z","8.5.7":"2026-09-04T14:21:41.543Z","8.6.0":"2026-09-07T07:47:48.306Z"},"bugs":{"url":"https://github.com/wszgrcy/capacitor-geckoview-plugins/issues"},"author":{"name":"wszgrcy","email":"wszgrcy@gmail.com"},"license":"MIT","homepage":"https://github.com/wszgrcy/capacitor-geckoview-plugins#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/wszgrcy/capacitor-geckoview-plugins.git"},"description":"The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.","maintainers":[{"name":"wszgrcy","email":"wszgrcy@gmail.com"}],"readme":"# @capacitor/device\n\nThe Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.\n\n## Install\n\n```bash\nnpm install @capacitor/device\nnpx cap sync\n```\n\n## Example Plugin Usage\n\n```typescript\nimport { Device } from '@capacitor/device';\n\nconst logDeviceInfo = async () => {\n  const info = await Device.getInfo();\n\n  console.log(info);\n};\n\nconst logBatteryInfo = async () => {\n  const info = await Device.getBatteryInfo();\n\n  console.log(info);\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`getId()`](#getid)\n* [`getInfo()`](#getinfo)\n* [`getBatteryInfo()`](#getbatteryinfo)\n* [`getLanguageCode()`](#getlanguagecode)\n* [`getLanguageTag()`](#getlanguagetag)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getId()\n\n```typescript\ngetId() => Promise<DeviceId>\n```\n\nReturn an unique identifier for the device.\n\n**Returns:** <code>Promise&lt;<a href=\"#deviceid\">DeviceId</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### getInfo()\n\n```typescript\ngetInfo() => Promise<DeviceInfo>\n```\n\nReturn information about the underlying device/os/platform.\n\n**Returns:** <code>Promise&lt;<a href=\"#deviceinfo\">DeviceInfo</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### getBatteryInfo()\n\n```typescript\ngetBatteryInfo() => Promise<BatteryInfo>\n```\n\nReturn information about the battery.\n\n**Returns:** <code>Promise&lt;<a href=\"#batteryinfo\">BatteryInfo</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### getLanguageCode()\n\n```typescript\ngetLanguageCode() => Promise<GetLanguageCodeResult>\n```\n\nGet the device's current language locale code.\n\n**Returns:** <code>Promise&lt;<a href=\"#getlanguagecoderesult\">GetLanguageCodeResult</a>&gt;</code>\n\n**Since:** 1.0.0\n\n--------------------\n\n\n### getLanguageTag()\n\n```typescript\ngetLanguageTag() => Promise<LanguageTag>\n```\n\nGet the device's current language locale tag.\n\n**Returns:** <code>Promise&lt;<a href=\"#languagetag\">LanguageTag</a>&gt;</code>\n\n**Since:** 4.0.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### DeviceId\n\n| Prop             | Type                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Since |\n| ---------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`identifier`** | <code>string</code> | The identifier of the device as available to the app. This identifier may change on modern mobile platforms that only allow per-app install ids. On iOS, the identifier is a UUID that uniquely identifies a device to the app’s vendor ([read more](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor)). on Android 8+, __the identifier is a 64-bit number (expressed as a hexadecimal string)__, unique to each combination of app-signing key, user, and device ([read more](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID)). On web, a random identifier is generated and stored on localStorage for subsequent calls. If localStorage is not available a new random identifier will be generated on every call. | 1.0.0 |\n\n\n#### DeviceInfo\n\n| Prop                    | Type                                                        | Description                                                                                                                                                                                                                                                                                                                                      | Since |\n| ----------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- |\n| **`name`**              | <code>string</code>                                         | The name of the device. For example, \"John's iPhone\". This is only supported on iOS and Android 7.1 or above. On iOS 16+ this will return a generic device name without the appropriate [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name). | 1.0.0 |\n| **`model`**             | <code>string</code>                                         | The device model. For example, \"iPhone13,4\".                                                                                                                                                                                                                                                                                                     | 1.0.0 |\n| **`platform`**          | <code>'ios' \\| 'android' \\| 'web'</code>                    | The device platform (lowercase).                                                                                                                                                                                                                                                                                                                 | 1.0.0 |\n| **`operatingSystem`**   | <code><a href=\"#operatingsystem\">OperatingSystem</a></code> | The operating system of the device.                                                                                                                                                                                                                                                                                                              | 1.0.0 |\n| **`osVersion`**         | <code>string</code>                                         | The version of the device OS.                                                                                                                                                                                                                                                                                                                    | 1.0.0 |\n| **`iOSVersion`**        | <code>number</code>                                         | The iOS version number. Only available on iOS. Multi-part version numbers are crushed down into an integer padded to two-digits, ex: `\"16.3.1\"` -&gt; `160301`                                                                                                                                                                                   | 5.0.0 |\n| **`androidSDKVersion`** | <code>number</code>                                         | The Android SDK version number. Only available on Android.                                                                                                                                                                                                                                                                                       | 5.0.0 |\n| **`manufacturer`**      | <code>string</code>                                         | The manufacturer of the device.                                                                                                                                                                                                                                                                                                                  | 1.0.0 |\n| **`isVirtual`**         | <code>boolean</code>                                        | Whether the app is running in a simulator/emulator.                                                                                                                                                                                                                                                                                              | 1.0.0 |\n| **`memUsed`**           | <code>number</code>                                         | Approximate memory used by the current app, in bytes. Divide by 1048576 to get the number of MBs used.                                                                                                                                                                                                                                           | 1.0.0 |\n| **`webViewVersion`**    | <code>string</code>                                         | The web view browser version                                                                                                                                                                                                                                                                                                                     | 1.0.0 |\n\n\n#### BatteryInfo\n\n| Prop               | Type                 | Description                                                       | Since |\n| ------------------ | -------------------- | ----------------------------------------------------------------- | ----- |\n| **`batteryLevel`** | <code>number</code>  | A percentage (0 to 1) indicating how much the battery is charged. | 1.0.0 |\n| **`isCharging`**   | <code>boolean</code> | Whether the device is charging.                                   | 1.0.0 |\n\n\n#### GetLanguageCodeResult\n\n| Prop        | Type                | Description                  | Since |\n| ----------- | ------------------- | ---------------------------- | ----- |\n| **`value`** | <code>string</code> | Two character language code. | 1.0.0 |\n\n\n#### LanguageTag\n\n| Prop        | Type                | Description                                     | Since |\n| ----------- | ------------------- | ----------------------------------------------- | ----- |\n| **`value`** | <code>string</code> | Returns a well-formed IETF BCP 47 language tag. | 4.0.0 |\n\n\n### Type Aliases\n\n\n#### OperatingSystem\n\n<code>'ios' | 'android' | 'windows' | 'mac' | 'unknown'</code>\n\n</docgen-api>\n","readmeFilename":"README.md"}