1 | "use strict";
|
2 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7 | };
|
8 | var plugin_1 = require('./plugin');
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | var GooglePlus = (function () {
|
23 | function GooglePlus() {
|
24 | }
|
25 | |
26 |
|
27 |
|
28 |
|
29 |
|
30 | GooglePlus.login = function (options) { return; };
|
31 | |
32 |
|
33 |
|
34 |
|
35 |
|
36 | GooglePlus.trySilentLogin = function (options) { return; };
|
37 | |
38 |
|
39 |
|
40 |
|
41 | GooglePlus.logout = function () { return; };
|
42 | |
43 |
|
44 |
|
45 |
|
46 | GooglePlus.disconnect = function () { return; };
|
47 | __decorate([
|
48 | plugin_1.Cordova({
|
49 | successIndex: 1,
|
50 | errorIndex: 2
|
51 | })
|
52 | ], GooglePlus, "login", null);
|
53 | __decorate([
|
54 | plugin_1.Cordova()
|
55 | ], GooglePlus, "trySilentLogin", null);
|
56 | __decorate([
|
57 | plugin_1.Cordova()
|
58 | ], GooglePlus, "logout", null);
|
59 | __decorate([
|
60 | plugin_1.Cordova()
|
61 | ], GooglePlus, "disconnect", null);
|
62 | GooglePlus = __decorate([
|
63 | plugin_1.Plugin({
|
64 | pluginName: 'GooglePlus',
|
65 | plugin: 'cordova-plugin-googleplus',
|
66 | pluginRef: 'window.plugins.googleplus',
|
67 | repo: 'https://github.com/EddyVerbruggen/cordova-plugin-googleplus',
|
68 | platforms: ['Web', 'Android', 'iOS'],
|
69 | install: 'ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid'
|
70 | })
|
71 | ], GooglePlus);
|
72 | return GooglePlus;
|
73 | }());
|
74 | exports.GooglePlus = GooglePlus;
|
75 |
|
\ | No newline at end of file |