Tag: c

52 votes
6 answers
1.2K views
Nativescript background-image fullscreen

I want to create app in Nativescript with fullscreen image on page. I have to use background-image: url('

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
51 votes
2 answers
1.9K views
ENOTEMPTY: directory not empty, rmdir

I am new in NativeScript, I tried to run my HelloWord app using NativeScript and Angular. I connected my andro

avatar
Wilber
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
2.8K views
Hybrid JavaScript Mobile Development - Apache Cordova vs Capacitor with Ionic vs NativeScript vs React Native

First of all, hope so this question is not too broad. Coming from front-end background I'm thinking to st

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
2.7K views
NativeScript TextField [(ngModel)] does not work

I have a problem with data binding in TextField via ngModel I have model class export class Product { na

avatar
Cortez
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
1.1K views
Packaging handheld and wearable Android app together from CLI [NativeScript]

I'm trying to build a Phone+Wear app with NativeScript for Android. I have been able to build both separa

avatar
Juliane
0 1 0 9
asked 07 September, 2021
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