Created
August 29, 2021 04:16
-
-
Save t4kemyh4nd/a6e5541f67ff4e102d9aaba078c11428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<script src='remote-server/jsBridge-mix.js'> //host the jsBridge-mix.js from resources directory | |
JsBridge.invoke("get_session_data", {}, function(a) { //the a variable will contain the response JSON object from the Java code | |
var i = {}; | |
i = a; | |
window.alert(JSON.stringify(i); | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment