NativeScript + Angular is an open source framework created by Telerik that makes native mobile app development easier for developers with web-dev background. It enables developers to use Angular to build native mobile applications for iOS and Android.
Questions tagged [angular2-nativescript]
1264 questions
5
votes
4 answers
Native Script is not showing res:// image
I'm following the NativeScript tutorial, but when I'm trying to load the image with res:// is not working with iOS.
The file is in the App_Resources/iOS/logo.png
UPDATE:
Now works:
1.- Uninstall the app…

eusoj
- 374
- 3
- 12
4
votes
0 answers
nativescript ios app crashes - attempting to change the getter of an unconfigurable property
I created a directive to disable the context menu on android and ios app in Nativescript.
import { Directive, OnInit, OnDestroy, ElementRef, Renderer2 } from "@angular/core";
import { isIOS } from "tns-core-modules/platform";
import * as utils from…

Smokey
- 1,857
- 6
- 33
- 63
4
votes
1 answer
NativeScript + Angular: How to install and use icons?
I'm trying to use icons on my nativescript + angular app both for iOS and Android.
I tried different way to set up icons, I used this tutorial, this solution and I even tried with material plugin and nativescript-ngx-fonticon.
All these methods give…

Silvia
- 53
- 4
4
votes
1 answer
How to fix NativeScript error: "Main entry is missing. App cannot be started. Verify app bootstrap."
I am trying to build my NativeScript app on Android. The app compiles without errors, but when I try to build in an emulator, I get the following error:
"Error: Main entry is missing. App cannot be started. Verify app bootstrap."
We have already…

PhoenixFireFlite
- 135
- 1
- 8
4
votes
0 answers
Integrating nativescript-paytm plugin in nativescript-vue application
I'm having a nativescript-vue application where I want to integrate nativescript-paytm plugin, I created a method on click event: payNow() which contains all the necessary details of Paytm as described in Readme.md/documentation/demo app.
import {
…

Nitish Kumar
- 6,054
- 21
- 82
- 148
4
votes
2 answers
Nativescript + Angular ScrollView scroll to the end listener
Is there any callback that could be used to identify whenever ScrollView is scrolled to the very bottom?
In the Nativescript documentation only the scroll event is mentioned, but it only provides information about the X or Y cords of current…

Daniel
- 993
- 2
- 10
- 23
4
votes
1 answer
How to use a fonticon inside a NativeScript
I'm running into a font-family collision when trying to use a icon font on a

rynop
- 50,086
- 26
- 101
- 112
4
votes
2 answers
Scroll to the bottom of the view of ScrollView programmatically in Nativescript
I am developing an app where when user click on cardview layout, detail of that view is opened on that card view layout. I have used nativescript ScrollView for scrolling the views. But, when user click on last cardview layout it should scroll to…

Deep
- 303
- 2
- 9
4
votes
1 answer
NativeScript background service stops working after app closes
I have problem with nativescript background service. I want to write application with background service. The service must be always run in background, even when the application will be stoped and closed.
I have used nativescript-android-utils for…

Shota Noniashvili
- 109
- 9
4
votes
3 answers
Injected Page is null
After upgrading an angular nativescript project to the current versions of angular, typescript, tns, etc.. I'm getting a runtime error stating:
TypeError: Cannot set property 'actionBarHidden' of null at new
AppComponent...
The code that…

apricity
- 1,300
- 1
- 14
- 22
4
votes
0 answers
NativeScript-Vue [node-rsa] TypeError: util.inherits is not a function
When trying to include node-rsa got:
TypeError: util.inherits is not a function.
Repro steps:
vue init nativescript-vue/vue-cli-template repro
cd repro
npm install --save node-rsa
npm install
Add this line to HelloWorld.vue: