Skip to content

Commit 76ff28b

Browse files
authored
feat(intercom): Add new methods (#4914)
1 parent 4411b18 commit 76ff28b

File tree

1 file changed

+16
-0
lines changed
  • src/@awesome-cordova-plugins/plugins/intercom

1 file changed

+16
-0
lines changed

src/@awesome-cordova-plugins/plugins/intercom/index.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ export class Intercom extends AwesomeCordovaNativePlugin {
5858
return;
5959
}
6060

61+
/**
62+
* Determines if there is currently a user logged in.
63+
*/
64+
isUserLoggedIn(): Promise<boolean> {
65+
return;
66+
}
67+
68+
/**
69+
* Fetches the user attribtues of the currently logged in user.
70+
*
71+
* return A user registration object.
72+
*/
73+
fetchLoggedInUserAttributes(): Promise<any> {
74+
return;
75+
}
76+
6177
/**
6278
* Set `hash` string if you are using Identity Verification for your Intercom workspace.
6379
* @note This should be called before any user login takes place.

0 commit comments

Comments
 (0)