JXCore not running on browser platform

230 Views Asked by At

I want a JXCore application that can run on android, ios and the browser platforms.

I have used the express sample project provided by JXCore and tested it on my android tablet without any problems. However when I run it on the browser platform, it doesn't seem to work. There are no errors but the output on the web page just says:

JXcore plugin: Device type is unkown. Defaulting to Android

Are there any additional configuration or plugins required for JXCore to run on the browser platform or is it not possible?

1

There are 1 best solutions below

4
karaxuna On

Cordova's "browser" platform just runs local nodejs server which hosts static files. Instead you can run nodejs server as hosted app and reach from browser.

You can see this jxcore cordova project which works without cordova too, just running jx www/jxcore/app.js command.