I'm struggling to get the correct format with 'execute snippet' in webview2 and would appreciate some suggestions.
I'm posting to an LRS system using xapi and this works fine from a webpage using the HTML5 object along with a list of Add String and Add Integer lines plus the Call Function 'send_statement'. The send_statement function is in the webpage.
However, I can't get it working using the webview2 object for android and exe etc.
I'm thinking it should be fairly simple provided I can get the format correct. Which I can't.
So first I use the webview object to load a URL with the js send_statement function in.
Then I execute a snippet in the webview object ="send_statement" with argument"XX"
I've tried numerous format for the "XX" but nothing has worked so far. Do I use Newlines or ; etc.
I'll also need to add strings, integers and Float parameters.
It would be great if someone has an example of something similar.