Closed adiamante closed 1 year ago
Is it Android or iOS? I doubt it will work on iOS as there are execution restrictions, though mono interpreter should work correctly. But we haven't tried it. Android also has different variants, some of the IL code in x86 emulators don't work but they work correctly on ARM devices.
I was using nox emulator with a Google Pixel 2 instance. Would that be x86?
@adiamante Can you try the solution mentioned on https://github.com/mono/mono/issues/21385 ?
@adiamante We have recently upgraded YantraJS to .NET 6 and some Bad IL code bugs were fixed, please use latest version and let us know if you are facing any issue.
@ackava Will give it a shot over the weekend.
HI @ackava I tried again and got the same error. Used the version 1.2.71 NuGet package.
Believe it or not, was just evaluating if I should use YantrajS instead of V8, but my project is on android with Xamarin. Any update on this?
Believe it or not, was just evaluating if I should use YantrajS instead of V8, but my project is on android with Xamarin. Any update on this?
Can you please provide GitHub repo to reproduce the error?
We have been able to successfully run YantraJS on Android on actual device. But we have only tested on 64bit emulators.
Can you confirm if it fails on actual device as well?
Sorry for the late reply. Got it working on an actual device. Thanks @ackava
I've moved on to .NET MAUI and tried the same example with the same emulator (Nox). Worrking fine now.
Hi I'm not sure if this library supports Xamarin but I tried the sample code
and got the following error