Where/When are you setting the webviewstring? Get the message from there in your app and use it to send a message ? Not quite sure why you are using a webviewer/javascript in this way, if you already have the message ?
I'm setting the webviewstring from a received text message. Then my javascript is setting it to the sp span. I want to run additional javascript code, then send a customized text message back.
Might be easier to call a fresh webpage when the message text is received, do you thing in the web page and return the custom message in the webviewstring.
Why not having your logic in App Inventor? Would be much easier...
I want to run javascript because I will be sending crypto tokens I make and I need to reference a client javascript library to do so. Is there a way to keep the logic in App Inventer or am I right for using javascript on a webviewer?