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

2
doric-js/index.d.ts vendored
View File

@@ -926,12 +926,14 @@ declare module 'doric/lib/src/native/notification' {
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>;
};