MCPcopy Index your code
hub / github.com/NativeScript/capacitor / sendMessage

Method sendMessage

testing/browser.ts:133–139  ·  view source on GitHub ↗
(msg: any)

Source from the content-addressed store, hash-verified

131 }
132
133 sendMessage(msg: any) {
134 if (DEBUGGING) {
135 nativeLog('Send Message', JSON.stringify(msg));
136 }
137
138 NativeScriptCap.notify({ value: JSON.stringify(msg) });
139 }
140
141 receiveMessage(msg: any) {
142 if (DEBUGGING) {

Callers 3

constructorMethod · 0.95
marshallStringMethod · 0.95
marshallMethod · 0.95

Calls 2

nativeLogFunction · 0.85
notifyMethod · 0.65

Tested by

no test coverage detected