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

@totvs/mingle-ionic-device

Package Overview
Dependencies
Maintainers
24
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@totvs/mingle-ionic-device

Device Ionic package

  • 1.0.0-20200724.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
24
Created
Source

@TOTVS/MINGLE-IONIC-DEVICE

This Package get informations about the device.

Installation

Using npm: $ npm install --save @totvs/mingle-ionic-device

// using ES6 modules
import { DevicePlugin } from @totvs/mingle-ionic-device;

// using CommonJS modules
var devicePlugin = require('@totvs/mingle-ionic-device')

Usage

Create an instance of the DevicePlugin:

var devicePlugin = new DevicePlugin();

getDeviceInfos

This method is used to retrieve information about the device. The returned array contains the following fields:

  • CONTAINER_VERSION: Version of Cordova running on the device;
  • MANUFACTURER: Device's manufacturer;
  • MODEL: The model returns the name of the device's model or product. The value is set by the device manufacturer and may be different across versions of the same product;
  • PLATFORM: Device's operating system name (Android, Browser, iOS, Windows and OSX );
  • PLATFORM_VERSION: Operating system version
  • SERIAL: Hardware serial number;
  • UUID: Device's Universally Unique Identifier;
this.devicePlugin.getDeviceInfos();

getDeviceUUID

This method is used to retrieve the device's Universally Unique Identifier (UUID).

this.devicePlugin.getDeviceUUID();

FAQs

Package last updated on 24 Jul 2020

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