-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling structured node scripts in folder #4
Comments
Hi @medopaw . |
Sorry for the incomplete information. I am following iOS
I want to take a step further and run a nodejs script file instead of calling The second thing is, in most cases the nodejs script file does not work alone. It comes in a folder and calls other scripts. I would greatly appreciate it if you can provide a sample doing that. Thank you in advance. |
Hi @medopaw , Thank you for the added information. A sample has been added to start node with a I hope this is helpful. |
The folder sample works great! Thank you so much. This is exactly what I want. And I'm sure it will help others who try to run nodejs scripts in a folder. |
I have a sample to know how to start node with a nodejs-project folder in Android(native-gradle)? |
Hi @luguodushi , There were plans for this sample, though it is not as simple as in the iOS case. The sample for Android has been added here: https://github.com/janeasystems/nodejs-mobile-samples/tree/master/android/native-gradle-node-folder I hope this is helpful. |
It works great and thank you. Can I use some 3rd modules like sqlite3, socket.io in nodejs-project?
|
Hi @luguodushi , Some modules contain native C++ code, which means they have to be compiled for the target OS / architecture. There is a experimental process to do it in the I've previously verified that sqlite3 works in Android when used with the plugins. Here's the issue tracking native modules in case you want to follow it: JaneaSystems/nodejs-mobile#4 (comment) |
I'm trying to get a node script run with no luck. The script calls other scripts in a structured folder. Where should I put the folder? Should I add it to project or copy it into Document folder on app?
Hope you can provide a sample doing that. Thanks.
The text was updated successfully, but these errors were encountered: