Need help upgrading to Ionic Framework 4.0? Get assistance with our Enterprise Migration Services EXPLORE NOW

Extended Device Information

Improve this doc

Retrieves additional device information from the Device Hardware

Repo: https://github.com/danielehrhardt/cordova-plugin-extended-device-information

Installation

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add cordova-plugin-extended-device-information
    $ npm install --save @ionic-native/[email protected]
    
  2. Add this plugin to your app's module

Supported platforms

Usage

import { ExtendedDeviceInformation } from '@ionic-native/extended-device-information';


constructor(private extendedDeviceInformation: ExtendedDeviceInformation) { }

...

console.log('The Memory is: ' + this.extendedDeviceInformation.memory);

Instance Members

memory

Get the device’s memory size

cpumhz

Get the device’s CPU mhz

totalstorage

Get the total storage

freestorage

Get the total storage

API

Native

General