integrating cordova with node js to build mobile applications - node.js

Are there any resources for integrating cordova with node-js to build mobile applications.
how to connect nodejs to cordova for building mobile app?

Cordova is for interfacing your mobile app's client with that of the OS. Nodejs is a server-side technology. You can build both components separately... Your cordova mobile app (or native mobile app, or whatever), i.e., The Client will talk with your nodejs server, i.e., The Server.
If you've built cordova apps before, just continue as is, or if you're new, checkout some bootstrap packages like those for Sencha or Ionic or any of the million other frameworks, or start building your own app from scratch (though it's a little tough to get everything in your head sometimes)

Related

How to create a browser instance (pupeeteer) with firebase and use it in my app (node.js)?

I created a firebase project. This communicates with a mobile application (node.js). As part of this project I want to use pupeeteer.
I have no problem launching functions using pupeeteer in firebase.
The problem is that I want to make the user perform actions. So I have to display the web page (pupeeteer) in the application via a browser generated by the server (with a firebase function?)?
However I have no idea how to launch a browser instance in the background and close it at the end of processing?
Can you help me ? Is this the right solution?
I want to use this :
This library does 2 things:
Download the chromium binaries and launch a Chromium process.
Connect to this process with Websocket and send json commands to control the browser.
Due to limitations on mobile platforms (iOS and Android), it is not possible to launch an external Chromium process on iOS and Android. So, step 1) does not work on mobile.
You can still use puppeteer-dart on Flutter either with:
Flutter on Desktop (macOS, windows, Linux)
Flutter on mobile BUT with the actual Chrome instance running on a server and accessed from the mobile app using puppeteer.connect
The pub.dev website reports that this library works with Android and iOS. The supported platform list is detected automatically and can't be manually modified to express the current limitations

Does Ionic and React Native apps run on node server in Android and iOS devices?

I am confused how hybrid apps work on Android and iOS devices. Do they install local node or webpack server? And for each hybrid app there is its own server? So how actually these apps work?
I am new in Ionic app development. I just built a simple ionic app and install its apk on my Android phone but i am getting this:
Webpage not available
The webpageat http://localhost:8100/ could not be loaded because:
net::ERR_CONNECTION_REFUSED
And a popup with following content:
Application Error
net::ERR_CONNECTION_REFUSED (http://localhost:8100/)
Thanks
Ionic and React Native are two very different things.
Ionic generates a hybrid app. This is a native app but the native app is just a shell with a mini-webserver and a webview control. Your app is served by the mini-webserver and runs in the webview control. Basically it is still a webapp and not a true native app. See this article for more details.
The above is true for all variants of Ionic: Angular, React and Vue.
React Native generates a true native app. There is no webserver or webview control involved.
This article describes the differences in more detail.

Deploy NodeJs Express App on Windows and Linux Server

I am developing a small project which contains few applications:
A node.js rest API
A node.js app that use socket.io.
A static app that server html js file to the client.
I am also using a MongoDb.
In few weeks, I'll have to deploy this app in production and I have some requirements that the app should be installed on windows and Linux server (Don't really know if it really matters).
I had a look at some tooling :
StrongLoop Process Manager
PM2
Forever
But cannot really find out if these tools are up to date or if there are better alternative in 2016 ?
Here are what seem to be the recommended ways that I've found:
Windows: iis-node (and this vid is helpful to get that going). Also note you'll need IIS 8x to support websockets.
Linux: PM2 to manage the process, and nginx for proxy server. This article has helpful step-by-step for Ubuntu.

HTML5 as desktop application using MEAN : Do I have to have full NODE install?

I'm interested in an HTML5 desktop application using MEAN stack. Do I have to install NODE or is there a compact edition that I can contain only in the application to act with Express as the application only web server?
My desktop of choice is Windows, don't know if that makes any difference.

Is it possible to run an Appcelerator Titanium applicatin in web browser like Flex?

Is it possible to share code between mobile and web versions of an application created with Appcelerator Titanium? I want to create a mobile application but I also want my users accessing the app using desktop Internet browser, like Flex application can be run in Flash Player or AIR. Is it possible to share code between mobile and web versions of the app?
Thanks,
Michal
There is a beta or pre release version of a web sdk that will support that functionality. Will try and track down the link, certain it can be found on the Appcelerator developer blog

Resources