From 0ca11a0b64239e11a760a001cb44e702f020a845 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 15:11:50 -0500 Subject: [PATCH] Removed extended-device-information - unmaintained --- .../extended-device-information/index.ts | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 src/@ionic-native/plugins/extended-device-information/index.ts diff --git a/src/@ionic-native/plugins/extended-device-information/index.ts b/src/@ionic-native/plugins/extended-device-information/index.ts deleted file mode 100644 index e0001db79..000000000 --- a/src/@ionic-native/plugins/extended-device-information/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Injectable } from '@angular/core'; -import { CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core'; - -/** - * @name Extended Device Information - * @description - * Retrieves additional device information from the Device Hardware - * - memory - * - cpumhz - * - totalstorage - * - freestorage - * - * @usage - * ```typescript - * import { ExtendedDeviceInformation } from '@ionic-native/extended-device-information/ngx'; - * - * - * constructor(private extendedDeviceInformation: ExtendedDeviceInformation) { } - * - * ... - * - * console.log('The Memory is: ' + this.extendedDeviceInformation.memory); - * ``` - */ -@Plugin({ - pluginName: 'ExtendedDeviceInformation', - plugin: 'cordova-plugin-extended-device-information', - pluginRef: 'extended-device-information', - repo: 'https://github.com/danielehrhardt/cordova-plugin-extended-device-information', - platforms: ['Android'], -}) -@Injectable() -export class ExtendedDeviceInformation extends IonicNativePlugin { - /** - * Get the device's memory size - */ - @CordovaProperty() - memory: number; - - /** - * Get the device's CPU mhz - */ - @CordovaProperty() - cpumhz: string; - - /** - * Get the total storage - */ - @CordovaProperty() - totalstorage: string; - - /** - * Get the total storage - */ - @CordovaProperty() - freestorage: number; -}