Blog

The NativeScript blog is your source for timely and interesting news about NativeScript. If you would like to guest post on our blog, please let us know.

All topics
  • NativeScript in 2015: Top 6 Devs and {N} Groundswell

    2015 was big year for getting JavaScript on mobile devices. Nowadays, JavaScript developers can build highly performant native apps, in part thanks to NativeScript. With this post I wanted to say thanks to some top contributors in our community and to show off some of the NativeScript momentum we are taking into 2016.

    By
    Sasha Krsmanovic
  • Using Babel in NativeScript Apps

    The NativeScript 1.5 release introduced first-class support for languages which transpile to JavaScript. In plain English, if your language of choice generates JavaScript, it can now be used to create NativeScript apps. The NativeScript CLI has integrated support for TypeScript, Babel, and CoffeeScript (here’s the full list of languages we support), but if you want to use another language, just create a plugin following the template of the existing Babel one. The upcoming ES7 language edition has the async/await feature which makes the UI and networking code a breeze to write and support. I was very eager to experiment with async code in a NativeScript app, and decided to try it by implementing a simple app. I decided to mirror the cuteness sample. But my project was going for something more awesome, and that's why it follows /r/hardcoreaww sub-reddit instead.

    By
    Todor Totev
  • Ignite your App Development with NativeScript and Firebase

    Learn how to connect a Firebase backend to your NativeScript app.

    By
    Jen Looper
  • Telerik UI for NativeScript Preview 3 Release

    Telerik UI for NativeScript has just been updated introducing several major features in the Chart and ListView components, as well as numerous fixes and improvements. Here's a short list of what's inside the latest version of the plugin:

    By
    Deyan Ginev
  • Monetize your NativeScript apps with AdMob (part 2 - Android)

    This is the second part of the Monetize your NativeScript apps with AdMob blog. In part one I discussed how you can easily access and use the native API of a native framework in JavaScript, taking the AdMob library for iOS as an example. To do that, you only needed the existing AdMob documentation in combination with a few simple rules to translate the Objective-C API calls to JavaScript. The popular mobile platforms, however, are two - iOS and Android. So, it would be fair if I cover Android as well. Moreover, further in this article as things get a more interesting and we are close to having a cross-platform AdMob usage, I will show you what’s the recommended way of separating and isolating the native API calls in a NativeScript project. So, let’s begin.

    By
    Nikolay Diyanov
  • A QuickStart to Building Mobile Apps with NativeScript

    Get a jump start on your NativeScript iOS and Android mobile application development in a new quickstart course.

    By
    Nic Raboy
  • Using V8 code caching to minimize app load time on Android

    There are three reasons for the NativeScript framework to exists - native UX, performance and a cleaner and easier programming model for cross-platform mobile applications.

    By
    Georgi Atanasov
  • Which versions of Node.js should you use today

    As we know, NativeScript CLI is a Node.js application. This brings the questions like "which versions of Node.js can and should I use" or "how long particular Node.js version is supported." To answer these questions, it is useful to know the life cycle of Node.js. Please, take a minute to check the project wiki which explains it in a single graphic. With it in mind, the NativeScript team decided to support the LTS branches and, if possible, the "current stable" branch.

    By
    Todor Totev
  • Mobile app Best Practices - use Font instead of Image to show an icon

    With the latest release of NativeScript you can use the huge amount of icon fonts available on the web inside your native mobile application. This works cross-platform, for both iOS and Android and is as simple as placing the font in the “app/fonts” folder and declaring the icon you want to use in the UI. The NativeScript framework is doing its magic behind the scenes so you don’t need to worry on which OS you run. This is just one those things that make your life easier and is helping you to reuse your existing skills/resources. (using CSS, native libraries, JavaScript code and AngularJS skills are the other things that we make available in NativeScript). So why is this a big deal and why it is a best practice to use a font instead of an image file to display an icon?

    By
    Valio Stoychev
  • Monetize your NativeScript apps with AdMob (part 1 - iOS)

    The whole world goes mobile, so are the software trends. But what’s the reason to create a mobile app after all? Well, surely, when things get serious, after the “it’s just for tests and fun” phase, it’s all about the money. You can create an app for the employees of your company or for the employees of somebody else (B2E, B2B). In this case your company benefits directly from the services you provide to its employees, or you take a commission for the app you create. But if your customers are the end-users (B2C) or if you create an app for a business customer (B2B) that will sell it to the masses, then you should surely be aware of the different app monetization methods where two of the main ones are in-app purchases and mobile ads. Today, we will talk about mobile ads and how you can enable them in your NativeScript application using the Google AdMob service and SDKs. This article will focus on iOS and in the next part we will cover the Android platform.

    By
    Nikolay Diyanov

Stay connected with NativeScript

NativeScript
NativeScript is licensed under the Apache 2.0 license .
© 2017 Progress Software Corporation. All Rights Reserved.