mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-01 20:32:55 +08:00
feat(intercom): Add new methods (#4914)
This commit is contained in:
parent
4411b182b0
commit
76ff28b08f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user