angular2-nativescript Questions

3

{ "compilerOptions": { "module": "commonjs", "target": "es5", "sourceMap": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "noEmitHelpers": true, "noEmitOnError": true, ...

5

I need to create an Image button which includes a custom image and a label in {N} + Angular. Something like this: Here's my code. I'm using the stack layout inside the grid layout. I can't see...

2

Solved

If I add textWrap="true" to a Label, text is wrapped over several lines, so far so good. But I have a very long string and our design only have room for two lines. How do I limit the Label to max ...
Cofield asked 10/3, 2017 at 10:8

6

Solved

I'm using nativescript with angular 2. I'm wondering how to rapidly create a ng component in a Nativescript Project. For example into Angular 2 to create a component we are using ng generate comp...
Velours asked 1/1, 2017 at 22:29

3

I created a NativeScript app with angular 2, i have an array of objects that i expect to see in the frontend of the application. the behaviour is that if i push an object into the array directly in...
Osiris asked 28/8, 2016 at 23:36

6

I am building an app using Nativescript/Angular 2 I want to be able to download a file from a URL and save it to the device in a location the average user would have no problems finding it. I beli...
Fecundity asked 13/12, 2016 at 16:7

2

Solved

In Angular, the the de facto way to load env vars into the app is using environment.ts which is part of the cli. In NativeScript, it seems like that doesn't work with the NativeScript cli. What's...
Ransell asked 20/7, 2018 at 20:52

2

I have an OpenEdge database, I have created a REST Service and am able to CRUD to it from the outside World. I have created a Nativescript app that can pull data from the REST service etc, but now...

1

Solved

I recently updated my xcode to the beta for Xcode12 so I can see how my app will run on the upcoming release of IOS 14 When trying to run TNS RUN IOS I get the following errors: Saving metadata gen...

2

I am new in NativeScript, I tried to run my HelloWord app using NativeScript and Angular. I connected my android device and then i run command tns run android its how me following error. Error: EN...

4

Solved

I am trying to handle the hardware back button in a NativeScript app. I am using NativeScript version 2.3.0 with Angular. Here is what I have in main.ts file // this import should be first in ord...
Glaab asked 15/11, 2016 at 6:39

2

I placed Android SDK inside /opt/android-sdk and also updated .bashrc file with the lines : export ANDROID_HOME="/opt/android-sdk" export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$...
Erectile asked 28/12, 2016 at 15:39

2

Solved

I tried "hr" tag in component html file in nativescript-angular. But it doesn't shown horizontal line in simulator. (tested with ios simulator) <StackLayout> hr> <Label horizontalAl...
Bopp asked 3/9, 2018 at 12:37

1

I have two kinds of alerts- secondary alerts and delayed alerts Secondary alert messgaes are shown at first and user has to hit OK button to close it. But there are delayed alerts also..which are ...
Languet asked 10/10, 2019 at 13:15

3

Solved

We are using nativescript with angular for our mobile app. I want to use the Google Play pre-launch report feature, but our app requires a password to be entered. Google Play allows specifying a pa...

3

Solved

I'm working with NativeScript from Telerik and I made an app with a debug name ("notiApp") but now I can't change the app's name in launcher and action bar. I already tried configuring my AndroidM...
Conveyancer asked 3/10, 2016 at 13:35

2

Solved

I'm trying to create a table or data grid with dynamic row and column count in my NativeScript application. I have some product categories and some products in these categories. Products have some ...
Confiscatory asked 23/6, 2018 at 21:55

1

Solved

After I updated to the latest version of nativescript-toast it stopped working in iOS (In Android it's working fine). I mean, the toast are not being shown, while the app works as expected. In the...
Raycher asked 16/4, 2019 at 13:54

3

Solved

I'm new to nativescript.I don't know how to give border and border-radius to stacklayout. Below I have posted what I tried so far: component.html: <StackLayout class ="stackBorder" orientati...
Renovate asked 25/5, 2017 at 12:37

2

By default the ListPicker takes up a ton of screen space. Is there a way to make it behave like the metaphor for the HTML <select> when shown on mobile? I've used this react native plugin be...

2

Solved

I'm doing a Nativescript-Angular-App and i have a problem. The user has to click on the right position on a picture. I don't understand how to get the coordinates of a simple tap. I can get the ...
Bendwise asked 28/7, 2017 at 10:25

5

TNS v2.5.0 I've imported LISTVIEW_DIRECTIVES into my app.module and my template looks like <ActionBar title="Events"></ActionBar> <StackLayout orientation="vertical"> <RadLi...

3

I wanted to convert the XML I received from Web API response to JSON in Angular 2. The application is developed in Nativescript. Not able to find a solution for this.
Waxplant asked 16/3, 2017 at 15:26

2

For about a year now i have been working on an Angular 2 web app as a hobby and have now at a point where I can start testing. I was wondering how i can use my existing angular 2 code and convert i...
Septum asked 24/7, 2017 at 1:38

1

Solved

while installing native-script i got repositories.cfg could not be loaded error , please help me debugging it. It would help me if you can give the way to download the file externally. The co...

© 2022 - 2024 — McMap. All rights reserved.