NativeScript 6.0 releases with Dark Theme, AppSync, TabView and much more.

NativeScript 6.0 is finally here. It released on 17th July and claims to make the life of NativeScript developers much easier. Let’s dig deeper into NativeScript 6.0 to find out if the claims are true.

NativeScript 6.0: An Overview

NativeScript is an open-source framework for building cross-platform native mobile applications. The focus of NativeScript 6.0 is to make developers’ work easier by shipping bug fixes, patches, and incremental releases immediately. Here are some main features of the latest NativeScript 6.0 release:

  • The primary driver of development in NativeScript 6.0 is now Webpack, ensuring almost zero downtime for the applications
  • Faster delivery of patches using NativeScript AppSync
  • In response to iOS 13 dark theme update releasing in October, NativeScript 6.0 now comes with a dark theme that will enable the software engineers to develop apps with a truly native experience
  • Support for AndroidX, Angular 8, VueJS libraries and iOS third party libraries

NativeScript 6.0 Features

To provide you with a detailed insight after its latest release, here is a list of new features of NativeScript 6.0. Our in-house NativeScript experts have been personally testing these features, some of them still in beta phase, over the past couple of weeks so that you get a first-hand account.

1. Developer Experience and Extensibility

NativeScript has always been the truly cross-platform development platform by enabling 100% code sharing between iOS and Android platforms. The latest NativeScript release now facilitates up to 70% code reuse between mobile and web and provides supports for PWAs (Progressive Web Apps).

With development experience, a priority, developers’ requests since the last release have been kept in mind during the upgradation to NativeScript 6.0. In the new release, hot module replacement (HMR) is always on. It can be combined innovatively with Webpack for an awesome development experience on any chosen architecture. HMR ensures that you do not need to down your application for small code tweaks.

2. Performance & Stability

NativeScript 6.0 release hinges on just one word – productivity. Because the developers have been demanding more features from the framework to ease their burden. All the new features like AppSync, font icon support, plug and play, TabView improvements, etc. takes the framework’s performance many notches up. NativeScript 6.0 allows faster development that is also stable for a longer period of time.

With a better-streamlined app approval process in place, go-to-market times for new apps can also be decreased drastically.

3. NativeScript AppSync

Widespread adoption of Agile and DevOps paradigms in managing software development means that shipping fixes and patches immediately is taken for granted. In case of mobile app development, it becomes even more imperative because there are many factors out of your control even after you have shipped the fixes. The fix would reach the end user only after it is approved by the app store and updated by the user, both of which usually take some time.
NativeScript AppSync enables the developers to ship the app fixes immediately. Also, AppSync can now force the user to update as soon as the app store approves.

4. Dark Theme

With Dark Theme gaining popularity due to the immersive experience that it provides its users, the Progress team was under pressure to provide support for it. With NativeScript 6.0 release they have achieved just that. Now just a few clicks are required to implement a dark theme in the apps if the platform supports it. The dark theme accompanying NativeScript 6.0 has all the typical features together with all the possible skins of Light Theme.

NativeScript 6.0 releases with Dark Theme

5. Plug and Play

The core theme is now fully plugged and play. No more setting the classes manually. The moment you install NativeScript and install a basic theme, all the standard components will automatically become more attractive. If you want to continue using your old set of customizations, you need not worry. It is totally up to you when you want to upgrade to NativeScript 6.0 and take advantage of its plug and play feature.

6. TabView

The TabView component has been almost rewritten in NativeScript 6.0 release. Again, if you want to continue using your older version, there will be no compatibility issues. However, the new TabView will allow you to customize all aspects of user experience in tab navigation.

7. Support for Angular 8 and the Ivy

NativeScript supports angular 8 and its rendering engine ivy. This will facilitate many aspects of development like improved file creations, better app performance, degreased compilation time. So now you can upgrade to the latest Angular version without worrying about the support from NativeScript.

8. Ability to consume third-party libraries in iOS

NativeScript now has the ability to use third-party libraries in iOS. This will enable developers to use these libraries to add cool features to their iOS applications.

9. Support for the Android X library

With the latest NativeScript release providing support for the AndroidX library, the developers can now use the latest Android ecosystem developments like Material Design Components.

10. Font Icons Support

Font icons have been used by mobile and web developers because of the flexibility and ease of use in working with images. They had always been supported by NativeScript but in a limited way, on only some special places like TabView, Action bar or images. NativeScript 6.0 now supports font icons everywhere. So, go ahead and include images anywhere you want using the font icons.

NativeScript 6.0 releases with Font Icons Support

11. Kendo Themes Support & Code Sharing

Saving development cycles and building the common sharable code base for mobile and web development is being adopted by more and more companies. The new release now enables you to reuse your Kendo themes originally developed for web applications on NativeScript. You can even use the Kendo theme builder to build new themes for your NativeScript applications.

What will be the impact on Mobile App Development?

We have discussed the many new features that have ruled out with the latest NativeScript at release. So, what do all these features actually mean for mobile app development ecosystem? Here is how these new features will impact NativeScript mobile app development ecosystem:

1. Shorter App Development Cycle

With 70% code reusability, complete integration with Webpack framework, and default HMR mode, app development cycles are expected to decrease considerably.

2. Rich User Experience

Full support for font icons, flexible TabView layouts, complete integration with Webpack framework and automatically switched on HMR mode will enable app developers to deliver rich user experience without any extra effort.

3. Lower App Development Cost

The two most important factors in any development costs are the time and resources required. As discussed just now, NativeScript 6.0 allows for shorter app development time and better ROI in the same effort. This will lower the app development cost for the companies.

4. Code Reusability

Now the developers can share almost 70% of codebase between web, mobile, and PWA applications. This code reusability will result in shorter app development cycles, reduced developer effort, more consistency in the interface and better ROI.

The Future of Building NativeScript Apps

Prior to the latest NativeScript release, NativeScript CLI supported two ways of generating the builds – the bundle workflow that used Webpack to integrate only those files in the bundle that is actually needed and the legacy workflow that copied every single file into the build. Needless to say, the legacy workflow generated bulky apps that were no match for the ever-changing mobile app development environment that grows faster each day.
Going forward, Native script 6.0 will be using only the bundle workflow to create sleek and fast applications that load faster and provide a better user experience. For you, this translates into:

  • Better and faster development cycles
  • Applications with amazing user engagement
  • Continuous bug fixes that ship immediately
  • Near zero application reload time between changes, providing a better development experience

Conclusion

With 100% integration to Webpack, default HMR mode on and full support for AndroidX, NativeScript seems set to change the React Native vs Flutter discourse in the mobile app development ecosystem.

NativeScript 6.0 also seems keen to increase its loyal fanbase and app developers are not wary of obliging. If you consider the features that NativeScript has set its eyes on for the next release, you will accept that it might be the framework of choice for mobile app development company in the future. These futuristic features are:

  • Intellisense support in Visual Studio Code Extension
  • LiveSync over Wi-fi
  • Solid unit-testing and e2e testing story
  • Improved automatic setup of the local environment