Getting started
We have seen the fabulous work of MeteorJS in the browser front. Let's see how it supports mobile platforms. The MeteorJS team has put a huge effort to support mobile platforms with a single codebase. As we mentioned earlier, it uses Cordova to create builds for mobile platforms. This enables us to use PhoneGap utilities in our application. It is good to know about Cordova before getting into the crux of this section.
Cordova, actually Apache Cordova, is a mobile development framework. With Cordova, we can build mobile applications using HTML, CSS, and JavaScript. The bigger advantage is, we don't have to write code targeting each mobile platform. What does Cordova do to run the Web-related code in mobile devices? It provides a container to run the HTML, CSS, and JavaScript code. The container also helps you to access some of the native device functionalities such as GPS, accelerometer, camera, and so on. Those who have worked with Web views in a mobile platform will know...