Questions tagged [angular-nativescript]
61 questions
3
votes
0 answers
Angular workspace with multiple Angular + Nativescript Code sharing projects and a resusable library
Environment
'tns info'
√ Getting NativeScript components versions information...
‼ Update available for component nativescript. Your current version is 5.1.0 and the latest available version is 5.1.1.
‼ Update available for component…

L1ghtk3ira
- 3,021
- 6
- 31
- 70
3
votes
3 answers
No provider for Store! Error at injectionError
app.component.html
app.component.ts
import 'rxjs/add/operator/let';
import { Component, ViewEncapsulation } from '@angular/core';
import { EchoesState, getSidebarCollapsed$ } from './core/store';
import {…

ishandutta2007
- 16,676
- 16
- 93
- 129
2
votes
1 answer
Nativescript Angular Android App forced light mode not working
My nativescript android app build using angular in API 29 doesn't get the styles.xml settings from values-v29 folder.
The…

Prajil Shrestha
- 124
- 1
- 9
2
votes
2 answers
How to fix 'No componentRef found in DetachedRouteHandle'
I am trying to show a modal from a component that sits in a different module than the one where the modal sits. The modal is a navigation modal, so I first load the RootModalComponent that has a router and…

C00kieMonsta
- 338
- 3
- 20
2
votes
3 answers
Which flow to use with Identity Server 4 for Nativescript Application and how is it secured?
I have been doing quite a lot of research on this topic and I am left a little confused on how to go about it. My understanding is this:
To use Identity Server 4 with an android app, the best approach is to have the android app open an embedded…

Bagzli
- 6,254
- 17
- 80
- 163
2
votes
0 answers
Can we use ionic 4 web component in NativeScript web implementation?
Ionic 4 uses web component. Can we use those ionic4 web component in Nativescript web implementation??? I know that i have to use native script components for android and ios. But here asked for web code sharing where i would like to use ionic 4…

shafiul2344
- 59
- 2
- 6
1
vote
0 answers
TNS BUILD FAILED: Error- cannot access IdentityCredential (NativeScript)
Installed nativescript, cloned the repo, while building the app for android using "tns build android"
Facing this error:
Exact error
Tried specifying the compileSdkVersion 30 as well in the app.gradle file.

Varad Kale
- 11
- 1
1
vote
1 answer
How to use Font Awesome 5 in Nativescript Angular application?
I want to use Font Awesome 5 in my Nativescript-Angular app. I followed below article and did everything same but I always getting icon as "?" for iOS and "X" for android.
Nativescript Version - 6.5, Angular Version -…

simple user
- 349
- 3
- 22
- 44
1
vote
1 answer
ReferenceError: Cannot access 'FacilityModule' before initialization - after migrating from ng8 to ng10
I am working in an angular 10 nativescript monorepo and was porting over components from a previous angular 8 only codebase.
After porting of FacilityModule and lazy loading in new codebase I receive the following error.
ReferenceError: Cannot…

304techmaven
- 166
- 1
- 11
1
vote
0 answers
Can't find variable: __TEST__
I'm new at Nativescript. Whenever I try to compile a project on my iPhone; It gives me this exception.
My phone on 14.0 and Nativescript on 7.0.11
Log is there:
2020-12-01 00:12:26.786 nsplaydev[49332:2731673] JavaScript error: …

A. Göktuğ Yalçın
- 96
- 8
1
vote
0 answers
Nativescript Angular "View not added to this instance" error on conditional component display
I have been having this issue with my angular native script app for a while now and cannot seem to move forward with any of the fixes suggested online.
The issue is:
View not added to this instance. View: ProxyViewContainer(315) CurrentParent:…

Prajil Shrestha
- 124
- 1
- 9
1
vote
1 answer
Nativescript Angular compiling error "mergeDexDebug"
I am using nativescript v6.4 and angular v8.2 and in project i have install 4-5 plugin and it work fine but after installing one more plugin i.e nativescript-firebase-plugin i got this error when compiling the project.
Execution failed for task…

Rk dev tech
- 190
- 1
- 14
1
vote
1 answer
Nativescript Angular modal view border radius not working
I am trying to create a modal and have round edges on the modal, but the problem is with the modal container which I cannot seem to access.
Modal Wrapper:

Prajil Shrestha
- 124
- 1
- 9
1
vote
1 answer
NativeScript Android SDK Installation Error, "Warning: Could not create settings java.lang.IllegalArgumentException"
I have been trying to fix this error that occurs when following this guide while running this (sudo $ANDROID_HOME/tools/bin/sdkmanager "tools" "emulator" "platform-tools" "platforms;android-28" "build-tools;28.0.3" "extras;android;m2repository"…

Prajil Shrestha
- 124
- 1
- 9
1
vote
1 answer
How can I connect my angular-nativescript app to a DB for a login?
I'm trying to create an app through NativeScript and Angular which will manage the working hours of the employees for a company.
So, I have to set up a login page and there's my problem: I linked a function on the tap of the LOGIN button and, after…

Silvia
- 53
- 4