|Richard Harris in Programming Thursday, June 21, 2018|
Progress' mobile cross-platform development solution NativeScript is being updated to version 4.0 adding integrations with Vue.js, Angular.js, and more.
Angular Schematics Support / Streamlined Development Workflow
With NativeScript 4.0, Angular developers benefit from a reduced barrier to entry as NativeScript now provides official support for processes and tooling for building web and mobile apps with the Angular CLI, all from a single code base. This enables developers to add native mobile projects to existing Angular and web projects by reusing an existing code base. This also includes support for Angular Schematics, the workflow tool focused on ease of use and development, extensibility and reusability, atomicity and asynchronicity.
NativeScript also supports many commonly used advanced navigation scenarios to build truly native mobile workflows. Developers can use any view as the root of their applications. Previously, the root of the app was a frame which could be navigated using pages. Now developers have the flexibility to put a TabView or a RadSideDrawer as the root of the app.
LiveSync with Webpack
NativeScript developers can now enable LiveSync with Webpack simultaneously. This allows for better development experience as developers can Webpack an application as part of the development process. This will make identifying and addressing issues earlier in the development lifecycle, prior to going into release mode, easier.
Asset Generation/Updated Templates
While asset generation was previously a common problem for developers, the latest release of NativeScript is now able to generate icons and splash screens based on a single high-resolution image, as chosen by the developer. This saves time by eliminating the need for image editing.
In addition, as part of its integration with Progress Kinvey BaaS, NativeScript now provides a new template that makes authentication with different single sign-on providers easy. The best way to take advantage of the new template is through NativeScript Sidekick. Sidekick takes care of setting up the Kinvey BaaS configuration and provides a nice login view out-of-the-box. This and other NativeScript app templates are available now in the NativeScript Marketplace.
NativeScript has expanded functionality for Vue.js developers, empowering code sharing capabilities. This further enables developers to leverage their existing Vue.js skillset to create cross-platform applications.