nativescript Questions

5

Solved

How to keep data in a NativeScript application persistent. Can anyone tell about localStorage in NativeScript? Edit: Was looking for localStorage at the time.
Paola asked 13/9, 2016 at 6:4

4

It works on xCode but not with native script tns. tns build android is fine. When I execute tns prepare ios && tns build ios I get the error below as those directories don't exist. The Deb...
Barquentine asked 22/1, 2020 at 9:38

2

Whenever I tried using ng new --collection=@nativescript/schematics --name=my-app --shared OR Any of the other command line commands to generate a project in which I can develop PWA app (Web + Mobi...
Regeniaregensburg asked 3/7, 2020 at 0: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

3

Solved

I have the following client: new Client { ClientId = "nativeapptest", ClientName = "Native App Test", Enabled = true, RequireClientSecret = false, AllowedGrantTypes = GrantTypes.Code, Redire...
Geothermal asked 30/12, 2018 at 19:38

1

I am developing a mobile application with NativeScript (CLI v5.2.0) Angular (v7.2.3) and I have my @ViewChild ElementRef that was undefined. I checked the presence of ViewChild and ElementRef in t...

6

Solved

I want to create app in Nativescript with fullscreen image on page. I have to use background-image: url('~/images/background.jpg');. But how to make it full screen. Thanks for your help
Hygrostat asked 8/4, 2016 at 13:27

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

I have been trying to create an android app using nativescript.I am using fetch module to get response from my server.When I am trying to get response from httpbin.org/get ,it is OK.But when I am t...
Tincal asked 9/10, 2016 at 21:13

2

Solved

I have a problem with data binding in TextField via ngModel I have model class export class Product { name: string description: string imageUrl: string } View: <GridLayout backgroundColo...
Sarraute asked 16/9, 2017 at 12:23

8

I am trying to develop android app using Nativescript and try to remove Action Bar (top bar with "testns" title), but don't know how. I am using code below but not working. Currently using tns v.1....
Mounting asked 28/10, 2015 at 1:40

3

Solved

I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between vue-native or nativescript-vue?
Apteral asked 20/12, 2018 at 10:46

3

Solved

I ma following a course on pluralsight and I have encountered an odd problem. My list view is only showing the first element and nothing else. This is odd and i've used list views without problem b...
Votive asked 25/10, 2016 at 4:5

2

I am having an issue in the android emulator where my svg/icon Layers are showing as black. This sometimes effects highway/road markers as well as my map markers. The plugin is currently using the ...
Baritone asked 17/5, 2018 at 0:48

2

Solved

Having trouble passing a prop in nativescript this.$navigateTo() <template> <stack-layout v-for="meme in memes"> <Image :src="meme.url" @tap="goToEditPage(meme.url)"/> </...
Combined asked 7/11, 2018 at 13:19

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 cannot add a new component to my Nativescript project, when I execute ng generate component faqs it returns the error: Option "entryComponent" is deprecated: Since version 9.0.0 with Iv...
Pedometer asked 7/10, 2020 at 2:4

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...

3

Solved

First of all, hope so this question is not too broad. Coming from front-end background I'm thinking to start learning one of JavaScript-related frameworks for mobile development. And here comes the...
Fawnfawna asked 4/11, 2019 at 12:56

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...

3

Solved

When working with a NativeScript application view where a user can enter input, the native application Keyboard Input overlays the TextField component. While this doesn't stop the user from enterin...

2

Solved

Error Expected 2 arguments, but got 1.ts(2554) core.d.ts(8064, 47): An argument for 'opts' was not provided. Code is from NativeScript Marketplace https://play.nativescript.org/?template=play-n...
Benbena asked 19/6, 2019 at 14:19

2

I'm learning native script by following this course on udemy and on the first lines of my code, I'm facing a problem on Android. I just created a component with a Stacklayout and inside a Label. W...
Jemima asked 7/1, 2020 at 12:1

1

I have a nativescript-vue app with the RadListView component to display data to the user. Each row of the list include multiple informations for the current item. When i tap on a button to load and...

© 2022 - 2024 — McMap. All rights reserved.