Questions tagged [nativescript]

NativeScript is an open source framework created by Telerik that makes native mobile app development easier for web developers. It enables developers to use JavaScript or TypeScript (with or without Angular or Vue) to build native mobile applications for iOS and Android. NativeScript apps render native UI components styled by a subset of CSS. Modules provide cross-platform native API abstractions. 100% of native APIs are available via JavaScript.

NativeScript is an open source (ASLv2) framework created by Progress for building truly native mobile apps with JavaScript, TypeScript, Angular or Vue. Use web skills and get native UI and performance on iOS and Android. The Angular developers can share code between Web and Mobile applications via the Code Sharing CLI.

NativeScript apps use native UI components. The framework provides a subset of CSS to make styling simple and familiar for web developers. Modules provide cross-platform API abstractions so that a single codebase can run on multiple platforms. The framework provides 0-day access to 100% of native APIs via JavaScript via build-time metadata generation.

As of March 2019, NativeScript is in version 5.3.0. See the NativeScript roadmap for information about prior and planned versions of NativeScript.

The source can be found at the NativeScript GitHub repository and issues are tracked on the NativeScript GitHub issue tracker.

Documentation

Playground

Logo

NativeScript logo

7280 questions
59
votes
2 answers

Difference between Xamarin and Telerik's native script

Xamarin Write the model in C# Write the views for each OS in their own native way Xamarin promises that the new functionality in libraries is added the same day Telerik Native script Write in javascript and call native script's api that then…
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
57
votes
4 answers

Hybrid App - Ionic vs NativeScript

I am in mobile space for quite some time and we are having native Android and iOS app already. Now our company is planning to enhance our Mobile Site and our team has chosen Angular 2 + TypeScript + Ionic 2. With great difficulty we have completed…
Mano
  • 1,109
  • 2
  • 10
  • 12
47
votes
3 answers

Which is better vue-native or nativescript-vue?

I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between vue-native or nativescript-vue?
china veerreddy
  • 525
  • 1
  • 4
  • 8
47
votes
2 answers

Testing NativeScript app with Appium

I am learning NativeScript. I am trying to write some automated tests with Jasmine. From my understanding, I can use Appium with Jasmine to run automated tests in the emulator. At this time, I've added the appium-gulp-plugins to my package.son file.…
user70192
  • 13,786
  • 51
  • 160
  • 240
45
votes
8 answers

env: python: No such file or directory when building app with Xcode

When I build/run/archive my app in Xcode (on MacOS 12.3) I encounter this error: env: python: No such file or directory Command Ld failed with a nonzero exit code I think I might have changed something with regard to my python environment while…
Jan Mark Dannenberg
  • 603
  • 1
  • 7
  • 12
44
votes
3 answers

NativeScript Vs Flutter

I have started working on Native Script with Angular. The best part is the code sharing technique which i can use for Web & Mobile app both. But one thing which i want ask here is that Angular is a framework which is developed by Google and Google…
Devesh M
  • 983
  • 2
  • 12
  • 21
35
votes
4 answers

NPM Install failing in docker container - npm WARN tar ENOENT: no such file or directory

I am trying to compile a Nativescript application as part of our Teamcity deployment strategy. When I run NPM install, I get a ENOENT error trying to find files, as shown below: npm WARN tar ENOENT: no such file or directory, open…
Miguel Mesquita Alfaiate
  • 2,851
  • 5
  • 30
  • 56
33
votes
8 answers

Nativescript android remove action bar

I am trying to develop android app using Nativescript and try to remove Action Bar (top bar with "testns" title), but don't know how. I am using code below but not working. Currently using tns v.1.3.0 var frameModule = require("ui/frame"); …
Dilar
  • 1,011
  • 1
  • 9
  • 14
30
votes
3 answers

Theme Problem when Dark Mode is activated under MIUI 11 / 12

EDIT: MIUI force Dark Mode to be activated in my app, so the app looks awful. In some Part of my app when I set Color to "white", it will be shown as White. If I set it as "gray", it will be shown as Gray. If I set it as "red", it will be shown as…
Hatef
  • 1,168
  • 1
  • 7
  • 15
30
votes
3 answers

NativeScript : custom camera view

I am working on an iOS and Android application with a custom camera view (that's why I won't use camera module http://docs.nativescript.org/ApiReference/camera/README) I need to have my own UI above the camera preview. Can I do this with…
27
votes
1 answer

repositories.cfg could not be loaded in Windows 10

while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The code i used was..... @powershell -NoProfile -ExecutionPolicy…
27
votes
10 answers

Cannot find a compatible Android SDK for compilation when running `tns platform add android`

I am following an official NativeScript tutorial and having a problem configuring my OS X environment for android development. When running tns platform add android I receive the following error: Cannot find a compatible Android SDK for…
lazlojuly
  • 829
  • 2
  • 8
  • 19
23
votes
3 answers

Nativescript doesn't recognize Xcode (High Sierra)

I'm on High Sierra with Xcode Version 9.0.1 (9A1004). When running tns doctor I get the following warning: WARNING: Xcode is not installed or is not configured properly. You will not be able to build your projects for iOS or run them in the iOS…
Philip Feldmann
  • 7,887
  • 6
  • 41
  • 65
22
votes
3 answers

How to change application name in NativeScript

I'm working with NativeScript from Telerik and I made an app with a debug name ("notiApp") but now I can't change the app's name in launcher and action bar. I already tried configuring my AndroidManifest.xml in /app/App_Resources/Android/ modifying…
21
votes
4 answers

Differences between Native Script and react native and ionic framework

Both Native Script and ionic framework are used for build IOS and Android apps with web view & without web views respectively. I have a confusion between the concept of web view and without web view in above technologies. What are the key…
1
2 3
99 100