async activate()
Sends an activation request for the user to accept. If the user has already given authorization for the current origin this method just configures the underlying communication channel.
Type
async activate(title?): boolean
Parameters
Name | Type | Description |
---|---|---|
title? | String | App name. |
Return Type
Boolean
- Indicating the result of the activation request.
Example
TypeScript
await provider.activate();
// true