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.

56 votes
3 answers
2.8K views
How can I specify or get the resource id of a nativescript textfield

We are using nativescript with angular for our mobile app. I want to use the Google Play pre-launch report fea

avatar
Wei
0 1 0 9
asked 07 September, 2021
54 votes
2 answers
1.6K views
Expected 2 arguments, but got 1.ts(2554) core.d.ts(8064, 47): An argument for 'opts' was not provided

Error Expected 2 arguments, but got 1.ts(2554) core.d.ts(8064, 47): An argument for 'opts' was not

avatar
Arline
0 1 0 9
asked 07 September, 2021
62 votes
2 answers
1.1K views
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 se

avatar
Vi
0 1 0 9
asked 07 September, 2021
52 votes
3 answers
2.3K views
Angular 2 do not refresh view after array push in ngOnInit promise

I created a NativeScript app with angular 2, i have an array of objects that i expect to see in the frontend o

avatar
Mikki
0 1 0 9
asked 07 September, 2021
51 votes
4 answers
3.1K views
Chrome Devtools opens as a search rather then the dev tools themselves

Trying to run a Nativescript debug session and every time I enter chrome-devtools://devtools/bundled/inspect

avatar
Suzan
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
1.6K views
How to set orientation in nativescript

Hello I would like to know how to set device orientation in nativescript. Specifically I want the application

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
387 views
How to find/watch the dimensions of a view in a NativeScript layout?

When my layout loads any view inside of it has a width and height of NaN, it also has a getMeasuredHeight() an

avatar
Shanita
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
1.2K views
How can I access Native api in NativeScript when I use Typescript

When I create two new apps with tns, one is the regular js version and one is with typescript. I get a strange

avatar
Trudy
0 1 0 9
asked 07 September, 2021
66 votes
3 answers
933 views
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

avatar
Stacia
0 1 0 9
asked 07 September, 2021
57 votes
8 answers
2.1K views
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 andr

avatar
Scot
0 1 0 9
asked 07 September, 2021
67 votes
8 answers
2.8K views
Nativescript android remove action bar

I am trying to develop android app using Nativescript and try to remove Action Bar (top bar with "testns" titl

avatar
Scot
0 1 0 9
asked 07 September, 2021
58 votes
3 answers
662 views
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

avatar
Juliane
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
882 views
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

avatar
Georgie
0 1 0 9
asked 07 September, 2021