Questions tagged [nativescript-angular]

The tag has no usage guidance.

0
votes
0answers
6 views

Injecting routerExtension in a base class implications

I have created base component class that will be inherited by most of my components. I did this in order to avoid redundant codes like page navigation and loading properties. I also created a service ...
0
votes
0answers
13 views

NativeScript: GirdLayout not showing

I would like to have a header for my GridLayout, which is not showing - I tried it like this: <StackLayout class="form" row="0"> <Label textWrap="true" class="compulsoryInformationTop" ...
0
votes
0answers
6 views

Nativescript : Tabview disappears on iOS when navigated to from other page

im developping an app using nativescript + angular 7. when i try to navigate to the tabview component from an other component the tabview disappears on iOS . this my tns info output: ✔ Component ...
1
vote
1answer
24 views

Call android method (sdk, aar or jar) from nativescript

I need to develop a nativescript app integrated with a sdk android native. I created a sample app in android studio and generated a aar file, then I build a nativescript plugin using this file. ...
-1
votes
0answers
12 views

Nativescript GridLayout not showing all rows

I am trying to create a bottom navigation with Nativescript GridLayout, however, when rows is set like this: rows="*, 50*" it appears to be only showing the first row. rows="auto, 50" works perfectly ...
-1
votes
0answers
10 views

RadListView Header binding

I am using nativescript with angular. version: "nativescript-angular": "~7.2.0", Does anyone know why binding to a RadListView header using directive tkListViewHeader does not work? Binding works ...
0
votes
1answer
7 views

NativeScript Sidekick: “No matching version found for tns-android@0.0.1”

After installing AndroidStudio, I could start the Android Emulator Nexus 5X, but when trying to run my NativeScript project in Sidekick, I get "Error detected during LiveSync on emulator-5554: No ...
0
votes
1answer
18 views

NativeScript Upgrade steps failing with missing TypeScript and Webpack support scripts

I am trying to upgrade an older project to run with the latest NativeScript version. I am following the steps outlined in the NativeScript Upgrade page. As far as I can tell this project was working ...
0
votes
1answer
27 views

NativeScript Angular RadListView rendering extremely slowly

Problem: I have an angular-nativescript app that needs to display some items in a grid. I'm using a RadListView to render the list and after upgrading my angular, {N}, and other library dependencies ...
0
votes
1answer
20 views

How to migrate existing NativeScript app into web app - Code split

In the official documentation, there are only examples of how to migrate Web app into NativeScript but I want to migrate existing NativeScript into a Web app. I can not find a solution anywhere on ...
0
votes
0answers
16 views

Nativescript-pdf-view doesnt work properly wtih Angular

