Closed konraddysput closed 5 years ago
Hi @konraddysput ,
npm install
is run before the application is built. The node_modules are included in the APK. Example:
cd app/src/main/assets/nodejs-project
npm install express
Can't be sure about every module you list. Best way would be to give it a try. Though you seem to have some modules there that I think are for desktop only, like electron
and screenshot-desktop
, which probably won't work on mobile.
The logs should output to Android logcat, which is the standard logging system for Android applications, which can be accessed either through the command line or Android Studio. I'd advise looking into using it. Here's some documentation that might be useful:
@jaimecbernardo Thanks for detailed information. Actually I run my express application. One more question - with express app working inside android application I will have performance problems?
btw.Thanks for you hard work!
Hi @konraddysput , That's good. Thanks for letting us know.
There are no specific issues we're aware of because of express. Please let us know if you spot unusual behavior.
Thank you!
@jaimecbernardo should we close this topic? I think I could help you with some sort of feedback about your framework after my beta tests of my application. Just let me know if you need my help.
It sounds good. Closing the issue. If you run into issues, please open an issue in the project's main repo. (This issue we are commenting on is in the samples repo) Thank you.
Hello,
I really try to run your application with my more complicated express application and I have few question:
I think Im not sure how to run npm install before application start. Can you pleas describe how I should run npm install before node {mainfile.js}?
Actually my application has a lot of packages. Here I have list of them:
My question is - can I run my express application with these package by using your framework? (or I shouldn't try...)
native-lib.cpp
, but can you describe where can I access logs from my application?Thanks a lot !