mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Revert "chore(package): bump dependencies and lint rules"
This reverts commit 21ad4734fa.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name File Opener
|
||||
@@ -29,6 +29,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
})
|
||||
@Injectable()
|
||||
export class FileOpener extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Open an file
|
||||
* @param filePath {string} File Path
|
||||
@@ -40,9 +41,7 @@ export class FileOpener extends IonicNativePlugin {
|
||||
successName: 'success',
|
||||
errorName: 'error'
|
||||
})
|
||||
open(filePath: string, fileMIMEType: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
open(filePath: string, fileMIMEType: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Uninstalls a package
|
||||
@@ -54,9 +53,7 @@ export class FileOpener extends IonicNativePlugin {
|
||||
successName: 'success',
|
||||
errorName: 'error'
|
||||
})
|
||||
uninstall(packageId: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
uninstall(packageId: string): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Check if an app is already installed
|
||||
@@ -68,7 +65,6 @@ export class FileOpener extends IonicNativePlugin {
|
||||
successName: 'success',
|
||||
errorName: 'error'
|
||||
})
|
||||
appIsInstalled(packageId: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
appIsInstalled(packageId: string): Promise<any> { return; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user