nativescript

nativescript passing props vue

 ̄綄美尐妖づ 提交于 2021-02-19 01:42:39
问题 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)"/> </stack-layout> </template> <script> import EditMeme from './EditMeme' export default { computed: { memes(){ return this.$store.getters.memes } }, components: { EditMeme }, methods: { goToEditPage(ImageUrl) { this.$navigateTo(EditMeme, { context: { propsData: { Image: ImageUrl } }}); } } } </script> I tried passing props this

error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream')

落爺英雄遲暮 提交于 2021-02-10 14:35:24
问题 Steps to recreate $ vue init nativescript-vue/vue-cli-template transport $ cd transport $ npm install $ tns run ios --bundle Log error: error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'Starscream') note: Using new build systemnote: Planning buildnote: Constructing build description ** ARCHIVE FAILED ** Mac OS High Sierra 10.13.6 Darwin Aerosol.local 17.7.0 Darwin Kernel Version 17.7.0: Wed Feb 27 00:43:23 PST 2019; root:xnu-4570.71.35~1/RELEASE_X86

How to edit NativeScript-Angular RadDataForm UIStepper on iOS?

让人想犯罪 __ 提交于 2021-02-10 14:14:55
问题 In a NativeScript-Angular app, I’m trying to style a RadDataForms TKPropertyEditor . For the Stepper Editor on iOS I want do increase the distance between the controls and the displayed value, but I can't find a way to access them. I'm using nativescript-ui-dataform: 4.0.0 . <TKEntityProperty tkDataFormProperty name="grade" displayName="Bewertung (1 – 10)" index="1"> <TKPropertyEditor tkEntityPropertyEditor type="Stepper"> <TKPropertyEditorParams tKEditorParams minimum="1" maximum="10" step=

I can not get http request to work on android 10 api 29 or api 30. It does work with lower apis though

荒凉一梦 提交于 2021-02-08 11:53:23
问题 I'm writing an Android shopping app using the Telerik NativeScript platform. I need to get the client details for orders and deliveries, so I get them to register on the initial startup. The app works on APIs 17 up to API 28, I don't know what is stopping it from working on API 29 and API 30. If I can't get this to work, I will not get the sending of orders back to the web application to work either. The code:- const Observable = require("tns-core-modules/data/observable").Observable; const

NativeScript Setup Failed

不打扰是莪最后的温柔 提交于 2021-02-08 05:54:30
问题 I run this command in my Terminal: tns doctor --log trace And I get this result: execFile: /Users/iyasilias/Library/Android/sdk/platform-tools/adb "help" execFile: /Users/iyasilias/Library/Android/sdk/platform-tools/adb "help" spawn: /Users/iyasilias/Library/Android/sdk/platform-tools/adb "--help" Socket { _connecting: false, _hadError: false, _handle: Pipe { bytesRead: 0, _externalStream: {}, fd: 15, writeQueueSize: 0, owner: [Circular], onread: [Function: onread], reading: true }, _parent:

Migrating Angular with Nativescript/ Error File angular.json could not be parsed

不羁的心 提交于 2021-02-07 19:18:58
问题 I try to extend Angular with Nativescript (instructions). But when I try to add nativescript-schematics (ng add @nativescript/schematics) I always get the message "File angular.json could not be parsed!": + @nativescript/schematics@0.5.0 updated 1 package and audited 49856 packages in 12.849s found 9 vulnerabilities (1 low, 5 moderate, 3 high) run `npm audit fix` to fix them, or `npm audit` for details Installed packages for tooling via npm. Reading Project Settings Project settings: { "root"

Migrating Angular with Nativescript/ Error File angular.json could not be parsed

南笙酒味 提交于 2021-02-07 19:17:56
问题 I try to extend Angular with Nativescript (instructions). But when I try to add nativescript-schematics (ng add @nativescript/schematics) I always get the message "File angular.json could not be parsed!": + @nativescript/schematics@0.5.0 updated 1 package and audited 49856 packages in 12.849s found 9 vulnerabilities (1 low, 5 moderate, 3 high) run `npm audit fix` to fix them, or `npm audit` for details Installed packages for tooling via npm. Reading Project Settings Project settings: { "root"

Migrating Angular with Nativescript/ Error File angular.json could not be parsed

纵饮孤独 提交于 2021-02-07 19:17:06
问题 I try to extend Angular with Nativescript (instructions). But when I try to add nativescript-schematics (ng add @nativescript/schematics) I always get the message "File angular.json could not be parsed!": + @nativescript/schematics@0.5.0 updated 1 package and audited 49856 packages in 12.849s found 9 vulnerabilities (1 low, 5 moderate, 3 high) run `npm audit fix` to fix them, or `npm audit` for details Installed packages for tooling via npm. Reading Project Settings Project settings: { "root"

toggle listview content in nativescript with angular

旧街凉风 提交于 2021-02-07 10:30:37
问题 hi i need to toggle individual content in listview when the respective button is clicked in nativescript angular, i added bellow my code. if anyone know please answer me. thanks in advance import { Component, OnInit } from "@angular/core"; import { Item } from "./item"; import { ItemService } from "./item.service"; @Component({ selector: "ns-items", moduleId: module.id, templateUrl: "./items.component.html", }) export class ItemsComponent implements OnInit { items: Item[]; isList = true;

toggle listview content in nativescript with angular

别等时光非礼了梦想. 提交于 2021-02-07 10:30:05
问题 hi i need to toggle individual content in listview when the respective button is clicked in nativescript angular, i added bellow my code. if anyone know please answer me. thanks in advance import { Component, OnInit } from "@angular/core"; import { Item } from "./item"; import { ItemService } from "./item.service"; @Component({ selector: "ns-items", moduleId: module.id, templateUrl: "./items.component.html", }) export class ItemsComponent implements OnInit { items: Item[]; isList = true;