Android Notification add permission
This commit is contained in:
2
doric-js/lib/src/native/notification.d.ts
vendored
2
doric-js/lib/src/native/notification.d.ts
vendored
@@ -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>;
|
||||
};
|
||||
|
Reference in New Issue
Block a user