Tag: nativescript

57 votes
2 answers
2.7K views
NativeScript + Vue.js + FontAwesome

I'm trying to use FontAwesome icon set to build an application over NativeScript and Vue.js but I can&apo

avatar
Trudy
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
3K views
Integrate Android Service on NativeScript App

I need to develop an app that should periodically check for available WiFi networks and trigger an action once

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
2K views
How to use swift library in NativeScript?

I am trying to use this ios-charts library in NativeScript. This library is written in Swift and not in Object

avatar
Sydney
0 1 0 9
asked 07 September, 2021
58 votes
1 answers
1.1K views
Center and right/left align items in a NativeScript Layout

In the context of a NativeScript app, I've been struggling to find an efficient, non-hacky way to do what

avatar
Rudy
0 1 0 9
asked 07 September, 2021
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.7K 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
384 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
928 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