Sitemap
Friflex

Mobile and web development with the help of technological solutions

Cross-platform and native development of mobile apps

6 min readJan 14, 2022

--

There are more than five billion smartphones in the world. Out of them all, 85% operate on Android, and the other 15% — on iOS, according to IDC. One would think it’d be more profitable to simply develop a native app for Android. It’s not that simple, and it always hurts to lose a significant part of your audience.

To optimize the process and not create a separate app for each operational system, one could resort to cross-platform development. In its core lies the singular code and stack of technology.

Petr Chernyshev, the CEO of Friflex, a company that specializes in cross-platform apps, explains what these technologies can do for your business and why it’s better to choose Flutter.

Press enter or click to view image in full size
Photo: unsplash

What are cross-platform and native development?

PWA is a technology that transforms a website into a mobile app. PWA allows to open an app with the use of a mobile browser.

Native development allows creating an app for a single OS — an exclusive app for iOS, Android and the others. The development is restricted to native programming language of the OS in question. For example, iOS uses such languages as Swift/Objective-C, and Android uses Java/Kotlin. When you choose native development, you have to support at least two platforms separately. Native app will only work on its native platform. One code — one OS.

Cross-platform development is also referred to as multi-platform development. In this case you use a single coding base that will fit various OS, be that Android, iOS, Windows, macOS or Linux. The technology can even be applied to program smart-watch or household appliances.

The differences between multi-platform and native development

Native development quite obviously loses against multi-platform from position of financial expenses, as it requires doubling all the development processes. Differences in subject areas, coding bases and technological stacks lead to:

  • increase in programmer staff (different teams for Android and iOS);
  • increase in expenses to create two apps for each OC;
  • increase in expenses to support two apps.

When should one use multi-platform development?

Cross-platform frameworks have no restrictions on realizing functions in a mobile app. There are objective reasons to use cross-platform development:

  1. When you need to create an MVP quickly. When you create a minimum viable product (MVP) and test your hypothesis, cross-platform development is more economical and faster to realize.
  2. When your resources are restricted. With the use of cross-platform development you don’t need to create two teams of developers for different OS.

None of the above means that native development is always less expedient. There are cases when native development can be more preferable. In some, you should actively choose exactly that:

  1. When you need maximum performance from the app, without the use of intermediate libraries. That is only possible with native development.
  2. When you need to create an app of minimum size. Native development allows to achieve density.
  3. If the use of the newest functions of a platform is in priority for the app. In native languages, these appear exactly on the release date, in cross-platform languages it takes time.
Press enter or click to view image in full size

The best cross-platform frameworks for apps

Let’s examine four most popular cross-platform technologies and highlight their features.

  • Xamarin

This is a platform with open source that allows develop applications of high performance for iOS, Android and Windows with the use of .NET. Xamarin allows to use no less than 90% of the code of the app on different platforms without changes. One can code a business-logic on a single language and get interface, behavior and performance characteristics inherent for the required operational system.

  • React Native

It was developed by Facebook for such platforms as iOS, macOS, Apple tvOS, Android, Android TV, Web, Windows and UWP. This technology allows to work with the library of React out of browser to create native apps that have complete access to systemic API-platforms.

  • Kotlin Multiplatform Mobile

It allows to use a singular source for the logic of the subject area of Android and iOS apps. The code that is specific for a platform is only required in certain events (when you work with specific API-platforms or create unique user interface).

  • Flutter

This framework has been developed by Google and is subject to constant updates. As this technology uses a singular code for two OS, for the user its apps don’t differ from native ones. That way Flutter combines the benefits of both cross-platform and native approaches, which is already noted and valued by many large companies. Alibaba, Philips Hue, Hamilton, Tencent, Grab, Groupon, GC Dixy, Yandex.Drive and other worldwide and Russian companies made their choice in favor of this technology.

Press enter or click to view image in full size
Comparison of cross-platform frameworks, according to data on January 2021

The Friflex team has already tried and rated all these frameworks. Based on our vast experience, we’ve chosen Flutter that constantly evolves and offers new features to both the developer and the business.

Get Friflex’s stories in your inbox

Join Medium for free to get updates from this writer.

Google actively works on the framework and updates it: in March 2021, the company presented an updated version of Flutter 2. According to research conducted by Statista, in 2020 Flutter was used by 39% of developers worldwide, and in 2021 this number increased to 42%, moving Reach Native to the second place. This rise in popularity is explained by the high speed of code writing.

A poll on Stackoverflow forum showed that Flutter is in the Top-3 of developers’ favorite frameworks. Users of GitHub (the largest service for source code storage) also rated Flutter positively. Currently, the framework has 128 000 stars.

Press enter or click to view image in full size
Data from insights.stackoverflow.com

Advantages of cross-platform development for apps

High speed and low cost of cross-platform development are the advantages of it. Let’s look at these with the Flutter framework as an example:

  • as we’ve noted, multi-platform development is faster and more economical. The experience shows 40% time development economy, compared to native development;
  • the speed of Flutter is higher than that of other frameworks: its operating frequency — its screen refresh rate is close to 60 FPS (frames per second);
  • Flutter allows earlier access to the market with a completed product or with a minimum viable one;
  • economy regarding the programmer staff — you only need one team of developers;
  • high quality of the code thanks to scrupulous code review (code checking to ensure lack of errors and lacking architectural decisions). As the team of Flutter programmers works with a single code base, all its members are deeply immersed and knowledgeable on the project;
  • relatively simple scaling of the development in-house and through contractors. You can create a library component for apps of your brand;
  • no limits when it comes to creating functions and interface of an app;
  • low costs regarding error correction and app updates;
  • each programmer can familiarize themselves with the source code of Flutter and even add to its evolution;
  • Flutter uses its own highly productive rendering engine to draw widget without dependency on native elements;
  • there is no need to synchronize creation of Android- and iOS-apps and spend additional resources to manage the development. In native approach, development for one of the platforms usually goes faster;
  • Flutter has only one layer written with C/C++, which allows it to achieve performance close to native.

Google Trends confirms growing interest in the Flutter framework, as you can see at the comparison graph below.

Press enter or click to view image in full size
Data from trends.google.ru

Flutter is used by developers all over the world. Thanks to the reduction of code development time, increase of access to the market speed, performance, close to native and other advantages, there is no doubt that Flutter will continue to evolve and will dominate the market in the next decade.

Friflex LLC specializes in cross-platform mobile development and has implemented dozens of successful projects on the Flutter framework. We provide the best development approaches and we can help you develop an application from scratch.

--

--

Friflex
Friflex
Friflex
Friflex