It has been a long road since I first started with the just freshly released v0.90 slightly over a year ago. I saw a product that was brand new, raw, full of life and it offered a huge amount of potential. I decided that even though it wasn't nearly as popular as other recently released… Continue reading NativeScript 2.0
Category: Tips
NativeScript: Enabling beta android v8 features
One of the interesting things about the v8 engine is there is a lot of development going on behind the scenes that you can actually enable right now. This is supported in NodeJS, Chrome, and yes even NativeScript. Currently v8 for NativeScript 1.7 Android is running on v4.7.80 -- So because this is fairly… Continue reading NativeScript: Enabling beta android v8 features
NativeScript: Upgrading to v1.7.0
Since I have been posting these since the early versions of NativeScript; I figured I would continue. It has been several months since the last major upgrade and this version has all sorts of bug fixes and new goodies. The changelog is available at https://github.com/NativeScript/NativeScript/releases/tag/v1.7.0 The biggest new feature is the ability to override the… Continue reading NativeScript: Upgrading to v1.7.0
NativeScript: Android plugins and Windows path size issues
If your on Linux or OSX you can skip this post; it only applies to us pathetic people that prefer Windows (like me ). I do have Linux and OSX, so maybe I'm not that pathetic; but since I do prefer Windows, maybe I am. If you don't want to read the reason this occurs… Continue reading NativeScript: Android plugins and Windows path size issues
NativeScript - Capturing the Back Button on Android
Quite frequently you want to control what happens when your user hits the back button, well this is actually pretty simple to do on Android. I've seen this question pop up several times; so it makes good blog post fodder. You can either do this totally globally; or on a per page basis. Globally, you… Continue reading NativeScript - Capturing the Back Button on Android
NativeScript: Tip for iOS Plugin authors
One of my friends (Nathan) was working a plugin and for some reason it wasn't bringing in the metadata on iOS. In fact it acted like the Cocoapod did not exist. If you attempted to use my suggestions for iOS Metadata Generation then you would see that no meta was generated for that plugin. Well… Continue reading NativeScript: Tip for iOS Plugin authors
NativeScript/JavaScript Tip: Debugging
Once thing I was made aware of today was that not everyone knows the magic "debugger;" command. I suppose this makes sense; I rarely see it mentioned, but it is a very useful debugging command in the JavaScript world. The "debugger;" command is used to cause the application to stop and enter the debugger at… Continue reading NativeScript/JavaScript Tip: Debugging
NativeScript: Upgrading to v1.60
Since I have been posting these since the early versions of NativeScript; I figured I would continue. It has been several months since the last major upgrade and this version has all sorts of bug fixes and new goodies. The changelog is available at https://github.com/NativeScript/NativeScript/releases/tag/v1.6.0 Some of the new features that I'm looking forward to… Continue reading NativeScript: Upgrading to v1.60
NativeScript: iOS Tip - See the Metadata & typings .d.ts files generated for your Cocoapod Plugin
One of my debugging tools when something doesn't seem to work as expected on iOS is to tell NativeScript to output the metadata while it is building the application. The easiest way to do it is: TNS_DEBUG_METADATA_PATH="$(pwd)/metadata" tns build ios This will create a metadata-xxxx folder (where xxx is the platform) in the root of… Continue reading NativeScript: iOS Tip - See the Metadata & typings .d.ts files generated for your Cocoapod Plugin
NativeScript: Tip - access a related view of a GridView/ListView/Repeater
I was asked earlier this week about how to access a related label when you click on a button or other object in the list of a ListView/GridView/Repeater. Since it took me a little while to figure this out for my own project a couple weeks ago and since someone else ran into this issue… Continue reading NativeScript: Tip - access a related view of a GridView/ListView/Repeater