Native iOS app and node.js

Is it possible to create my own ios application with node.js, and does anyone have any examples?

+63
ios native
May 05 '12 at 03:10
source share
8 answers

Iโ€™m constantly looking for this, and although many of these answers are completely correct, citing the fact that V8 is not compatible with iOS, it seems that launching a node-based environment in iOS is not so difficult.

The first option I discovered was called "Neunode" (not updated for a year). Here are some links links if you want more:




Nodelike / Node.app Project

Nodelike is the core structure of the Node.app project, whose goal is to implement a roughly Node.JS-compatible interface using JavaScriptCore.framework on iOS 7 and OS X Mavericks.

Example: interpreter

An example project that implements the Node.JS interpreter as an iOS application using the Nodelike structure.

Edit:

It is still "impractical for serious projects," but the update is for verification: https://github.com/node-app/Nodelike




Overall, the Node.app project looks promising, be sure to check out the website

+4
Jan 22 '14 at 22:09
source share

Yes! You can run Node applications on iOS devices. Node.JS fork JXcore has introduced the SpiderMonkey JavaScript engine in addition to Google V8. Source code repository available from Github

+3
Feb 26 '15 at 8:32
source share

No. But you can write your own applications in Javascript (this is the same language as Node - this is server-side javascript) using the Unity tool.

Also welcome to SO!

+1
May 05 '12 at
source share

No, you cannot create your own iOS application using Node.js. If you do not find a way to install Node.js, which will be very common and will require rooting your phone.

May I ask what are you trying to achieve? I could point you in the right direction. If you're just not interested in whether Node will work on iOS.

+1
May 05 '12 at 3:18 p.m.
source share

There is a relatively new project trying to archive this: http://nodeapp.org/

It is under active development and already supports most basic files and access to the file system.

+1
Dec 22 '13 at 14:21
source share

I must mention that you can compile node.js into arm-emu-arm mode and it runs on iOS without any problems. It can be โ€œhypotheticallyโ€ accepted in the Apple app store, but there are several hundred reasons why not a single person (not to mention the app store) will accept the node app.

0
Aug 22 '14 at 4:21
source share

As Nurai Altin noted, you can do this with JXcore and for Cordoba . Here's an article on this topic: Develop an iOS app with Node.js and Cordova .

This is a step-by-step process (compiling JXcore from sources, installing Apache Cordova, creating an application, etc.)

0
Mar 23 '15 at 16:50
source share

You cannot run the proper Node.js environment inside your own iOS application due to sandbox restrictions.

Having said that, there are several projects that allow you to embed / run Node.js applications in a native application (iOS / Android).

Perhaps this is the most popular project: http://jxcore.io/

This is an example of an iOS project that uses JXcore: https://github.com/jxcore/jxcore-ios-sample

0
Nov 16 '15 at 15:39
source share



All Articles