New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 3.7.2 to 3.7.3

20

deviceinfo.android.js

@@ -409,7 +409,17 @@ var DeviceInfo_1;

const Build = android.os.Build;
return Build.FINGERPRINT.startsWith("generic") || Build.FINGERPRINT.startsWith("unknown")
|| Build.MODEL.includes("google_sdk") || Build.MODEL.includes("Emulator")
|| Build.MODEL.includes("Android SDK built for x86") || Build.MANUFACTURER.includes("Genymotion")
|| (Build.BRAND.startsWith("generic") && Build.DEVICE.startsWith("generic"))
|| "google_sdk" === Build.PRODUCT;
return (Build.BRAND.startsWith("generic") && Build.DEVICE.startsWith("generic"))
|| Build.FINGERPRINT.startsWith("generic")
|| Build.FINGERPRINT.startsWith("unknown")
|| Build.HARDWARE.includes("goldfish")
|| Build.HARDWARE.includes("ranchu")
|| Build.MODEL.includes("google_sdk")
|| Build.MODEL.includes("Emulator")
|| Build.MODEL.includes("Android SDK built for x86")
|| Build.MANUFACTURER.includes("Genymotion")
|| Build.PRODUCT.includes("sdk_google")
|| Build.PRODUCT.includes("google_sdk")
|| Build.PRODUCT.includes("sdk")
|| Build.PRODUCT.includes("sdk_x86")
|| Build.PRODUCT.includes("vbox86p")
|| Build.PRODUCT.includes("emulator");
}

@@ -416,0 +426,0 @@ static isBatteryCharging() {

@@ -12,8 +12,8 @@ export interface NetworkProviderInterface {

export declare const jsonMccMnc: {
network: string;
country: string;
mcc: string;
mnc: string;
iso: string;
country: string;
country_code: string;
mnc: string;
network: string;
}[];
{
"name": "nativescript-dna-deviceinfo",
"version": "3.7.2",
"version": "3.7.3",
"description": "NativeScript plugin to acquire device information.",

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

@@ -8,5 +8,5 @@

The plugin offers cross-platform, utility, APIs to retrieve or query device-related information. The utility APIs are available for iOS and Android platforms.
The plugin offers cross-platform utility APIs to retrieve or query device-related information. The utility APIs are available for iOS and Android platforms.
Kindly visit [typescript demo](https://github.com/DeepakArora76/nativescript-dna-deviceinfo/tree/master/demo) or [js demo](https://github.com/DeepakArora76/JSDeviceInfoDemo.git) repository for practical implementation guidance and hints.
Kindly visit the [typescript demo](https://github.com/DeepakArora76/nativescript-dna-deviceinfo/tree/master/demo) or [js demo](https://github.com/DeepakArora76/JSDeviceInfoDemo.git) repository for practical implementation guidance and hints.

@@ -570,6 +570,7 @@ The [Changelogs](#Changelogs) section is located towards the end of the document.

## Changelogs:
- 3.7.2: Bumped up various packages version. Updated Apple mobile device types.
- 3.7.3: Updated Mobile Country Codes (MCC) and Mobile Network Codes (MNC) table. Improved the test for an emulator for the Android OS.
- 3.7.2: Bumped up various packages versions. Updated Apple mobile device types.
- 3.7.1: Reduced the package size.
- 3.7.0: Bumped up various packages version. Added APIs to set and get screen brightness level. Updated Apple mobile device types with iPad Pro 11 inch and 12.9 inch.
- 3.6.1: Switched to webpack 3.0.0 version due to some security warnings.
- 3.7.0: Bumped up various packages versions. Added APIs to set and get screen brightness levels. Updated Apple mobile device types with iPad Pro 11 inches and 12.9 inches.
- 3.6.1: Switched to the webpack 3.0.0 version due to some security warnings.
- 3.6.0: Introducing basic audio management APIs for Android and iOS. For Andriod, memory-related APIs are updated to use non-depreciated system APIs.

@@ -581,3 +582,3 @@ - 3.5.0: Fixed runtime errors related to "NativeClass is not defined" observed on NativeScript Version 7 apps. The fix will likely benefit iOS apps.

- 3.2.1: Updated Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names.
- 3.2.0: The API "userAgent" is modified to return Promise. iOS implementation of it uses WKWebView.
- 3.2.0: The API "userAgent" is modified to return Promise. iOS implementation uses WKWebView.
- 3.1.0: Tested on iOS devices, software version 14.2.1. Fixed issues around the API "deviceId" on iOS.

@@ -584,0 +585,0 @@ - 3.0.0: Upgraded to NativeScript 7.0 version. **Note**: The plugin is not tested on iOS and Android devices.

Sorry, the diff of this file is too big to display

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