mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
This commit is contained in:
parent
e4dd8dcb89
commit
61293c33cc
@ -49,9 +49,7 @@ export class ProDeploy {
|
||||
* Check a channel for an available update
|
||||
* @return {Promise<string>} Resolves with 'true' or 'false', or rejects with an error.
|
||||
*/
|
||||
@CordovaInstance({
|
||||
observable: true
|
||||
})
|
||||
@CordovaInstance()
|
||||
check(): Promise<string> { return; }
|
||||
|
||||
/**
|
||||
@ -67,7 +65,9 @@ export class ProDeploy {
|
||||
* Unzip the latest downloaded version
|
||||
* @return {Observable<any>} Updates with percent completion, or errors with a message.
|
||||
*/
|
||||
@CordovaInstance()
|
||||
@CordovaInstance({
|
||||
observable: true
|
||||
})
|
||||
extract(): Observable<any> { return; }
|
||||
|
||||
/**
|
||||
@ -133,7 +133,7 @@ export class Pro extends IonicNativePlugin {
|
||||
/**
|
||||
* Ionic Pro Deploy .js API.
|
||||
*/
|
||||
deploy: ProDeploy = new ProDeploy(Pro.getPlugin().deploy);
|
||||
deploy: ProDeploy = new ProDeploy((Pro.getPlugin() || {}).deploy);
|
||||
|
||||
/**
|
||||
* Not yet implemented
|
||||
|
Loading…
Reference in New Issue
Block a user