Android Notification add permission

This commit is contained in:
pengfei.zhou
2020-12-08 12:30:35 +08:00
committed by osborn
parent a355361f33
commit ac2a4121c2
4 changed files with 20 additions and 6 deletions

View File

@@ -5,12 +5,14 @@ export declare function notification(context: BridgeContext): {
name: string;
data?: object;
androidSystem?: boolean;
permission?: string;
}) => Promise<any>;
subscribe: (args: {
biz?: string | undefined;
name: string;
callback: (data?: any) => void;
androidSystem?: boolean | undefined;
permission?: string | undefined;
}) => Promise<string>;
unsubscribe: (subscribeId: string) => Promise<any>;
};