NativeScript Adds LiveSync with Webpack
Written by Kay Ewbank   
Friday, 01 June 2018

The new release of NativeScript has the ability to enable LiveSync with Webpack simultaneously. Other improvements in  NativeScript 4.1 include more flexible frame composition and an enterprise authentication template for handling single sign-on.


natives

 

NativeScript is a system that allows you to write native apps for the web, Android, iOS and Windows Phone using JavaScript. The language is standard JavaScript that has been extended with some clever middleware that allows you to call functions in the native API.

The addition of support for simultaneous enabling of LiveSync with Webpack is aimed provide a better developer experience and will allow you to Webpack your application as part of the development process. Support for Webpack for Angular 2 projects was added in version 2.2 in recognition of its increasing use by Angular developers.

The new release has also improved the flexibility of frame composition, with more freedom on where to use the Frame view, and the ability to use more than one frame in an app. This allows the use of secondary navigation with frames, when the top level navigation is TabView or RadSideDrawer. However, the developers say that having multiple frames in Angular is still not stable.

A new template that handles authentication with different single sign-on providers has also been added to the new release, and the templates have all been upgraded so that you can now see and select template flavors (Angular, TypeScript, JavaScript) for each template:

nativetemp

 

The enterprise authentication template comes as part of the integration of NativeScript with Kinvey, another product from Progress. The developers say that the best way to take advantage of the new template is to use it via NativeScript Sidekick. Sidekick has templates, verified plugins, cloud builds, and debugging that can be used to work in NativeScript using your own preferred IDE and tooling.

Another improvement means that you can now open your NativeScript application in Android Studio and debug it as a native Android project. This will be helpful when you want to investigate a problem in the NativeScript Android runtime or you want to use some of the native tools in Android Studio like Profiling.

 

natives 

More Information

NativeScript Website

Related Articles

 NativeScript - to rule them all?

LokiJS Reaches 1.4

JavaScript For Native Apps 

NativeScript 1.0.0 Released 

Even Javascript Can Implement Ransomware

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


Gender Differences In Coding Style
13/11/2024

A novel investigation into the gender gap between men and women regarding coding ability was undertaken by Dr Siân Brooke. Her conclusion? There is a difference in the Python code [ ... ]



Extend NGINX With The New JavaScript Module
28/10/2024

Inject middleware functionality into NGINX with the expressive power of Javascript. NGINX JavaScript or NJS for short is a dynamic module under which you can use scripting for hooking into the NGINX e [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

Last Updated ( Friday, 01 June 2018 )