Skip to content

Introduction to Hybrid Mobile Apps

Published:

3 min read

What is a Hybrid Mobile App?

Hybrid application is a type of mobile application that uses browser window to display its interface.

A hybrid mobile application is built with HTML, CSS and JavaScript and is contained in a native wrapper so that it can be installed on a mobile device. This can be done without having to learn the native programming languages (e.g. Swift, Java).

It does mean that there is one codebase for all different platforms such iOS, and android.

This comes under the classification of types of mobile applications that consists of three types:

For example, an architecture of Hybrid Mobile application developed using Ionic Framework consists of two concepts that one must be familiar with ASAP: WebView & Apache Cordova.

What is a WebView?

Think it of as a browser that runs inside the scope of a mobile application using a framework such as Ionic that mimics the native UI. This browser implements code written in HTML, CSS and JavaScript.

The application on a specific mobile operating system runs via tool like Cordova. It provides APIs written in JavaScript to interact with Native features of mobile device such as access to camera or a microphone.

WebView communicates with Cordova’s APIs which then further communicates with mobile devices.

WebViews are so common these days that you can build desktop applications using Electron.

Why To Go Hybrid?

Before answering this question mysellf, I think you should read Myths around Hybrid Mobile Applications? written by Simon of Devdatic.com.

This will answer the question above and along with it, my POV is that if you already know web development and or have experience with frameworks like Angular, or React, opting for Hybrid mobile development is a good way to expand your skills and take leverage of your current coding skills. After all, I love creating stuff and for me this is a great start.

Alternatives

There are few alternates/frameworks available in the world of Hybrid Development. One of them is Ionic Framework and with its next release earlier this year, it provides better performance for the hybrid apps. It also has a huge and helpful community to help you out whenever you get stuck.

Other options which I haven’t tried yet but think are worth mentioning include compile-to-native frameworks like React Native and NativeScript.

Originally Published at Hackernoon.com


Previous Post
What is Ionic
Next Post
Remove node_modules Recursively

I'm a software developer and technical writer. On this blog, I share my learnings about both fields. Recently, I have begun exploring other topics, so don't be surprised if you find something new here.

Currently, working as a documentation lead at Expo.