Open ghost opened 5 years ago
We are working on it but I can suggest you a way to do that
First one
You can execute main.js
file using node
and can open index.html
in browser
Or you can use second option
You can use android emulator
and can debug via adb
Or you can use weinre
I executed main.js
but at which port can i debug it? 3000?
The documentation is a bit empty about that...
@Dazorn96 main.js is just your code. You must create a web-server, either your way (with express or others) or by existing ways (live-reload has the functionality). If you need the main.js code, for now, you need to regenerate app.
@Dazorn96 main.js is just your code. You must create a web-server, either your way (with express or others) or by existing ways (live-reload has the functionality). If you need the main.js code, for now, you need to regenerate app.
Oh, that's what i wanted to know! Thank you :) I think this should be inserted in the documentation of AndroidJS because is not so much clear.
One last question.. When i release the app as apk, i have to remove the web server section?
As the title suggests, a feature to reload the web-view(url) & "back-end"(main.js) files during development for debugging purposes