Ionic Framework 4 is almost here. Preview the beta docs and try it out now! Try Ionic 4 Beta

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/extended-device-information
    
  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