feat(intercom): Add new methods (#4914)

This commit is contained in:
Maxim Belov 2025-03-10 19:20:48 +02:00 committed by GitHub
parent 4411b182b0
commit 76ff28b08f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,22 @@ export class Intercom extends AwesomeCordovaNativePlugin {
return;
}
/**
* Determines if there is currently a user logged in.
*/
isUserLoggedIn(): Promise<boolean> {
return;
}
/**
* Fetches the user attribtues of the currently logged in user.
*
* return A user registration object.
*/
fetchLoggedInUserAttributes(): Promise<any> {
return;
}
/**
* Set `hash` string if you are using Identity Verification for your Intercom workspace.
* @note This should be called before any user login takes place.