NFT Use Case: How to create a Pokémon marketplace using NFT
Karran Besen | Aug 17, 2022
Hybrid apps are a very controversial subject when it comes to mobile app development trends. This topic has been receiving a lot of attention in the past couple of years, but even so the technology has never been massively adopted by the market. This post will explain why we still don’t recommend them (in 90% of the cases).
The idea looks pretty good, at least on paper. The company can use their web developers and other more accessible assets instead of platform specialists. The development is faster and the web technology allows the application to be ported into various operating systems in no time.
Despite that beautiful concept, the real thing goes differently: in the past few years, some big companies, like Facebook and LinkedIn, dropped their hybrid versions because of critical tech issues.
LinkedIn, for instance, had memory problems on Android and iOS. Both their web engines use a lot of memory, much more than native code does. One WebView can easily consume more than 50 MB — and it’s common to see 100 MB+ usage — for a trivial UX implementation.
All the top mobile applications, nowadays, wouldn’t be able to follow the latest trends without the help of third-party open-source libraries (especially the ones hosted on GitHub). And those are mostly developed in native languages.
Although the hybrid platforms support plugins to interface with native code, it’s essential to customize those libraries — and even contribute to improve their source code — for your specific needs. And to do that, you’ve got to understand how they work – guess what? – in native code.
Bottomline is: if you want to develop a hybrid world-class app that follows up with the newest trends, you’ll also need to know how to code natively. Wanted to get rid of one or two languages? Now you got to work with five, at least!
Here are some examples of libraries that use native languages to implement trendy looks:
A modal view using UIDynamicAnimator, like the Path for iOS.
* * *
A morphing UILabel subclass written in Swift.
* * *
A custom animation for the UIRefreshControl.
* * *
A custom photo viewer that implements device motion scrolling.
* * *
A library that makes it very simple to create a window icon, similar to Facebooks chat icon.
* * *
In this report, only 23% of the developers answered that they used CPT (cross-platform tools) and 26% of those made an app for only one platform. It’s clear that these guys are most likely using the CPT to avoid learning the native platform rather than for building great applications with cost efficiency. It’s for their own comfort, not the user’s.
At Cheesecake, we don’t want to rule hybrid applications out of our toolbox. It’s just not the silver bullet, ready to replace native experience as some people are trying to sell it.
Hybrid apps will only succeed once (and if) the open-source community embraces them. Facebook is already leading a path towards this direction with the creation of React-Native, but, for now, you shouldn’t put all your chips on non-natives.
Giovanni writes content at Cheesecake Labs, top mobile app development company in Brazil. He enjoys creative actions by writing and expressing messages.
Natam Oliveira | Nov 02, 2021
Daniel Menezes | Nov 02, 2021