MCPcopy Create free account
hub / github.com/capawesome-team/capacitor-plugins / Init

Function Init

packages/nodejs/ios/PluginNative/bridge.cpp:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void Init(v8::Local<v8::Object> exports) {
211 NODE_SET_METHOD(exports, "sendMessage", Method_SendMessage);
212 NODE_SET_METHOD(exports, "registerChannel", Method_RegisterChannel);
213 NODE_SET_METHOD(exports, "getDataDir", Method_GetDataDir);
214}
215
216void capacitor_bridge_notify(const char* channelName, const char* message) {
217 size_t messageLength = strlen(message);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected