Extended Device Information

Hi, I get the following error trying to access any of the function of the plugin:

Native: tried calling ExtendedDeviceInformation.memory, but the ExtendedDeviceInformation plugin is not installed.

please post the result of ionic cordova plugin list

ionic cordova plugin list
> cordova.cmd plugin ls
com-sarriaroman-photoviewer 1.2.2 "PhotoViewer"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-advanced-http 2.3.1 "Advanced HTTP plugin"
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-background-mode 0.7.3 "BackgroundMode"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-extended-device-information 2.2.0 "ExtendedDeviceInformation"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-opener2 2.2.1 "File Opener2"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-filechooser 1.2.0 "File Chooser"
cordova-plugin-filepath 1.5.6 "cordova-plugin-filepath"
cordova-plugin-foreground-service 1.1.3 "Cordova Foreground Service"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-printer 0.8.0 "Printer"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-toast 2.7.2 "Toast"
cordova-sqlite-storage 4.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
info.protonet.imageresizer 0.1.1 "Image Resizer"
uk.co.workingedge.cordova.plugin.sqliteporter 1.1.1 "sqlite porter"

What was the solution to this? I am having a similar issue on my Ionic v1 app using the cordova-plugin-deviceinformation - which also shows extended information. My plugin is there as well, not certain whats happening.

Follow this link :->

In the Ionic Capacitor plugin we can use Device API. It provides ID, information and battery information, language information.

import { Device } from '@capacitor/device';

const logDeviceInfo = async () => {
  const info = await Device.getInfo();

  console.log(info);
};

const logBatteryInfo = async () => {
  const info = await Device.getBatteryInfo();

  console.log(info);
};

For more details you can watch my tutorial at
//Ionic Angular Device API : How to get mobile ID, model, OS version, memory and battery status - YouTube