Open amaitland opened 1 year ago
Android should now work (tested only in the emulator).
Android 9.0 execution failed(Chrome69)
Android 9.0 execution failed(Chrome69)
That's expected, the browser is too old for the JavaScript in it's current form. In theory a minimum of version Chromium 74
would be required currently.
I've changed the syntax slightly to lower the minimum required javascript
version.
I had this idea a while ago to use a
Proxy
in javascript to intercept method calls and dispatch them to.Net
usingPromises
to fulfil the method calls. This is a basic prototype of that idea, should be something that can be made to work on all supported platforms.Promise
that can beawaited
to obtain the result..Net
can now return aTask
that isawaited
and the result sent back tojavascript
.OnMessageReceived
was made protected as shouldn't be called directly by userStill lots of things I'd like to see added/supported
Net
method name conversion (should the conversion be done injavascript
or.Net
?)javascript
conventionWindows/Android Emulator
).API
.Worker Thread
?