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 2.4.0 to 2.4.1

2

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

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

@@ -404,3 +404,4 @@

console.log("Is battery charing: ", DeviceInfo.isBatteryCharging());
console.log("Is Location service enabled: ", await DeviceInfo.isLocationEnabled() .catch(error => console.log(error)));
console.log("Is Location service enabled: ", await DeviceInfo.isLocationEnabled()
.catch(error => console.log(error)));
console.log("Is Bluetooth enabled: ", await DeviceInfo.isBluetoothEnabled()

@@ -442,6 +443,6 @@ .catch(error => console.log(error)));

- 2.4.0: Added an API to get location service state.
- 2.4.1: Updated documentation.
## License
MIT license (see LICENSE file)
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