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
0
votes
1 answer
Multiple NativeScript ListViews per App
I have the following issue with NativeScript 2.0:
I need to create two ListViews on separate pages, which I do through HTML files.
Unfortunately, only the first one shows. When I navigate to the second page, another ListView does not show and in…

s.kalinchuk
- 3
- 3
0
votes
1 answer
Vimeo plugin for NativeScript
Is anyone aware of a plugin for NativeScript which allows you to play videos from Vimeo in iOS and Android, and would work with loading the src of the videos from an Angular 2 variable?
Brad Martin has written a cool videoplayer plugin for…

Adam Diament
- 4,290
- 3
- 34
- 55
0
votes
1 answer
Getting ScreenMetrics in a NativeScript Angular App
How do you get access to ScreenMetrics in a NativeScript Angular 2 app?
Is one supposed to use the DI system of Angular, injecting ScreenMetrics? I guess not, because although the Import statement is fine, the following doesn't work. I'm seeing…

Merott
- 7,189
- 6
- 40
- 52
0
votes
1 answer
NativeScript 2.0 Custom Components and CSS
I'm having an issue with NativeScript 2.0 CSS and custom components. There seems to be a giant gap in my knowledge and I'm missing something vital that is non-obvious.
Take an empty NS 2.0 app created with
$ tns create test --ng
Delete the contents…

Wainage
- 4,892
- 3
- 12
- 22
0
votes
2 answers
Nativescript angularjs 2.0 data binding
Using nativescript 2/angular 2, having problems with data binding. I'm familiar with angularJS 1.x, but the docs I've read on this, this should be working. Tried different variations of ngModel, but not working. The value of record.name is…

charliepage88
- 95
- 3
- 8
-1
votes
1 answer
Nativescript angular RadSideDrawer is undefined
I am working on Nativescript Angular and i have a RadSideDrawer for iOS device only. When i install the app, login and click on the button for RadSideDrawer i receive an error that TypeError: sideDrawer.showDrawer is not a function. (In…

Abdullah
- 39
- 5
-1
votes
1 answer
How to catch the scroll offset RadListVIew in nativeScript?
I try getting scroll position, for infinity scroll (top)
onScrolled(scrollOffset) {
this.scrollOffset = scrollOffset;
console.log(this.scrollOffset); // undefined
…

Igor Bezlepkin
- 43
- 1
- 7
-1
votes
1 answer
Is there a possibility to write information into IOS keychain pragmatically...?
I am generating a random strong password for every user and want the user to use the same password for accessing the application, since the password is going to be hard to remember I wish to store the same in the keychain so it is easy to access.

Vijay
- 21
- 1
-1
votes
1 answer
NativeScript - Angular HTML component inside WebView
Quick intro: Hi, I am part of the team that will be migrating old front end of the web application (js, written in 2012) to Angular framework. We've been suggested to use NativeScript because the app will be used both on desktop and mobile devices…

user8636439
- 11
- 1
- 4
-1
votes
1 answer
Is there any plugin that I should use in order to read MRZ codes in Nativescript Angular
I am using Nativescript Angular to develop my app for Android and iOS. One requirement is to read a passport MRZ (machine-readable zone) code using the device camera. My question is: Is there any plugin that can do this or what do you recommend…

Edu Maldonado
- 13
- 4
-1
votes
1 answer
Nativescripts, params['id'] is undefined
I have a problem with my code, so, I need to show details from my items, these details I get from my ws.
I post in ws ID and ws return me details.
I tried this code:
populateFormAlarm() {
this.route.params.subscribe(
params => {
…
user9699663
-1
votes
1 answer
NativeScript error TS2554: Expected 1 arguments, but got 0;
I try to use native API of camera with NativeScript ("i don't use any pluguin") and when I arrive to takePicture function it gives this error:
app/shared/camera/camera.service.ts(23,39): error TS2554: Expected 1 arguments, but got 0.…

zouhair
- 61
- 1
- 8
-1
votes
1 answer
NativeScript - Filter a ListView data by tabs from TabView-ng
How can I show up by demand only data related by specific room?
Below my Json data:
{
"rooms": [
{
"id": 1,
"name": "Room 01",
"content": "Content 01"
},
{
"id": 2,
"name": "Room 02",
"content":…

Francis Rodrigues
- 1,470
- 4
- 25
- 61
-1
votes
1 answer
Very strange behaviour from Nativescript UI rad dataform when trying to dynamically render form
I am trying to build a checklist app where a checklist consists of many sections and each section consists of many tasks. I am using Nativescript UI-dataform to render the forms as the forms are JSON models dynamically generated by a REST API. I…

user2094257
- 1,645
- 4
- 26
- 53
-1
votes
1 answer
NativeScript Angular HttpClient generic get method returns object instead Typed object
Im trying to use: this.httpClient.get(myUrl)to retrieve object serialized in Json response. Intellisense accept this object but if i look into debug console what exact service return to me it is still only object. Class for MyObject is…

PeterMacko
- 882
- 1
- 10
- 15