Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@danyalwe/capacitor-systeminfo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@danyalwe/capacitor-systeminfo

Get access to every info about the device software and hardware!

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Capacitor Plugin - SystemInfo

Get access to every info about the device software and hardware!

Supported Android version: 21+
Supported iOS version: Not supported
Supported Browsers: Chromium-based

Install

npm install @danyalwe/capacitor-systeminfo
npx cap sync

Todos

  • Improve documentation, add JSDoc strings
  • Add support for iOS
  • Add CPU usage

Supported methods

NameAndroidiOSWeb
getInfos
start
stop
addListener
removeAllListeners

Supported properties

SoftwareInfosAndroidiOSWeb
osName
osVersion
brandName
sdkVersion
sdkName
securityPatch
uiVersion
deviceID
boardName
bootloaderVersion
supportedABIs
HardwareInfosAndroidiOSWeb
manufacturer
features
totalCores
totalRAM
totalHDD
totalSD
modelID
modelCodeName
cpuModel
cpuCores
RuntimeInfosAndroidiOSWeb
usedRAM
usedHDD
usedSD

API

  • getInfos()
  • start()
  • stop()
  • addListener('runtimeChange', ...)
  • removeAllListeners()
  • Interfaces
  • Type Aliases

getInfos()

getInfos() => Promise<SystemInformations>

Returns: Promise<SystemInformations>


start()

start() => Promise<void>

stop()

stop() => Promise<void>

addListener('runtimeChange', ...)

addListener(eventName: 'runtimeChange', listenerFunc: (event: RuntimeInfos) => void) => Promise<PluginListenerHandle>
ParamType
eventName'runtimeChange'
listenerFunc(event: RuntimeInfos) => void

Returns: Promise<PluginListenerHandle>


removeAllListeners()

removeAllListeners() => Promise<void>

Interfaces

SoftwareInfos
PropType
osNamestring
osVersionstring
brandNamestring
sdkVersionnumber
sdkNamestring
securityPatchstring
uiVersionstring
deviceIDstring
boardNamestring
bootloaderVersionstring
supportedABIsstring[]
HardwareInfos
PropType
modelIDstring
modelCodeNamestring
cpuModelstring
cpuCores[number, number][]
totalSDnumber
totalHDDnumber
totalRAMnumber
totalCoresnumber
manufacturerstring
featuresFeatures[]
RuntimeInfos
PropType
usedRAMnumber
usedHDDnumber
usedSDnumber
PluginListenerHandle
PropType
remove() => Promise<void>

Type Aliases

SystemInformations

SoftwareInfos & HardwareInfos & RuntimeInfos

Features

'bluetooth' | 'bluetoothLowEnergy' | 'microphone' | 'speaker' | 'nfc' | 'camera' | 'gamepad' | 'gps' | 'touchscreen' | 'wifi' | 'fingerprint' | 'face' | 'ethernet'

Keywords

FAQs

Package last updated on 12 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc