chore(package): bump dependencies and lint rules

This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 7547a94c80
commit 21ad4734fa
178 changed files with 10565 additions and 4194 deletions
+18 -9
View File
@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Google Plus
@@ -23,13 +23,13 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
plugin: 'cordova-plugin-googleplus',
pluginRef: 'window.plugins.googleplus',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus',
install: 'ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid',
install:
'ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid',
installVariables: ['REVERSED_CLIENT_ID'],
platforms: ['Android', 'iOS']
})
@Injectable()
export class GooglePlus extends IonicNativePlugin {
/**
* The login function walks the user through the Google Auth process.
* @param options
@@ -39,7 +39,9 @@ export class GooglePlus extends IonicNativePlugin {
successIndex: 1,
errorIndex: 2
})
login(options?: any): Promise<any> { return; }
login(options?: any): Promise<any> {
return;
}
/**
* You can call trySilentLogin to check if they're already signed in to the app and sign them in silently if they are.
@@ -47,27 +49,34 @@ export class GooglePlus extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
trySilentLogin(options?: any): Promise<any> { return; }
trySilentLogin(options?: any): Promise<any> {
return;
}
/**
* This will clear the OAuth2 token.
* @returns {Promise<any>}
*/
@Cordova()
logout(): Promise<any> { return; }
logout(): Promise<any> {
return;
}
/**
* This will clear the OAuth2 token, forget which account was used to login, and disconnect that account from the app. This will require the user to allow the app access again next time they sign in. Be aware that this effect is not always instantaneous. It can take time to completely disconnect.
* @returns {Promise<any>}
*/
@Cordova()
disconnect(): Promise<any> { return; }
disconnect(): Promise<any> {
return;
}
/**
* This will retrieve the Android signing certificate fingerprint which is required in the Google Developer Console.
* @returns {Promise<any>}
*/
@Cordova()
getSigningCertificateFingerprint(): Promise<any> { return; }
getSigningCertificateFingerprint(): Promise<any> {
return;
}
}