I tried to use the nativescript-pdf-view plugin (https://www.npmjs.com/package/nativescript-pdf-view) for my mobile app project (nativescript-angular). Somehow the PDFView doesn't render. I tried to ...
-2
votes
0answers
14 views

Nativescript: Notification every day from start to end date and also a reminder alarm

I have a requirement for scheduling notification to the user to take their medicines on time each day. Eg 3 times a day for 1 week. Also reminder alarm for few minutes at the same time What is the ...
0
votes
1answer
19 views

startScanning() does not find any device in NativeScript App

I just started learing NativeScript and I made a simple app where I am trying to scan Bluetooth devices. I used the "nativescript-bluetooth" plugin, but the startScanning() does not find any device(...
2
votes
0answers
29 views

Fatal error came while using nativescript svg plugin in nativescript angular

Iam developing android and ios application using nativescript angular.Fatal error arised when i was building my app in ios with the nativescript-svg plugin.i have an error like: Users/admin/Documents/...
-3
votes
0answers
8 views

Why plugins are not working in angular+nativeScript

no plugin wants to work on angular always I get the error failed to find module i try with nativescript-videoplayer or material-button and nothing
1
vote
1answer
35 views

Is there a way to catch and cancel the back button event in a NativeScript app on the iOS platform?

I'm working on a NativeScript-Angular app for both Android and iOS but have hit a problem with standard back button navigation. I have resolved the issue for Android, but cannot find a solution for ...
0
votes
1answer
54 views

Nativescript Angular, changing theme

I am building a NativeScript application with Angular and I am trying to implement Theme switching, but I cannot get it to work with Webpack bundling. My versions: Angular 7.2.12 Nativescript-...
0
votes
2answers
52 views

Get current element in listview

I am developing a simple messenger. I want to implement message seen/unseen feature. How can i get the position of the marked elements, these elements are inside the wrap layout which is inside the ...
0
votes
0answers
28 views

Specific SCSS on Specific Component not Working

In my login component, I would like to use a specific scss file (which I bind in my login.component.ts with styleUrls) The problem now is, that my application always takes the scss from my _app-...
0
votes
1answer
15 views

Inserting multiple RadListViews does not show on iOS

I need Multiple RadListViews on the same page, I'm using NativeScript Angular I don't know the number of items in each list, and the items might be of very different size depending on the amount of ...
0
votes
1answer
22 views

NativeScript Importing NGXS module in app.module throw an error in log console

I'm new with NativeScript and I want to use a state management NGXS and implement to my app. I have installed NGXS with NPM: @ngxs/store @ngxs/logger-plugin and @ngxs/devtools-plugin. So I added ...
0
votes
0answers
19 views

Nativescript Camera and ImagePicker Plugin Bug

I am trying to allow the user to upload a photo newly taken by the camera or from the photo gallery, but before that, preview it. When both Camera and ImagePicker packages are installed. Returned ...
0
votes
2answers
23 views

NativeScript not showing custom fonts

Custom fonts are not showing up on my app. I did some googling, pretty sure I named everything correctly, font files are in the correct folder. Not too sure what's going on. This is how I'm using ...
0
votes
1answer
20 views

How to get through the NativeScript-Angular Lesson 2 Step 10?

I want to do the Playground tutorial for NativeScript and Angular. I´m stuck in lesson 2 step 10, due to a compiling error stating, that the http-related segments of the login function are not known ...
0
votes
2answers
17 views

NativeScript ActionBar keeps re-appearing on navigation

I have a page with a hidden ActionBar (see below) which works fine normally. However when I navigate to another page and then use back() to get back, the ActionBar is now fully visible. (Note: I ...
0
votes
1answer
40 views

Facing problem in putting color dots of relevant events on a single date

I am facing problem in showing dots of events on a single date. However, I managed to display event color as a square box. But I want to display it as a dot. The events are coming from the API. Any ...
0
votes
2answers
48 views

Unit testing Nativescript application logic on a browser

I am trying to set up unit testing for a Nativescript application, run by ng test on a browser. The problem is that whenever there is a tns-core-modules or another plugin import, the module cannot be ...
0
votes
0answers
28 views

How do I get inline events to work for RadCalendar Week View?

I'm using RadCalendar on iOS. For month view, I have inline events working. When I click on a day, the events for that day appear within a horizontal bar than opens in the month view of the calendar....
0
votes
0answers
16 views

(Native Script) : Empty white line/space appearing on layout when sharing hotspot (ios blue bar)?

If you take a look at this screenshot https://imgur.com/a/wbDmxo9 You will notice a white space appearing between the regular nativescript layout and the IOS blue bar. Im using a page-outlet and a ...
0
votes
0answers
15 views

Randomly an error appear initializing component in Nativescript

A simple component page is loaded after login process with a navigate (RouterExtensions). This component only shows a random phrase from an array. Some times, no always, only about 20% of times, the ...
1
vote
1answer
62 views

Nativescript-Dev-Appium Setup

I am trying to implement nativescript-dev-appium in an existing nativescript-angular project and am having a lot of trouble getting the plugin configured. The simulator appears to be found but the ...
0
votes
0answers
60 views

NativeScript Google Maps code crashes on iOS, but only when archived

I'm working on a NativeScript (angular) project that displays a google map, using the nativescript-google-maps-sdk plugin (my package.json below). I also have the requirement to provide some map tiles ...
0
votes
1answer
85 views

How to setup CI/CD for nativescript using Visual studio online/Azure dev ops tools

Im try so setup a CI/CD Pipeline for a Nativescript app, added the commands to install node and npm install but nativescript has dependencies that it need. How do I go about on Azure dev ops ...
0
votes
0answers
21 views

How to prevent default page loading while using Deep linking

I'm creating an App using Angular Nativescript and I need to have Deep Link where the app should be opened using url and redirect to different page. Usually the App is configure with Angular routing ...
1
vote
0answers
42 views

Code sharing nativescript and angular material dialogs

I have a web project that heavily uses angular material dialog. I would like to re-use the dialog components for both the web and the nativescript-angular apps. I have split the functionality for ...
0
votes
1answer
43 views

Javascript heap error when nativescript application bundled with webpack

Javascript heap error coming up when nativescript application is bundled with webpack. FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory this ...
0
votes
1answer
32 views

how to display 2 sets of lists in the same list using ngFor (nativescript)

Using nativescript to develop an iphone app. I'm trying to display 2 lists using ngFor to loop through an array. for example...my data looks like this object (this.metroGroup): { YL: [{ ...
1
vote
0answers
29 views

Is there a way to implement custom UIApplication for iOS for NativeScript app?

I have a custom implementation of the UIApplication for iOS and I want to know if there is a way pass that to UIApplicationMain. I looked thru the implementation on github but don't see any way to ...
1
vote
1answer
29 views

Bootstrapping a React renderer: how do I get a reference to the root view at app startup?

I'm creating a React renderer for NativeScript (i.e. to allow you to use React as a UI framework for NativeScript). ReactNativeScript.render() (equivalent to the more well known ReactDOM.render()) ...
0
votes
1answer
22 views

Using Openpgp lib, I get: Failed to find module “stream”

I installed the openpgp lib in my project and run a service that uses the Android emulator. It then throws the following error: An uncaught Exception occurred on "main" thread. java.lang....
-3
votes
0answers
30 views

How to use NativeScript-Angular import third party module and scan width Preview APP?

I use Preview APP with my cell phone to scan NativeScript project, but throw error about "not found the third party dependences" error like this: Error calling module function Error calling ...
0
votes
0answers
45 views

Nativescript-angular post request pipe(map()) not returning anything, no errors thrown

EDIT 4: I was able to solve the issue. I am not sure what was being the problem exactly. Anyway, I'll try to describe what made me to finally solve the problem. First of all, I tried to build it on ...
0
votes
0answers
41 views

Nativescript app - nativescript-toast plugin - Failed to find module:

When using the nativescript-toast plugin, my app receives the error "Error: com.tns.NativeScriptException: Failed to find module: "nativescript-toast", relative to: app/tns_modules/" I created a new ...
0
votes
0answers
28 views

NativeScript | Can't run Android app: Please fix the version conflict either by updating version 11.4.0 of the google-services plugin

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict either by updating the version of the ...
0
votes
1answer
22 views

Sending a payload through the nativescript background-http plugin, one of its properties being an array

Im trying to send a request to a dotnet core api using the nativescript background-http plugin and in the payload one of the properties represents an array. Im trying to send the array like this: let ...
0
votes
0answers
52 views

NativeScript Angular: TabView and SideDrawer Layout distorted when App Is opened during or after a Phone Call

On iOS if the NativeScript app is opened during or directly after a phone call the layout is distorted by the addition of the call status bar at the top. The pictures show the occurring displacement. ...
2
votes
0answers
37 views

Side Drawer Scrollview Issue in IOS

I face the issue in ScrollView when implementing it inside of Radsidedrawer. The following code snippet was Radsidedrawer Main Content Code <StackLayout tkMainContent> <StackLayout [...
-1
votes
1answer
30 views

How do i profiling navigation lag and out of memory issue on nativescript angular apps?

I build nativescript angular apps for android with dependencies like below "nativescript-angular": "^7.2.2", "nativescript-background-http": "^3.4.0", "nativescript-bitmap-factory": "^1.7.1", "...
0
votes
1answer
23 views

Nativescript-vue, How to change BarSeries(Radchart) graph “bars” color?

Code: <BarSeries v-tkCartesianSeries categoryProperty="Country" valueProperty="Amount" :items="items1" /> <CategoricalAxis v-tkCartesianVerticalAxis /&...
0
votes
3answers
71 views

Nativescript Algolia iOS Build Fail

I am trying to build nativescript-algolia but it fails on iOS. This is the error I am getting: [!] Unable to determine Swift version for the following pods: - `AlgoliaSearch-Client-Swift` does not ...

http://mssss.yulina-kosm.ru