The expectation from user's is high that there is parity between the apps available on each platform, and, that targeting one platform over the other, does nothing more than leave an app out of reach of half of your potential users.
Aside from initial development costs, ongoing support costs add to this expense, locking in the need to have a team of developers skilled in each of the platforms for the lifetime of the application.
Cross-platform frameworks are considered the antidote to this problem.
Cross-platform frameworks seek to reduce the cost and the effort of implementing an application's UI & logic in two separate codebases, targeting two separate platforms, using their own, incompatible languages.
There have been a number of frameworks that have sought to tackle the problem of providing a flexible, powerful and highly usable cross-platform solution.
Microsoft threw themselves into the cross-platform market when they purchased Xamarin in 2016. Xamarin provides .Net developers a way to produce native applications while avoiding learning Swift, Kotlin or Java, and, instead, relying on familiar technologies such as C# and XAML. The two options Xamarin provides are Xamarin Native and Xamarin Forms, with Xamarin Forms aimed at reducing the amount of code duplication. While Xamarin Forms has achieved a solid measure on this goal, it is let down when the requirements of the app go beyond the most simple of user interfaces.
Flutter is an open-source platform, developed by Google and released at the end of 2018. It utilises the Dart programming language and a number of widgets, provided by the framework or via plugins, to create a reactive user interface rendered on top of the native platform's controls.
It's goal and the biggest selling point is its ability to produce native applications while sharing almost all user interface and application code across each platform. The benefits to achieving this has brought down the cost of mobile app development, increased velocity and reduced the time it takes to resolve issues for each platform the app targets.
By producing natively compiled code when built in release mode, Flutter allows apps to be submitted to each of the platform's app stores for distribution to to users, unlike apps developed using web technologies styled to look native, which often have restrictions publishing to Apple users.
Flutter supports a growing ecosystem of package plugins at their package repository http://pub.dev. Often open sourced & maintained by the community on GitHub, these plugins provide a way for developers to get up and running on their application with minimal effort. Common plugins provide access to underlying operating system features, such as communication via Http, location services, and other sensor services, and, also important functionality such as state management frameworks, MobX, redux etc.
Flutter provides a 'Stateful Hot Reload' feature which means a developer can push changes into a running application without needing to reload state and receive feedback within seconds. This speeds up the development of a feature and also increases the amount of experimentation that can be done in a short period of time. Flutter was recently ranked third most loved in StackOverflow's Other Frameworks, Libraries and Tools in their annual survey, with almost 69% of respondents saying they loved working with it - above React Native (58%), Xamarin (45%) and Cordova (28%). And, its use amongst developers is growing - 47% over the year to Q1 2021 according to the Flutter team, and 1 in 8 apps submitted to the Google Play Store in May were built with Flutter.
Flutter implements both Material Design (Android's design framework) and Cupertino (Apple) widgets and allow you to target the design system you wish. It's also customisable enough to re-style the application as you wish and create a bespoke design.
With the very latest Flutter release (version 2), in May 2020, Flutter can be deployed on a range of other operating systems as well, including Linux and Windows desktops, and to even build web applications such as Progressive Web Apps & Single Page Applications.
At Kiandra, we're using Flutter to develop a mobile application utilising location sensors and a Bluetooth OBD2 device to record trips and encourage safe driving within a fleet of professional drivers. The UI widgets provided by the framework have been versatile and flexible, allowing us to create a rich native experience for users featuring a mix of custom and traditional UI elements.
Initially, we're targeting iPhones. Yet the application has not required any code to be specifically written for the iOS platform. All the code that has been developed is ready to be deployed onto an Android device in the future. During development, both platforms have been used by the development team, depending on which devices and which platforms were most available and convenient to an individual developer.
With Google's and the community's continued support, it will no doubt remain to be a solid framework for rapid cross-platform application development.
Want to learn how these tools can help with your next project? Contact us.
At Kiandra, we recognise and acknowledge the pivotal role of performance testing in achieving this fine balance. In this blog, we will unravel what performance testing truly means at Kiandra and why it's a cornerstone of our development philosophy.
Kiandra are proud to announce that it has attained the status of Premier OutSystems Partner – the most important partnership status from the world’s leading enterprise low-code platform.
Kiandra has received the OutSystems Partner of the Year Award for the entire Australia New Zealand region. The custom software solutions provider was recognised at the ‘Top Partner of Australia and New Zealand’.
Whether you’re curious about custom software or have a specific problem to solve – we’re here to answer your questions. Fill in the following form, and we’ll be in touch soon.