diff --git a/README.md b/README.md index 199cced2..a1dbe5e9 100644 --- a/README.md +++ b/README.md @@ -189,14 +189,14 @@ On load, Background Runner will automatically register a background task that will be scheduled and run once your app is backgrounded. -| Prop | Type | Description | Since | -| --------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | -| **`label`** | string | The name of the runner, used in logs. | 1.0.0 | -| **`src`** | string | The path to the runner JavaScript file, relative to the app bundle. | 1.0.0 | -| **`event`** | string | The name of the event that will be called when the OS executes the background task. | 1.0.0 | -| **`repeat`** | boolean | If background task should repeat based on the interval set in `interval`. | 1.0.0 | -| **`interval`** | number | The number of minutes after the the app is put into the background in which the background task should begin. If `repeat` is true, this also specifies the number of minutes between each execution. | 1.0.0 | -| **`autoStart`** | boolean | Automatically register and schedule background task on app load. | 1.0.0 | +| Prop | Type | Description | Since | +| --------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- | +| **`label`** | string | The name of the runner, used in logs. | 1.0.0 | +| **`src`** | string | The path to the runner JavaScript file, relative to the app bundle. | 1.0.0 | +| **`event`** | string | The name of the event that will be called when the OS executes the background task. | 1.0.0 | +| **`repeat`** | boolean | If background task should repeat based on the interval set in `interval`. | 1.0.0 | +| **`interval`** | number | The number of minutes after the app is put into the background in which the background task should begin. If `repeat` is true, this also specifies the number of minutes between each execution. | 1.0.0 | +| **`autoStart`** | boolean | Automatically register and schedule background task on app load. | 1.0.0 | ### Examples diff --git a/packages/capacitor-plugin/README.md b/packages/capacitor-plugin/README.md index 199cced2..a1dbe5e9 100644 --- a/packages/capacitor-plugin/README.md +++ b/packages/capacitor-plugin/README.md @@ -189,14 +189,14 @@ On load, Background Runner will automatically register a background task that will be scheduled and run once your app is backgrounded. -| Prop | Type | Description | Since | -| --------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- | -| **`label`** | string | The name of the runner, used in logs. | 1.0.0 | -| **`src`** | string | The path to the runner JavaScript file, relative to the app bundle. | 1.0.0 | -| **`event`** | string | The name of the event that will be called when the OS executes the background task. | 1.0.0 | -| **`repeat`** | boolean | If background task should repeat based on the interval set in `interval`. | 1.0.0 | -| **`interval`** | number | The number of minutes after the the app is put into the background in which the background task should begin. If `repeat` is true, this also specifies the number of minutes between each execution. | 1.0.0 | -| **`autoStart`** | boolean | Automatically register and schedule background task on app load. | 1.0.0 | +| Prop | Type | Description | Since | +| --------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- | +| **`label`** | string | The name of the runner, used in logs. | 1.0.0 | +| **`src`** | string | The path to the runner JavaScript file, relative to the app bundle. | 1.0.0 | +| **`event`** | string | The name of the event that will be called when the OS executes the background task. | 1.0.0 | +| **`repeat`** | boolean | If background task should repeat based on the interval set in `interval`. | 1.0.0 | +| **`interval`** | number | The number of minutes after the app is put into the background in which the background task should begin. If `repeat` is true, this also specifies the number of minutes between each execution. | 1.0.0 | +| **`autoStart`** | boolean | Automatically register and schedule background task on app load. | 1.0.0 | ### Examples diff --git a/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar b/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar index 0d48d324..0b3ab589 100644 Binary files a/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar and b/packages/capacitor-plugin/android/src/main/libs/android-js-engine-release.aar differ diff --git a/packages/capacitor-plugin/src/definitions.ts b/packages/capacitor-plugin/src/definitions.ts index 4e680345..7c0a3eb7 100644 --- a/packages/capacitor-plugin/src/definitions.ts +++ b/packages/capacitor-plugin/src/definitions.ts @@ -28,7 +28,7 @@ export interface BackgroundRunnerConfig { */ repeat: boolean; /** - * The number of minutes after the the app is put into the background in which the background task should begin. + * The number of minutes after the app is put into the background in which the background task should begin. * * If `repeat` is true, this also specifies the number of minutes between each execution. * @@ -80,7 +80,7 @@ declare module '@capacitor/cli' { */ repeat: boolean; /** - * The number of minutes after the the app is put into the background in which the background task should begin. + * The number of minutes after the app is put into the background in which the background task should begin. * * If `repeat` is true, this also specifies the number of minutes between each execution. *