Some of you might have seen the all New version 3.0.0 has been released today. This is a major release. Lots of things changed under the hood.
Some of the new features
- Redesigned class system to increase the speed of your app.
- Better Debugging using Chrome Developer tools
- Lots of bugs fixed
- New CSS features
Upgrading (Core):
First of all to upgrade is done is a couple steps:
> npm install -g nativescript@latest
> npm install tns-core-modules@latest --save
Next try the new update command or you can manually run the commands below
> tns update
For Android:
> tns platform remove android
> tns platform add android@latest
For iOS
> tns platform remove ios
> tns platform add ios@latest
Then you can type tns info
and verify that everything says 3.0.x
Common Issues:
- Plugins fails; this is a known issue do to the complete revamp of the lower levels of the core modules design. Some plugins need a lot of changes to work in 3.0; so you will have to wait for the third party authors to get caught up. My plugins site http://plugins.nativescript.rocks should be listing both version v2 & v3 plugins separately so that you can easily find 3.0 or 2.0 plugins shortly.
- TypeScript incompatibilities; you should be using 2.2 or later with v3.0 of TNS
Your comment is awaiting moderation.
Please could link me to a video that demonstrates nativescript debugging using browser?
Thanks
The Progress team did a webinar on 3.0; in it at this time stamp they show off some of the debugger in a browser. https://youtu.be/u19wHXXzpPc?t=2177
Basically all you need to do is `tns debug android` copy the url into chrome and go.