diff --git a/local-notifications/README.md b/local-notifications/README.md index 6e62cf9ac..682411505 100644 --- a/local-notifications/README.md +++ b/local-notifications/README.md @@ -739,7 +739,7 @@ An action that can be taken when a notification is displayed. The importance level. For more details, see the [Android Developer Docs](https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT) -1 | 2 | 3 | 4 | 5 +0 | 1 | 2 | 3 | 4 | 5 #### Visibility diff --git a/local-notifications/src/definitions.ts b/local-notifications/src/definitions.ts index c79d1b90b..a2ef40d58 100644 --- a/local-notifications/src/definitions.ts +++ b/local-notifications/src/definitions.ts @@ -1127,7 +1127,7 @@ export enum Weekday { * The importance level. For more details, see the [Android Developer Docs](https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT) * @since 1.0.0 */ -export type Importance = 1 | 2 | 3 | 4 | 5; +export type Importance = 0 | 1 | 2 | 3 | 4 | 5; /** * The notification visibility. For more details, see the [Android Developer Docs](https://developer.android.com/reference/androidx/core/app/NotificationCompat#VISIBILITY_PRIVATE) diff --git a/push-notifications/README.md b/push-notifications/README.md index 8e6bfe6cf..9d1c29c87 100644 --- a/push-notifications/README.md +++ b/push-notifications/README.md @@ -575,7 +575,7 @@ Remove all native listeners for this plugin. The importance level. For more details, see the [Android Developer Docs](https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT) -1 | 2 | 3 | 4 | 5 +0 | 1 | 2 | 3 | 4 | 5 #### Visibility diff --git a/push-notifications/src/definitions.ts b/push-notifications/src/definitions.ts index 7cd11b460..433d3920a 100644 --- a/push-notifications/src/definitions.ts +++ b/push-notifications/src/definitions.ts @@ -410,7 +410,7 @@ export interface Channel { * The importance level. For more details, see the [Android Developer Docs](https://developer.android.com/reference/android/app/NotificationManager#IMPORTANCE_DEFAULT) * @since 1.0.0 */ -export type Importance = 1 | 2 | 3 | 4 | 5; +export type Importance = 0 | 1 | 2 | 3 | 4 | 5; /** * The notification visibility. For more details, see the [Android Developer Docs](https://developer.android.com/reference/androidx/core/app/NotificationCompat#VISIBILITY_PRIVATE)