This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-cli/assets-lib/lib/DemoPlugin.ts

10 lines
210 B
TypeScript
Raw Permalink Normal View History

2021-08-04 15:32:19 +08:00
import { BridgeContext } from "doric";
export function demoPlugin(context: BridgeContext) {
return {
call: () => {
return context.callNative("demoPlugin", "call") as Promise<string>;
},
};
}