Skip to content

Commit b91b485

Browse files
authored
Update README.md (#360)
Add additional description for custom scopes in initialize
1 parent 6bda60c commit b91b485

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ const config: CapacitorConfig = {
225225

226226
export default config;
227227
```
228+
#### Note: scopes can be configured under <code><a href="#initialize">initialize</a></code> function.
228229

229230
## API
230231

@@ -301,11 +302,11 @@ Signs out the user and returns a Promise.
301302

302303
#### InitOptions
303304

304-
| Prop | Type | Description | Default | Since |
305-
| ------------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | ----- |
306-
| **`clientId`** | <code>string</code> | The app's client ID, found and created in the Google Developers Console. Common for Android or iOS. The default is defined in the configuration. | | 3.1.0 |
307-
| **`scopes`** | <code>string[]</code> | Specifies the scopes required for accessing Google APIs The default is defined in the configuration. | | |
308-
| **`grantOfflineAccess`** | <code>boolean</code> | Set if your application needs to refresh access tokens when the user is not present at the browser. In response use `serverAuthCode` key | <code>false</code> | 3.1.0 |
305+
| Prop | Type | Description | Default | Since |
306+
| ------------------------ | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | ---------- |
307+
| **`clientId`** | <code>string</code> | The app's client ID, found and created in the Google Developers Console. Common for Android or iOS. The default is defined in the configuration. | | 3.1.0 |
308+
| **`scopes`** | <code>string[]</code> | Specifies the scopes required for accessing Google APIs The default is defined in the configuration. | | 3.4.0-rc.4 |
309+
| **`grantOfflineAccess`** | <code>boolean</code> | Set if your application needs to refresh access tokens when the user is not present at the browser. In response use `serverAuthCode` key | <code>false</code> | 3.1.0 |
309310

310311

311312
#### User

0 commit comments

Comments
 (0)