Monday, April 15, 2013

Hybrid app pros and cons

Hi all,

I am an iOS native app developer but currently working on Hybrid mobile apps. I am relatively new to this tech and started learning about it.
There has been a lot of industry buzz going around about the advantages and disadvantages of the Hybrid Mobile App approach in relation to Mobile development. In this post, I define what a Hybrid Mobile App is, the pros and cons.

What is a Hybrid Mobile App?

Hybrid Apps run inside a native container and leverage the device’s browser engine to render the HTML and process the JavaScript locally. Meaning each platform such as iOS, Android, Windows Phone and Blackberry all have a unique code language that is used via SDKs to develop a native App. And along with this, each device has a built-in web browser that can be tapped into from inside any native App.
The native container wraps specific sections called web views which is what classifies the App a Hybrid.
Webtrends Hybrid Mobile App Development

Hybrid Mobile App Benefits

  • Faster time to market
  • HTML5 developers are typically easier to find and less expensive than native developers
  • A reduction in native coding usually results in more reusable code across platforms as the HTML5/JS/CSS code base can be utilized across platforms
  • Maintenance costs are usually lower
  • App approval submissions for updates can be dramatically minimized
The web-to-native abstraction layer enables access to device capabilities that are not accessible within mobile web applications, such as the accelerometer, camera and local storage.
Webtrends Hybrid Mobile App Development

Hybrid Mobile App Drawbacks

Facebook announced that they were going to move back from their Mobile Hybrid App to a full native App. Naturally this has stirred up speculation on whether the Hybrid approach  really is the best way to go and if HTML5 is ready. The feedback from the developer community was that Facebook wouldn’t have had to make this decision if they would have executed it properly and that many of the performance issues they were experiencing could have been avoided.
The top drawbacks to the Hybrid approach are:
  • Potential performance issues
  • HTML5 doesn’t work for everything
  • Apple tends to enforce tighter regulations on Hybrid Apps
  • Native frameworks can provide advanced functionality that cannot always be easily replicated on the HTML5/CSS/JS side
  • Decreased user experience for mobile web delivered content
  • Multi-platform wrapper requires native and mobile web technology know-how
  • App Store approval queues
These are some of the pros and cons what I read while I came across a lot of websites.

Personally what I felt was, if there was a competition between Native and Hybrid, the score would be (1, 0).

For example if a Birthday reminder app was developed in both Native and in Hybrid, as an end user I would choose the native app because of the good user experience, performance etc., instead of the Hybrid one. So Hybrid app kind of fails here. (fits for C2C where individual developers directly release their app in the market)

But at the same time, one of the clients asked us to create an app for iOS, Android, Windows and BB in minimum time. Getting resources with appropriate skill sets to develop across all these 4 different platforms in given time and associated costs are very high. So we recommended to go the Hybrid way instead of Native. Native app doesn’t seem a good fit here. (fits for B2B where an Enterprise develop app to another Enterprise)

As a conclusion, we have to look at the pros and cons of all the technologies before start developing the app. Please give your point of view regarding the pros and cons of Hybrid apps as comments. I am sure most of them reading this blog are smartphone users :)

Bye, till next
- Jeyabalaji.

References:
http://mobile.tutsplus.com/tutorials/mobile-web-apps/mobile-app-development-options-which-way-to-go/
http://www.slideshare.net/JohnMoy/a-dummies-guide-to-native-html5-and-hybrid-mobile-apps
http://blogs.webtrends.com/2012/10/hybrid-mobile-app-measurement/
http://www.investopedia.com/terms/c/ctoc.asp

4 comments:

  1. If the native parts of an application are changed to suit another OS, will they work on that OS?

    ReplyDelete
    Replies
    1. i didnt get your question. If we create an mobile app without any platform specific code, then it will work great on all mobiles depends on browser capabilities. If we use frameworks like Phonegap, which allows us to write native code, then we have to write platform specific native code for each and every platform. (separately for ios, android etc.)

      Delete
  2. Do you think a Groupon or Living Social type of app would be better as a native or hybrid type of app? Why do you think that? Thanks!!!

    ReplyDelete
    Replies
    1. For social type of app, i feel it should be Native. Because people has to download and install your app. Without good interaction and animation, people wont like the app. That will happen only in native apps than web apps.

      Delete