Skip to content

Commit

Permalink
fix(push): add missing Chanel options
Browse files Browse the repository at this point in the history
closes: #2712
  • Loading branch information
danielsogl committed Sep 18, 2018
1 parent 33e4392 commit 3ef9593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/@ionic-native/plugins/push/index.ts
Expand Up @@ -221,12 +221,15 @@ export interface PushOptions {
}

export type Priority = 1 | 2 | 3 | 4 | 5;
export type Visibility = 0 | 1 | -1;

export interface Channel {
id: string;
description: string;
importance: Priority;
sound?: string;
vibration?: boolean | number[];
visibility?: Visibility;
}

export type PushEvent = string;
Expand Down

0 comments on commit 3ef9593

Please sign in to comment.