Skip to content

Commit 103d504

Browse files
committed
fix docs
1 parent 9f8d90f commit 103d504

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

app/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ Only available for Android.
211211

212212
--------------------
213213

214+
214215
### getAppLanguage()
215216

216217
```typescript
@@ -221,10 +222,11 @@ Get the app specific language locale code.
221222

222223
**Returns:** <code>Promise&lt;<a href="#applanguagecode">AppLanguageCode</a>&gt;</code>
223224

224-
**Since:** 6.0.0
225+
**Since:** 8.1.0
225226

226227
--------------------
227228

229+
228230
### toggleBackButtonHandler(...)
229231

230232
```typescript
@@ -243,6 +245,7 @@ Only available for Android.
243245

244246
--------------------
245247

248+
246249
### addListener('appStateChange', ...)
247250

248251
```typescript
@@ -439,18 +442,21 @@ Remove all native listeners for this plugin
439442
| --------- | ------------------- | ----------------------------- | ----- |
440443
| **`url`** | <code>string</code> | The url used to open the app. | 1.0.0 |
441444

445+
442446
#### AppLanguageCode
443447

444448
| Prop | Type | Description | Since |
445449
| ----------- | ------------------- | ------------------------------------- | ----- |
446-
| **`value`** | <code>string</code> | Two or Three character language code. | 5.1.0 |
450+
| **`value`** | <code>string</code> | Two or Three character language code. | 8.1.0 |
451+
447452

448453
#### ToggleBackButtonHandlerOptions
449454

450455
| Prop | Type | Description | Since |
451456
| ------------- | -------------------- | -------------------------------------------------------------------- | ----- |
452457
| **`enabled`** | <code>boolean</code> | Indicates whether to enable or disable default back button handling. | 7.1.0 |
453458

459+
454460
#### PluginListenerHandle
455461

456462
| Prop | Type |

app/src/definitions.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export interface AppLanguageCode {
162162
/**
163163
* Two or Three character language code.
164164
*
165-
* @since 5.1.0
165+
* @since 8.1.0
166166
*/
167167
value: string;
168168
}
@@ -211,10 +211,11 @@ export interface AppPlugin {
211211
/**
212212
* Get the app specific language locale code.
213213
*
214-
* @since 6.0.0
214+
* @since 8.1.0
215215
*/
216216
getAppLanguage(): Promise<AppLanguageCode>;
217217

218+
/**
218219
* Enables or disables the plugin's back button handling during runtime.
219220
*
220221
* Only available for Android.

0 commit comments

Comments
 (0)