{"id":500,"date":"2017-05-03T19:01:50","date_gmt":"2017-05-03T19:01:50","guid":{"rendered":"http:\/\/fluentreports.com\/blog\/?p=500"},"modified":"2017-05-03T19:17:08","modified_gmt":"2017-05-03T19:17:08","slug":"nativescript-3-0-released","status":"publish","type":"post","link":"http:\/\/fluentreports.com\/blog\/?p=500","title":{"rendered":"NativeScript 3.0 Released"},"content":{"rendered":"<p><a href=\"http:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2017\/05\/ns-300.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-501 alignright\" src=\"http:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2017\/05\/ns-300.png\" alt=\"\" width=\"312\" height=\"312\" srcset=\"http:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2017\/05\/ns-300.png 600w, http:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2017\/05\/ns-300-150x150.png 150w, http:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2017\/05\/ns-300-300x300.png 300w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/a>Some of you might have seen the all New version 3.0.0 has been released today.\u00a0 This is a major release.\u00a0\u00a0 Lots of things changed under the hood.<\/p>\n<p>Some of the new features<\/p>\n<ul>\n<li>Redesigned class system to increase the speed of your app.<\/li>\n<li>Better Debugging using Chrome Developer tools<\/li>\n<li>Lots of bugs fixed<\/li>\n<li>New CSS features<\/li>\n<\/ul>\n<h2>Upgrading (Core):<\/h2>\n<p>First of all to upgrade is done is a couple steps:<br \/>\n&gt; <strong>npm install -g nativescript@latest<\/strong><br \/>\n&gt; <strong>npm install tns-core-modules@latest --save<\/strong><\/p>\n<p>Next try the new update command or you can manually run the commands below<br \/>\n&gt; <strong>tns update<\/strong><\/p>\n<p>For Android:<br \/>\n&gt; <strong>tns platform remove android<\/strong><br \/>\n&gt; <strong>tns platform add android@latest<\/strong><\/p>\n<p>For iOS<br \/>\n&gt; <strong>tns platform remove ios<\/strong><br \/>\n&gt; <strong>tns platform add ios@latest<\/strong><\/p>\n<p>Then you can type <strong><code>tns info<\/code><\/strong> and verify that everything says 3.0.x<\/p>\n<h2>Common Issues:<\/h2>\n<ol>\n<li>Plugins fails; this is a known issue do to the complete revamp of the lower levels of the core modules design.\u00a0 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. \u00a0 My plugins site\u00a0 <a href=\"http:\/\/plugins.nativescript.rocks\">http:\/\/plugins.nativescript.rocks<\/a> should be listing both version v2 &amp; v3 plugins separately so that you can easily find 3.0 or 2.0 plugins shortly.<\/li>\n<li>TypeScript incompatibilities; you should be using 2.2 or later with v3.0 of TNS<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Some of you might have seen the all New version 3.0.0 has been released today.\u00a0 This is a major release.\u00a0\u00a0 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&hellip; <a class=\"more-link\" href=\"http:\/\/fluentreports.com\/blog\/?p=500\">Continue reading <span class=\"screen-reader-text\">NativeScript 3.0 Released<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[15],"tags":[16],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-nativescript","tag-nativescript","entry"],"_links":{"self":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500"}],"version-history":[{"count":1,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":502,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions\/502"}],"wp:attachment":[{"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}