Questions tagged [angular2-nativescript]

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.

1264 questions
0
votes
1 answer

Nativescript + Angular 2 base screen template

Is it possible to create some base screen template (master screen) and use it in other screens? For example I have application Component like this @Component({ selector: "main", directives: [NS_ROUTER_DIRECTIVES, Bar], template : `
alborozd
  • 860
  • 1
  • 6
  • 11
0
votes
1 answer

SegmentationBar change updating model but not updating the UI

I am having an issue with updating the UI when changing the index of a SegmentedBar component. I started with trying to use the Segmented bar with angular/nativescript Router navigation. I could get the SegmentedBar to update the index of the bar…
0
votes
1 answer

Nativescript and Angular 2 navigation transition

Could somebody tell me please how to use navigation transitions with nativescript and angular 2 application?
alborozd
  • 860
  • 1
  • 6
  • 11
0
votes
1 answer

Nativescript location plugin only opens location settings

I wrote some Code with nativescript and angular to watch the location. But even though GPS on my device is switched on, geolocation.isEnabled() says false. Plus, when running geolocation.watchLocation(..) my device only opens Location Settings. And…
Julisch
  • 308
  • 1
  • 16
0
votes
1 answer

Routing in ListView not working

I'm facing trouble with routing in mys ListView. Routing seems not to work or to be very slow. Here is the "html" view :
user6546998
0
votes
1 answer

ListView not rendering after a SegmentedBar route

I have started using Nativescript with Angular2 - it's awesome btw. I have used the nativescript-angular2 List example in the sample folder of the repository (nativescript-angular/ng-sample/app/examples/list/). I can get the component to render the…
0
votes
0 answers

NativeScript Project Build Successfully. but nothing happen

I am trying to run $tns run android --emulator Apps build successfully but nothing happen. :config phase: createDefaultIncludeFiles :config phase: copyAarDependencies :config phase: addAarDependencies +adding dependency:…
Anil
  • 364
  • 3
  • 15
0
votes
1 answer

Drawer in NativeScript doesn't support TAP gesture

I am using Telerik UI for NativeScript. However, the drawer behaves very strangely, the TAP gesture on Button works correctly, however, when I add TAP gesture to Label, it will not work. I add the (tap)=openDrawer() on the Label. But when I…
0
votes
1 answer

NativeScript Repeater Binding Issue - Showing [Object object] Vertically

I've got a small test app setup using NativeScript 2.1.0, Angular 2.0.0.rc3, and TypeScript 1.8.10. I'm running the project in an Android 5.1.1 Emulator on Windows. I have a ListView working but now I'm trying to get the same data output using a…
HK1
  • 11,941
  • 14
  • 64
  • 99
0
votes
1 answer

Swipe Event : no access to the Component

Following the tutorial, I'm developping my fist app. In this app, I want to implements swipe for navigation. But I'm facing an issue : I cannot access to my component object. I'm using NativeScript + Angular. constructor( private _router:…
user6546998
0
votes
0 answers

NativeScript build failed after adding Telerik UI plugin with error GC overhead limit exceeded

After adding recent Telerik UI plugin in my NativeScript app my BUILD is getting fail with the error "GC overhead limit exceeded". Even if PLATFORM 'REMOVE/ADD' commands are not working as long as I've not removed the Telerik UI plugin. I want…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
1 answer

NativeScript build failed. Error - actual and formal argument lists differ in length

Recently I've updated my NativeScript CLI to 2.1.0 & installed Telerik UI plugin. After that. my app build getting fail with the error "actual and formal argument lists differ in length". Screenshot - package.json { "description": "NativeScript…
Suresh
  • 5,687
  • 12
  • 51
  • 80
0
votes
0 answers

Weird routing behaviour in NativeScript v2.0 with Angular 2

I've been testing out NativeScript and come across the following issue: I have declared these routes in my app.component.ts file: @RouteConfig([ { path: "/Home", component: HomePage, name: "Home", useAsDefault: true }, { path: "/Scan",…
Grzegorz Aperliński
  • 848
  • 1
  • 10
  • 23
0
votes
1 answer

How to use telerik ui plug in for side drawer in NativeScript app

I'm using Telerik UI plugin in my NativeScript app for implementing drawer functionality.I'm following this tutorial for this - https://www.nativescript.org/blog/details/using-cross-platform-native-sidedrawer-component-in-nativescript Here is my…
0
votes
2 answers

NativeScript build failed after adding telerik ui plugin

I'm building a NativeScript app. For implementing Drawer, I'm trying to use 'Telerik NativeScript UI' plugin. But, something is not working after installing the plugin & my NativeScript build is getting failed. Here are 2 screenshots of the build…