Paul Krill
Editor at Large

NativeScript 6.0 speeds up builds, app updates

news
Jul 18, 20192 mins

Update to the JavaScript framework for building native iOS and Android apps also boasts smaller app binaries

mobile enterprise apps
Credit: Thinkstock

NativeScript 6.0, the latest version of Progress’ open source framework for building native mobile apps with JavaScript, TypeScript, or Angular, is now generally available. The update provides for quicker app updates and smaller app binaries.

NativeScript 6.0 introduces the following capabilities and improvements:

  • Build speeds that are 30 percent faster for Android. Startup times for iOS are 10 percent faster.
  • The markingMode "none" option for garbage collection is now an officially supported option for the Android runtime. This can provide better app performance but some errors or crashes might occur due to premature collection of objects. Code must be written to ensure that no Java object is released while its JavaScript counterpart is still alive, and vice versa.
  • Flexible layouts have been added, such as TabView, giving users the ability to make more intricate layouts with less code.
  • Full integration with the webpack module bundler for all NativeScript apps, ensuring the best file size and performance for any chosen architecture.
  • Faster go-to-market for new app versions due to a streamlined store approval process.
  • Support for Angular 8 and the Ivy renderer.
  • A new dark theme is supported to coincide with the dark mode available in iOS 13.
  • The ability to consume third-party libraries in iOS.
  • Support for the Android X library.

NativeScript enables the development of apps using a single JavaScript codebase that can be shared across Apple’s iOS and Google’s Android mobile platforms. Progress claims 70 percent code reuse across web and mobile apps. NativeScript uses the built-in JavaScript virtual machines on iOS and Android to access the native UI elements and APIs on those platforms.

Progress has posted instructions on how to begin using NativeScript.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author