{"id":88,"date":"2015-07-24T20:38:08","date_gmt":"2015-07-24T20:38:08","guid":{"rendered":"http:\/\/fluentreports.com\/blog\/?p=88"},"modified":"2015-07-24T20:38:08","modified_gmt":"2015-07-24T20:38:08","slug":"nativescript-v1-20-released","status":"publish","type":"post","link":"https:\/\/fluentreports.com\/blog\/?p=88","title":{"rendered":"NativeScript v1.20 Released"},"content":{"rendered":"<p>We all need to start upgrading,\u00a0 Telerik has released v1.2.0 -- this is a important upgrade as it fixes several nasty bugs on IOS &amp; Android!\u00a0\u00a0\u00a0 It also adds a lot of cool new features.<\/p>\n<p>1. To upgrade the command line: <strong>npm install nativescript -g<\/strong><\/p>\n<p>(On a mac or linux you might need a \"<strong>sudo<\/strong>\" in front)<\/p>\n<p>2. To Upgrade the platforms: <strong>tns platform upgrade ios<\/strong>\u00a0 or <strong>tns platform upgrade android<\/strong><\/p>\n<p>3. To upgrade the common modules; well that is still a pain.\u00a0 I would advice you to follow the same instructions I had you follow in the v1.0.0 to v1.1.0 upgrade, however if you have manually added anything to your \"tns_modules\" (which I would not recommend you do, you will want to copy or re-install it in your new tns_modules)<br \/>\n<pre>cd ..\ntns create testupgrade\nrd \/S \/Q &lt;strong&gt;YOURAPP&lt;\/strong&gt;\\app\\tns_modules\nmove testupgrade\\app\\tns_modules &lt;strong&gt;yourapp&lt;\/strong&gt;\\app\nrd \/S \/Q testupgrade<\/pre><br \/>\n&nbsp;<\/p>\n<p>First things first, NativeScript command line plugin code works a lot better.\u00a0\u00a0\u00a0 You can now do:<\/p>\n<p><strong>tns plugin add android &lt;somepluginname&gt;<\/strong> and it works!<\/p>\n<p>For those interested; my LiveSync plugin has already been updated for v1.2 with a slew of new features and a very simple install using the new <strong>tns plugin add android nativescript-livesync <\/strong>command.<\/p>\n<p>Lots of new Features and here are some of the changes:<\/p>\n<p><strong>New Features<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/393\">(#393)<\/a> Create application.android instance immediately and move all android-specific events to application.android.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/391\">(#391)<\/a> Implement cancellable back button pressed for Android.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/304\">(#304)<\/a> Expose additional properties of NavBar\/ActionBar<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/294\">(#294)<\/a> Add an optional fullscreen parameter to Page.showModal method.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/263\">(#263)<\/a> Provide per page option for manipulating NavigationBar<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/191\">(#191)<\/a> Extend the set of support CSS properties in {N}<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/pull\/222\">Implement and consume NSFastEnumeration (#222)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/214\">Memory management of class clusters (#214)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/pull\/211\">Update to the latest JavaScriptCore (#211)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/pull\/201\">Add application that uses the updated webkit webview to show web inspector frontend (#201)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/186\">Transform (NSError **) parameters to JavaScript error throw (#186)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/185\">CMake the JSC: Performance and memory diffs (#185)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/177\">iOS 9 Support: Metadata for Objective-C Generics (#177)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/164\">WebInspector: Enable WebInspector Performance Profiler (#164)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/139\">Optimize require of JavaScript modules (#139)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/android-runtime\/issues\/159\">Support http cookies in build-in http client (#159)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/android-runtime\/issues\/156\">Optimize Strings marshaling between Java and V8 (#160)<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"https:\/\/github.com\/NativeScript\/android-runtime\/issues\/156\">Improve required module loading (#156)<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"https:\/\/github.com\/NativeScript\/android-runtime\/issues\/126\">Improve JNI String marshalling (#126)<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"https:\/\/github.com\/NativeScript\/android-runtime\/issues\/121\">Cache folder-as-module resolved path (#121)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h1><a id=\"user-content-fixed\" class=\"anchor\" href=\"https:\/\/github.com\/NativeScript\/NativeScript\/blob\/master\/CHANGELOG.md#fixed\"><\/a>Fixed<\/h1>\n<ul>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/423\">(#423)<\/a> Showing a modal page from another modal page results in error on iOS.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/422\">(#422)<\/a> Login dialog - iOS7: loginResult.userName returns password as a value instead of username<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/421\">(#421)<\/a> Page.showModal seems completely broken in IOS<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/406\">(#406)<\/a> Prompt dialog - iOS7: okButton returns result equal to false, cancelButton returns result equal to true<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/pull\/405\">(#405)<\/a> FPS module will now correctly count frames while scrolling in iOS<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/395\">(#395)<\/a> dialogs.action() causes app to crash on iPad<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/372\">(#372)<\/a> Simple location app doesn't perform until real gps apps are also running<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/368\">(#368)<\/a> [Screen Builder] Model is not updated when an observable object property is used in two text fields<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/343\">(#343)<\/a> Not returning a view on the view parameter of the creatingView event handler of the placeholder crash the application<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/322\">(#322)<\/a> Creating an Observable by passing a JSON object in the constructor does not define the respective properties on the Observable object instance.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/285\">(#285)<\/a> <code>visibility<\/code> property inconsistent with CSS<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/270\">(#270)<\/a> BackgroundImage property does not respect the CornerRadius when set to Border.<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/NativeScript\/issues\/261\">(#261)<\/a> WebView crash when navigating back<\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/pull\/210\">Recursive calls from Objective-C to a method returning JavaScript function as block (#210)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/205\">Enums which has no common prefix are not exposed correctly (#205)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/199\">Recursive calls from JavaScript to Objective-C method receiving a block argument (#199)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/NativeScript\/ios-runtime\/issues\/178\">Fix TypeScript extends (#178)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We all need to start upgrading,\u00a0 Telerik has released v1.2.0 -- this is a important upgrade as it fixes several nasty bugs on IOS &amp; Android!\u00a0\u00a0\u00a0 It also adds a lot of cool new features. 1. To upgrade the command line: npm install nativescript -g (On a mac or linux you might need a \"sudo\"&hellip; <a class=\"more-link\" href=\"https:\/\/fluentreports.com\/blog\/?p=88\">Continue reading <span class=\"screen-reader-text\">NativeScript v1.20 Released<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,15],"tags":[18,16],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-javascript","category-nativescript","tag-livesync","tag-nativescript","entry"],"_links":{"self":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88"}],"version-history":[{"count":3,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/88\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}