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...

Disable multiline in prompt dialog text field and choose keyboard layout

Disable multiline in prompt dialog text field and choose keyboard layout Disable multiline in prompt dialog text field and choose keyboard layout Disable multiline in prompt dialog text field and...

NativeScript: Accessing native Android API

There is still something i don't get in accessing native Platform stuff with nativescript. Here is a simple snippet where i try to access a native gui element and add it to a page: var...

Nativescript Cannot find module 'nativescript-angular/http'

I am following the NativeScript tutorial here: Native Script Angular - Chapter 3 I'm having an error when trying to import nativescript-angular/http. it says Cannot find module...

Google Maps API NativeScript custom marker icon

I try to create a marker with a custom icon with NativeScript and the Google maps API package. I added my icon to the android resources and then built my project a few times. var marker = new...

CheckBox in Nativescript (ios and Android)

What is the best way to create checkbox in Nativescript with javascript? I know if I use checkbox it's only for Android, and I have problems with the switches. So I will like use images to...

In NativeScript, how can I make a label automatically resize to fit content?

I have two buttons with a label in between. When a button is tapped, the label text changes, but it appears to have a static width set to the width of the initial text. When the text gets longer,...

What does "Result" means in a .map operator of an Observable obtained from an http.get request in nativescript/angular

I'm doing the nativescript/angular tutorial and I found something in the code that I don't understand and want some clarification. In chapter 4 (Nativescript modules) when they do a http.get...

How to work with progress indicator in flutter?

I'm newbie in flutter and wanted to know what is better way to add CircularProgressIndicator in my layout. For example, my login view. This view have username, password and login Button. I did...

Typescript Synchronize method calling

Hello Nativescript Team, I am mashed up with the method calling. Could please guide me How can I implement Sync Method calling in Nativescript + Angular import { Component, OnInit,...

Is there a way to "refresh" the terminal/iTerm without closing the current sessions?

I just updated my xcode command line tool in my iTerm2 and it seems like I need to restart my iTerm to put that to work, since when I try to use tns build ios command to build my nativescript...

How to run NativeScript app on android studio?

please does anyone have an idea on how to run NativeScript app on android studio? If so, show me the steps to do it.

TypeORM QueryFailedError PostgreSQL

I'm running into an issue when running a test server after adding a new Item entity that has a ManyToOne relationship with an inventory entity. In PGAdmin4, an Item table is shown that looks...

Device ####### lost during operation install for message ######

I'm running a project in {N} 5.1.0. Recently I've been having a semi-recurring issue when attempting to run on a physical device using tns run ios. The error message is: Unable to apply changes...

Delay after back button is pressed

When the back button is pressed on some pages, there is a short delay (1-5 seconds) before the NavigationStart event is even triggered. I'm using the Angular RouterExtensions back() function. At...

How to debug nativescript throwing "NativeScript caught signal 11." error?

I have created a plugin for nativescript ios which was working fine until recently I updated the pod version. Now, when I run the plugin, I get this error: NativeScript caught signal 11. I have...

NativeScript: I can't connect to my local .NET Core API

I keep getting the following error when trying to connect to my .NET Core API. I don't know why it happens, all tutorials I watched or other posts I read didn't help me at all. JS: ERROR { JS: ...

Reuse portion of github action across jobs

I have a workflow for CI in a monorepo, for this workflow two projects end up being built. The jobs run fine, however, I'm wondering if there is a way to remove the duplication in this...

How to POST data to a URL from NestJs code?

I have a login form with username and password. I'm trying to validate these credentials using the Nest Js authentication strategy here. So in the corresponding auth.service.ts file, I'm using...

How to correct read file from "Downloads" folder in NativeScript app?

I write a Android app on NativeScript. I have defined required permissions in App_Resources/Android/AndroidManifest.xml: <uses-permission...

Nativescript Chat UI iOS Issues

I am creating a chat UI interface in Nativescript and I almost have everything working, but I am having a few issues in iOS that I cannot figure out. Everything in Android works correctly. Problem...

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...

Angular - How to do code-splitting in Angular 9 - Ivy?

In Angular 8 (8.2.14), my app can do code splitting by lazy loaded modules. The build logs is as follows (some redundant lines is omitted), 36 chunks: chunk {3}...

Nativescript tns run android (application is not running on device)

When i do tns run ios, all is fine but tns run android just gives me error like this. I tried both device and emulator but the same result. i have done: reinstall platforms,node_module,hooks....

XCode 12.3 building for iOS Simulator, but linking in dylib built for iOS, couchbaselite framework for architecture arm64 Using M1 Chipset

Encountered a build issue on IOS too with "building for iOS Simulator, but linking in dylib built for iOS, file '.../platforms/ios/Pods/CouchbaseLite/iOS/CouchbaseLite.framework/CouchbaseLite' for...

How can I get Jest to transpile node_modules/@nativescript/core properly? Jest + NativeScript + Angular + Nx

I am currently attempting to setup a multiplatform codesharing starter project using the Nx monorepo tool. This project uses Angular for the web, and NativeScript for crossplatform mobile. Ideally...

The AngularCompilerPlugin was not found. The @ngtools/webpack loader requires the plugin

After upgrading my Nativescript app from Ns 6 to Ns 7 and angular 8 to 11, it started to give this webpack error: ERROR in ./app/shared/services/worker.service.worker.ts...

ERROR NullInjectorError: R3InjectorError(AppModule)[Page -> Page -> Page]:

I recently attempted a migration from my old NS6 app to NS8. I followed steps on this page with no luck: https://blog.nativescript.org/nativescript-8-announcement/ So, I created a new NS8 app...

The Preview service has been disabled until further notice. Configure local builds and use "ns run " instead when running ns preview on Svelte Native

I'm new to Svelte Native. I was following the Quick Start steps on docs. Installing nativescript and creating the new Svelte-Native app with npx degit halfnelson/svelte-native-template myapp were...

Nativescript IOS ActionBar not showing background color until i scroll

With the latest IOS15 update my actionbar in the app doesn't display the blue background like I want to until you scroll down and it slowly comes into color as you scroll. From this link...