android&iOS:create context set this to undefined

This commit is contained in:
pengfei.zhou
2020-01-08 20:18:19 +08:00
committed by osborn
parent cdaebe46cd
commit 0087c5bda4
10 changed files with 67 additions and 5 deletions

View File

@@ -5,3 +5,4 @@ export * from './network';
export * from './storage';
export * from './popover';
export * from './animate';
export * from './notification';

View File

@@ -20,3 +20,4 @@ export * from './network';
export * from './storage';
export * from './popover';
export * from './animate';
export * from './notification';

View File

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