Tag: na

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
385 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
58 votes
3 answers
2.6K views
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

avatar
Thurman
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
2K views
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

avatar
Jeff
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
61 votes
3 answers
1.3K views
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&

avatar
Patsy
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
55 votes
3 answers
2K views
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 cam

avatar
Cortez
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
61 votes
2 answers
2.7K views
Testing NativeScript app with Appium

I am learning NativeScript. I am trying to write some automated tests with Jasmine. From my understanding, I c

avatar
Alba
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
59 votes
15 answers
384 views
How to deal with name/value pairs of function arguments in MATLAB

I have a function that takes optional arguments as name/value pairs. function example(varargin) % Lots of set

avatar
Bryan
0 1 0 9
asked 07 September, 2021
57 votes
8 answers
404 views
How do I iterate through each element in an n-dimensional matrix in MATLAB?

I have a problem. I need to iterate through every element in an n-dimensional matrix in MATLAB. The problem is

avatar
Chaya
0 1 0 9
asked 07 September, 2021