We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a03c26 commit ba2919dCopy full SHA for ba2919d
README.md
@@ -314,8 +314,13 @@ It receives three parameters:
314
as the parameter. Pass null if no callback is needed.
315
316
```javascript
317
-window.kmpJsBridge.callNative = function (methodName, params, callback) {}
+window.kmpJsBridge.callNative = function (methodName, params, callback) {
318
+ ...
319
+}
320
+```
321
322
+Here is an example:
323
+```javascript
324
window.kmpJsBridge.callNative("Greet",JSON.stringify({message:"Hello"}),
325
function (data) {
326
document.getElementById("subtitle").innerText = data;
0 commit comments