Questions tagged [angular-nativescript]

61 questions
1
vote
0 answers

Why setInterval(,0) makes animation much smoother in NativeScript?

I'm working on custom animation (screen blinking with 60fps) on Android, and I was very surprised that using of stupid setInterval(() => {...}, 0) works much better that the native android's Choreographer. With setInterval(() => {...}, 0) I've got…
1
vote
2 answers

prevent RadSideDrawer from opening

I have a RadSideDrawer that is apparently available through the whole app. Now, there are some routes that I want to prevent the drawer from showing. I thought of the logical way of doing this is by listening the onDrawerOpening event. However, the…
iamjc015
  • 2,127
  • 6
  • 25
  • 61
1
vote
2 answers

Angular + Nativescript Code Sharing Project Remove Action Bar

My project is using the Angular + Nativescript code sharing project to build for both web as well as mobile for Android and IOS. The problem is trying to remove the Action Bar for the entire application. I have read a few posts on this issue however…
1
vote
2 answers

Change statusbar font color

Is still possible to change statusbar color on certain page by using angular2/nativescript? I tried to use this way from docs but it doesn't work. import { topmost } from "tns-core-modules/ui/frame"; if (topmost().ios) { var navigationBar =…
1
vote
1 answer

Inappropriate Server response in upload failure error block net.gotev.uploadservice.ServerResponse@73e7f34

I am facing issue in getting server response in error block (callback) of plugin NativeScript/nativescript-background-http in mobile app development for uploading file. On basis on error server response will perform other operation Error Call…
1
vote
1 answer

Multi select dropdown or picker node module for Nativescript angular project

Is there any node NPM module for multi-select dropdown in nativescript Angular. I have gone through most of the plugin in native script marketplace but I could not find the one. I was looking for the plugin which should be compatible with both…
Uday
  • 21
  • 10
1
vote
0 answers

Angular nativescript custom modal position absolute not working

I'm using NativeScript with Angular, I'm trying to use a custom modal to show modal to half of the page, the background needs to be transparent. I have use position absolute to the component which I have created as a modal. but it is not working.…
preethi R
  • 169
  • 6
0
votes
0 answers

angular natives script solution not running in new xcode version

I'm trying to run the existing angular native script solution in bellow environment. I'm getting the error while running it, please help me on resolving this issue. Mac Os: 13.3.1 xCode: 14.3 Node: 14.21.3 Native Script: 6.1.0 Solution…
0
votes
1 answer

Back navigation duplicates the previous page

I upgraded to the newest NativeScript version (8.4) with Angular 13. tns doctor says everything is OK. I have an outlet. The root route is a page with a mapbox map. When I navigate forward from the root route in the same outlet, everything happens…
Peter
  • 748
  • 6
  • 20
0
votes
1 answer

Refresh NativeScript (Angular) Labels text after tap action (updating label)

I have a list of labels in NativeScript app representing a status. I have method that changes the status of each label after tap. After I tap the label it should change the status value (number) and show new value on the screen right after the…
luk
  • 205
  • 3
  • 14
0
votes
0 answers

Open NativeScript project in Android Studio

I have a robust app, created with NativeScript + Angular. I would like to drop NativeScript and be able to continue working on the project in Android Studio. We need to stop the development with NativeScript, without starting the app from scratch.…
Peter
  • 748
  • 6
  • 20
0
votes
1 answer

How to disable screenshot in android and ios in nativescript angular

I am making an app in which students can give their test online and i would like to restrict them from taking screenshots or record screen on both iOS and android. So far i have come across android solutions. I want to figure out how to do it in…
0
votes
0 answers

*ngIf is not working in nativescript when using Android10 mobile

*ngIf is not working in the below code for changing the image in Android 10 mobile. ** *
0
votes
1 answer

RadAutoCompleteTextView showing "no result found error" in first build

While using RadAutoCompleteTextView in nativescript-angular app,I'm facing this weird problem: I build my project using "tns build android --bundle".App starts but RadAutocompleteCompleteTextView shows "no result found" although data bound to items…
0
votes
1 answer

How to implement Android Background service in a NativeScript Angular project?

I'm trying to create a background service for nativescript-geolocation to get notifications when an event has been triggered. I've found a lot of examples for the general NS version, but nothing for the Angular version and I can't find the way to…