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

nativescript-dna-deviceinfo

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-dna-deviceinfo - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

package.json
{
"name": "nativescript-dna-deviceinfo",
"version": "1.1.0",
"version": "1.1.1",
"description": "NativeScript plugin to acquire device information.",

@@ -48,5 +48,5 @@ "main": "deviceinfo",

"Locale",
"CPU",
"Battery",
"Charging"
"CPU",
"Battery",
"Charging"
],

@@ -53,0 +53,0 @@ "author": {

@@ -141,5 +141,7 @@

console.log("System manufacturer: ", DeviceInfo.systemManufacturer());
console.log("Battery level: ", Math.round(DeviceInfo.batteryLevel()));
console.log("Is tablet: ", DeviceInfo.isTablet());
console.log("Is 24 hour: ", DeviceInfo.is24Hour());
console.log("Is emulator: ", DeviceInfo.isEmulator());
console.log("Is battery charing: ", DeviceInfo.isBatteryCharging());
}

@@ -161,5 +163,6 @@

## Changelogs:
- 1.0.0: First release
- 1.0.1: Minor document correction
- 1.0.0: First release.
- 1.0.1: Minor document correction.
- 1.1.0: New APIs related to battery charging status and its charge level.
- 1.1.1: Updated document.

@@ -166,0 +169,0 @@

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