nativescript-dna-deviceinfo
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32345
171