capacitor-event-bird 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/dist/docs.json +26 -0
- package/dist/esm/definitions.d.ts +6 -0
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +6 -0
- package/dist/esm/web.js +7 -0
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +7 -0
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +7 -0
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/CapacitorEventBirdPlugin/CapacitorEventBirdPlugin.swift +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,9 +15,11 @@ npx cap sync
|
|
|
15
15
|
|
|
16
16
|
* [`echo(...)`](#echo)
|
|
17
17
|
* [`logout()`](#logout)
|
|
18
|
+
* [`signupWithGoogle()`](#signupwithgoogle)
|
|
18
19
|
* [`waitlistAfterInit()`](#waitlistafterinit)
|
|
19
20
|
* [`openHelpModal()`](#openhelpmodal)
|
|
20
21
|
* [`getDeviceId()`](#getdeviceid)
|
|
22
|
+
* [`getFCMToken(...)`](#getfcmtoken)
|
|
21
23
|
|
|
22
24
|
</docgen-index>
|
|
23
25
|
|
|
@@ -48,6 +50,15 @@ logout() => Promise<void>
|
|
|
48
50
|
--------------------
|
|
49
51
|
|
|
50
52
|
|
|
53
|
+
### signupWithGoogle()
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
signupWithGoogle() => Promise<void>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
--------------------
|
|
60
|
+
|
|
61
|
+
|
|
51
62
|
### waitlistAfterInit()
|
|
52
63
|
|
|
53
64
|
```typescript
|
|
@@ -76,4 +87,19 @@ getDeviceId() => Promise<{ value: string; }>
|
|
|
76
87
|
|
|
77
88
|
--------------------
|
|
78
89
|
|
|
90
|
+
|
|
91
|
+
### getFCMToken(...)
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
getFCMToken(options: { value: string; }) => Promise<{ value: string; }>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
| Param | Type |
|
|
98
|
+
| ------------- | ------------------------------- |
|
|
99
|
+
| **`options`** | <code>{ value: string; }</code> |
|
|
100
|
+
|
|
101
|
+
**Returns:** <code>Promise<{ value: string; }></code>
|
|
102
|
+
|
|
103
|
+
--------------------
|
|
104
|
+
|
|
79
105
|
</docgen-api>
|
package/dist/docs.json
CHANGED
|
@@ -31,6 +31,16 @@
|
|
|
31
31
|
"complexTypes": [],
|
|
32
32
|
"slug": "logout"
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
"name": "signupWithGoogle",
|
|
36
|
+
"signature": "() => Promise<void>",
|
|
37
|
+
"parameters": [],
|
|
38
|
+
"returns": "Promise<void>",
|
|
39
|
+
"tags": [],
|
|
40
|
+
"docs": "",
|
|
41
|
+
"complexTypes": [],
|
|
42
|
+
"slug": "signupwithgoogle"
|
|
43
|
+
},
|
|
34
44
|
{
|
|
35
45
|
"name": "waitlistAfterInit",
|
|
36
46
|
"signature": "() => Promise<void>",
|
|
@@ -60,6 +70,22 @@
|
|
|
60
70
|
"docs": "",
|
|
61
71
|
"complexTypes": [],
|
|
62
72
|
"slug": "getdeviceid"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "getFCMToken",
|
|
76
|
+
"signature": "(options: { value: string; }) => Promise<{ value: string; }>",
|
|
77
|
+
"parameters": [
|
|
78
|
+
{
|
|
79
|
+
"name": "options",
|
|
80
|
+
"docs": "",
|
|
81
|
+
"type": "{ value: string; }"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"returns": "Promise<{ value: string; }>",
|
|
85
|
+
"tags": [],
|
|
86
|
+
"docs": "",
|
|
87
|
+
"complexTypes": [],
|
|
88
|
+
"slug": "getfcmtoken"
|
|
63
89
|
}
|
|
64
90
|
],
|
|
65
91
|
"properties": []
|
|
@@ -5,9 +5,15 @@ export interface CapacitorEventBirdPlugin {
|
|
|
5
5
|
value: string;
|
|
6
6
|
}>;
|
|
7
7
|
logout(): Promise<void>;
|
|
8
|
+
signupWithGoogle(): Promise<void>;
|
|
8
9
|
waitlistAfterInit(): Promise<void>;
|
|
9
10
|
openHelpModal(): Promise<void>;
|
|
10
11
|
getDeviceId(): Promise<{
|
|
11
12
|
value: string;
|
|
12
13
|
}>;
|
|
14
|
+
getFCMToken(options: {
|
|
15
|
+
value: string;
|
|
16
|
+
}): Promise<{
|
|
17
|
+
value: string;
|
|
18
|
+
}>;
|
|
13
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface CapacitorEventBirdPlugin {\n echo(options: { value: string }): Promise<{ value: string }>;\n logout(): Promise<void>;\n waitlistAfterInit(): Promise<void>\n openHelpModal(): Promise<void>\n getDeviceId(): Promise<{ value: string }>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface CapacitorEventBirdPlugin {\n echo(options: { value: string }): Promise<{ value: string }>;\n logout(): Promise<void>;\n signupWithGoogle(): Promise<void>;\n waitlistAfterInit(): Promise<void>\n openHelpModal(): Promise<void>\n getDeviceId(): Promise<{ value: string }>;\n getFCMToken(options: { value: string }): Promise<{ value: string }>;\n}\n"]}
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -6,7 +6,13 @@ export declare class CapacitorEventBirdWeb extends WebPlugin implements Capacito
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
value: string;
|
|
8
8
|
}>;
|
|
9
|
+
getFCMToken(options: {
|
|
10
|
+
value: string;
|
|
11
|
+
}): Promise<{
|
|
12
|
+
value: string;
|
|
13
|
+
}>;
|
|
9
14
|
logout(): Promise<void>;
|
|
15
|
+
signupWithGoogle(): Promise<void>;
|
|
10
16
|
openHelpModal(): Promise<void>;
|
|
11
17
|
waitlistAfterInit(): Promise<void>;
|
|
12
18
|
getDeviceId(): Promise<{
|
package/dist/esm/web.js
CHANGED
|
@@ -4,9 +4,16 @@ export class CapacitorEventBirdWeb extends WebPlugin {
|
|
|
4
4
|
console.log('ECHO', options);
|
|
5
5
|
return options;
|
|
6
6
|
}
|
|
7
|
+
async getFCMToken(options) {
|
|
8
|
+
console.log('getFCMToken', options);
|
|
9
|
+
return options;
|
|
10
|
+
}
|
|
7
11
|
async logout() {
|
|
8
12
|
console.log('logout in web isnt really needed it already works');
|
|
9
13
|
}
|
|
14
|
+
async signupWithGoogle() {
|
|
15
|
+
console.log('signupWithGoogle in web isnt really needed it already works');
|
|
16
|
+
}
|
|
10
17
|
async openHelpModal() {
|
|
11
18
|
console.log('openHelpModal in web isnt really needed it already works');
|
|
12
19
|
}
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,KAAK,CAAC,IAAI,CAAC,OAA0B;QACnC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,MAAM;QACV,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,aAAa;QACjB,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;IAC1E,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,WAAW;QACf,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;IAC1D,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type { CapacitorEventBirdPlugin } from './definitions';\n\nexport class CapacitorEventBirdWeb extends WebPlugin implements CapacitorEventBirdPlugin {\n async echo(options: { value: string }): Promise<{ value: string }> {\n console.log('ECHO', options);\n return options;\n }\n\n async logout(): Promise<void> {\n console.log('logout in web isnt really needed it already works');\n }\n\n async openHelpModal(): Promise<void> {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n\n async waitlistAfterInit(): Promise<void> {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n\n async getDeviceId(): Promise<{ value: string }> {\n return { value: 'ios device id is not needed for web' };\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,KAAK,CAAC,IAAI,CAAC,OAA0B;QACnC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7B,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,OAA0B;QAC1C,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,MAAM;QACV,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC,CAAC;IACnE,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,CAAC,GAAG,CAAC,6DAA6D,CAAC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,aAAa;QACjB,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC,CAAC;IAC1E,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC,CAAC;IAC9E,CAAC;IAED,KAAK,CAAC,WAAW;QACf,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE,CAAC;IAC1D,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type { CapacitorEventBirdPlugin } from './definitions';\n\nexport class CapacitorEventBirdWeb extends WebPlugin implements CapacitorEventBirdPlugin {\n async echo(options: { value: string }): Promise<{ value: string }> {\n console.log('ECHO', options);\n return options;\n }\n\n async getFCMToken(options: { value: string }): Promise<{ value: string }> {\n console.log('getFCMToken', options);\n return options;\n }\n\n async logout(): Promise<void> {\n console.log('logout in web isnt really needed it already works');\n }\n\n async signupWithGoogle(): Promise<void> {\n console.log('signupWithGoogle in web isnt really needed it already works');\n }\n\n async openHelpModal(): Promise<void> {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n\n async waitlistAfterInit(): Promise<void> {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n\n async getDeviceId(): Promise<{ value: string }> {\n return { value: 'ios device id is not needed for web' };\n }\n}\n"]}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -11,9 +11,16 @@ class CapacitorEventBirdWeb extends core.WebPlugin {
|
|
|
11
11
|
console.log('ECHO', options);
|
|
12
12
|
return options;
|
|
13
13
|
}
|
|
14
|
+
async getFCMToken(options) {
|
|
15
|
+
console.log('getFCMToken', options);
|
|
16
|
+
return options;
|
|
17
|
+
}
|
|
14
18
|
async logout() {
|
|
15
19
|
console.log('logout in web isnt really needed it already works');
|
|
16
20
|
}
|
|
21
|
+
async signupWithGoogle() {
|
|
22
|
+
console.log('signupWithGoogle in web isnt really needed it already works');
|
|
23
|
+
}
|
|
17
24
|
async openHelpModal() {
|
|
18
25
|
console.log('openHelpModal in web isnt really needed it already works');
|
|
19
26
|
}
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorEventBird = registerPlugin('CapacitorEventBird', {\n web: () => import('./web').then((m) => new m.CapacitorEventBirdWeb()),\n});\nexport * from './definitions';\nexport { CapacitorEventBird };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorEventBirdWeb extends WebPlugin {\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async logout() {\n console.log('logout in web isnt really needed it already works');\n }\n async openHelpModal() {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n async waitlistAfterInit() {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n async getDeviceId() {\n return { value: 'ios device id is not needed for web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,kBAAkB,GAAGA,mBAAc,CAAC,oBAAoB,EAAE;AAChE,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACzE,CAAC;;ACFM,MAAM,qBAAqB,SAASC,cAAS,CAAC;AACrD,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;AACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;AACpC,QAAQ,OAAO,OAAO;AACtB;AACA,IAAI,MAAM,MAAM,GAAG;AACnB,QAAQ,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC;AACxE;AACA,IAAI,MAAM,aAAa,GAAG;AAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC;AAC/E;AACA,IAAI,MAAM,iBAAiB,GAAG;AAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC;AACnF;AACA,IAAI,MAAM,WAAW,GAAG;AACxB,QAAQ,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE;AAC/D;AACA;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorEventBird = registerPlugin('CapacitorEventBird', {\n web: () => import('./web').then((m) => new m.CapacitorEventBirdWeb()),\n});\nexport * from './definitions';\nexport { CapacitorEventBird };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorEventBirdWeb extends WebPlugin {\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async getFCMToken(options) {\n console.log('getFCMToken', options);\n return options;\n }\n async logout() {\n console.log('logout in web isnt really needed it already works');\n }\n async signupWithGoogle() {\n console.log('signupWithGoogle in web isnt really needed it already works');\n }\n async openHelpModal() {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n async waitlistAfterInit() {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n async getDeviceId() {\n return { value: 'ios device id is not needed for web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,kBAAkB,GAAGA,mBAAc,CAAC,oBAAoB,EAAE;AAChE,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;AACzE,CAAC;;ACFM,MAAM,qBAAqB,SAASC,cAAS,CAAC;AACrD,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;AACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;AACpC,QAAQ,OAAO,OAAO;AACtB;AACA,IAAI,MAAM,WAAW,CAAC,OAAO,EAAE;AAC/B,QAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC;AAC3C,QAAQ,OAAO,OAAO;AACtB;AACA,IAAI,MAAM,MAAM,GAAG;AACnB,QAAQ,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC;AACxE;AACA,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,CAAC,GAAG,CAAC,6DAA6D,CAAC;AAClF;AACA,IAAI,MAAM,aAAa,GAAG;AAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC;AAC/E;AACA,IAAI,MAAM,iBAAiB,GAAG;AAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC;AACnF;AACA,IAAI,MAAM,WAAW,GAAG;AACxB,QAAQ,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE;AAC/D;AACA;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -10,9 +10,16 @@ var capacitorCapacitorEventBird = (function (exports, core) {
|
|
|
10
10
|
console.log('ECHO', options);
|
|
11
11
|
return options;
|
|
12
12
|
}
|
|
13
|
+
async getFCMToken(options) {
|
|
14
|
+
console.log('getFCMToken', options);
|
|
15
|
+
return options;
|
|
16
|
+
}
|
|
13
17
|
async logout() {
|
|
14
18
|
console.log('logout in web isnt really needed it already works');
|
|
15
19
|
}
|
|
20
|
+
async signupWithGoogle() {
|
|
21
|
+
console.log('signupWithGoogle in web isnt really needed it already works');
|
|
22
|
+
}
|
|
16
23
|
async openHelpModal() {
|
|
17
24
|
console.log('openHelpModal in web isnt really needed it already works');
|
|
18
25
|
}
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorEventBird = registerPlugin('CapacitorEventBird', {\n web: () => import('./web').then((m) => new m.CapacitorEventBirdWeb()),\n});\nexport * from './definitions';\nexport { CapacitorEventBird };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorEventBirdWeb extends WebPlugin {\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async logout() {\n console.log('logout in web isnt really needed it already works');\n }\n async openHelpModal() {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n async waitlistAfterInit() {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n async getDeviceId() {\n return { value: 'ios device id is not needed for web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,kBAAkB,GAAGA,mBAAc,CAAC,oBAAoB,EAAE;IAChE,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;IACzE,CAAC;;ICFM,MAAM,qBAAqB,SAASC,cAAS,CAAC;IACrD,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;IACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IACpC,QAAQ,OAAO,OAAO;IACtB;IACA,IAAI,MAAM,MAAM,GAAG;IACnB,QAAQ,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC;IACxE;IACA,IAAI,MAAM,aAAa,GAAG;IAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC;IAC/E;IACA,IAAI,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC;IACnF;IACA,IAAI,MAAM,WAAW,GAAG;IACxB,QAAQ,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC/D;IACA;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorEventBird = registerPlugin('CapacitorEventBird', {\n web: () => import('./web').then((m) => new m.CapacitorEventBirdWeb()),\n});\nexport * from './definitions';\nexport { CapacitorEventBird };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorEventBirdWeb extends WebPlugin {\n async echo(options) {\n console.log('ECHO', options);\n return options;\n }\n async getFCMToken(options) {\n console.log('getFCMToken', options);\n return options;\n }\n async logout() {\n console.log('logout in web isnt really needed it already works');\n }\n async signupWithGoogle() {\n console.log('signupWithGoogle in web isnt really needed it already works');\n }\n async openHelpModal() {\n console.log('openHelpModal in web isnt really needed it already works');\n }\n async waitlistAfterInit() {\n console.log('waitlistAfterInit in web isnt really needed it already works');\n }\n async getDeviceId() {\n return { value: 'ios device id is not needed for web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,kBAAkB,GAAGA,mBAAc,CAAC,oBAAoB,EAAE;IAChE,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,qBAAqB,EAAE,CAAC;IACzE,CAAC;;ICFM,MAAM,qBAAqB,SAASC,cAAS,CAAC;IACrD,IAAI,MAAM,IAAI,CAAC,OAAO,EAAE;IACxB,QAAQ,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IACpC,QAAQ,OAAO,OAAO;IACtB;IACA,IAAI,MAAM,WAAW,CAAC,OAAO,EAAE;IAC/B,QAAQ,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC;IAC3C,QAAQ,OAAO,OAAO;IACtB;IACA,IAAI,MAAM,MAAM,GAAG;IACnB,QAAQ,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC;IACxE;IACA,IAAI,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,OAAO,CAAC,GAAG,CAAC,6DAA6D,CAAC;IAClF;IACA,IAAI,MAAM,aAAa,GAAG;IAC1B,QAAQ,OAAO,CAAC,GAAG,CAAC,0DAA0D,CAAC;IAC/E;IACA,IAAI,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,8DAA8D,CAAC;IACnF;IACA,IAAI,MAAM,WAAW,GAAG;IACxB,QAAQ,OAAO,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC/D;IACA;;;;;;;;;;;;;;;"}
|
|
@@ -10,6 +10,7 @@ public class CapacitorEventBirdPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
10
10
|
CAPPluginMethod(name: "echo", returnType: CAPPluginReturnPromise),
|
|
11
11
|
CAPPluginMethod(name: "getFCMToken", returnType: CAPPluginReturnPromise),
|
|
12
12
|
CAPPluginMethod(name: "logout", returnType: CAPPluginReturnPromise),
|
|
13
|
+
CAPPluginMethod(name: "signupWithGoogle", returnType: CAPPluginReturnPromise),
|
|
13
14
|
CAPPluginMethod(name: "waitlistAfterInit", returnType: CAPPluginReturnPromise),
|
|
14
15
|
CAPPluginMethod(name: "openHelpModal", returnType: CAPPluginReturnPromise),
|
|
15
16
|
CAPPluginMethod(name: "getDeviceId", returnType: CAPPluginReturnPromise),
|
|
@@ -75,6 +76,11 @@ public class CapacitorEventBirdPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
75
76
|
call.resolve()
|
|
76
77
|
}
|
|
77
78
|
|
|
79
|
+
@objc func signupWithGoogle(_ call: CAPPluginCall) {
|
|
80
|
+
NotificationCenter.default.post(name: Notification.Name("CapacitorSignupWithGoogle"), object: nil)
|
|
81
|
+
call.resolve()
|
|
82
|
+
}
|
|
83
|
+
|
|
78
84
|
@objc func openHelpModal(_ call: CAPPluginCall) {
|
|
79
85
|
NotificationCenter.default.post(name: Notification.Name("HelpBeaconOpenEvent"), object: nil)
|
|
80
86
|
call.resolve()
|