Answer the question
In order to leave comments, you need to log in
How to pass String from Java to JS?
I am using JsBridge library to pass data from android activity to webview with js.
I am sending string via method
webView.send("Hi");
I/chromium: [INFO:CONSOLE(1)] "{"data":"Hi"}", source: file:///android_asset/demo.html (1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question