741 questions
0
votes
2
answers
19
views
NativeScript Android app closes when trying to add a marker in Google Maps
I'm having a problem with my code. I'm just trying to add a simple marker. Here's my implementation
<script setup lang="ts">
import { AbsoluteLayout, Page } from '@nativescript/core';
...
0
votes
1
answer
61
views
$navigateTo error: Failed to resolve Frame
I have a NativeScript-Vue app using Firebase like this:
<!-- src/components/App.vue -->
<script setup lang="ts">
import { firebase } from '@nativescript/firebase-core';
import '@...
2
votes
2
answers
262
views
NativeScript duplicate kotlin class on `ns run android`
I've been working on an application that I got from a leaving colleague and I am new to NativeScript.
When trying to run an app on an Android emulator using the ns run android command I get the ...
0
votes
1
answer
192
views
Trouble Configuring ANDROID_HOME and PATH Mac OS
ERROR:
No compatible version of the Android SDK Build-tools are installed on your system. You can install any version in the following range: '>=23 <=33'.
When I run echo $ANDROID_HOME ...
0
votes
1
answer
151
views
Nativescript Vue v-show with transition
I am struggling with using of v-show with Nativescript. I was trying to make an animation described in https://www.nuvious.com/posts/nativescript-vue-transitions .
When using v-show the element does ...
0
votes
1
answer
51
views
Nativescript 8.5 android and ios app size is > 200mb. is it ok?
After switching from ns 7 to ns 8.5, the size of the application has grown by 2 times, given that the application code has not changed at all. This is fine? And if not, what can you please tell me how ...
0
votes
1
answer
205
views
How to change icon color in SearchBar component Nativescript + Vue?
(https://i.sstatic.net/f8DyP.jpg)
<SearchBar
class="w-full rounded-full"
textFieldHintColor="#fff"
color="#fff"
textProperty="#fff"
...
0
votes
0
answers
550
views
Nativescript fallback exception when referencing external dependencies
Summary
Include details about your goal:
I am attempting to include external libraries in a nativescript (vue) app; specifically openpgp
Describe expected and actual results:
Initially, I expected to ...
0
votes
1
answer
97
views
Positioning actionbar items on android
I have this code
<template>
<Page>
<ActionBar title="Action Items">
<StackLayout orientation="horizontal">
<Image ...
1
vote
1
answer
398
views
How to receive notification push in Nativescript-vue
Here is my code in app.js
import Vue from 'nativescript-vue'
import Home from './components/Home'
new Vue({
render: h => h('frame', [h(Home)])
}).$start()
import { firebase } from '@...
0
votes
1
answer
67
views
Nativescript Vue show badge in BottomNavigationBar
I'm currently building an app with Nativescript and Vuejs. I use the Material BottomNavigationBar(https://github.com/nativescript-community/ui-material-components/blob/master/packages/...
0
votes
0
answers
165
views
Impossilbe to downgrade gradle version during build
As I was trying to provide fixes on our app developed with nativescript-vue 2.4 and nativescript 7.
The situation right now is gradle 7 no longer support some compiler features. For some obscure ...
0
votes
1
answer
164
views
Nativescript IOS icon change in background mode
Hi Nativescript community,
When i swipe up close apps in iOS, the app icon is showing default icon.
How can i change this icon?
I used following commands to change my apps icons and splash screen ...
2
votes
0
answers
155
views
Could not find method compile() for arguments [com.mapbox.mapboxsdk:mapbox-android-telemetry:6.1.0]
I'm trying to implement mapbox in my nativiscript app using @nativescript-community/ui-mapbox plugin. With regard to the documentation, it should be added :
<service android:name="com.mapbox....
0
votes
1
answer
363
views
TNS-Core-Modules dependency conflict with Nativescript 8
I inherited some Nativescript code that was working fine for iOS but failing for Android.
My environment is:
android sdk 11
jdk 14
node 16
My package.json dependencies are:
"dependencies": {
...
0
votes
1
answer
190
views
Nativescript/Angular Navigating Back is not working in Children Page
I navagate from main/tv-theke-page to main-tvtheke/main-tvtheke-home-page,
but when i press back in android does not navigate back to main/tv-theke-page it exits from app
It seems is something wrong ...
0
votes
0
answers
541
views
How to listen for Button KeyPresses in Android/IOS for Nativescript/Angular
Im trying to navigate between buttons with Keys(DPAD) so i need to listen for KeyEvents
I Solved it for Android i just don't know how to do it in IOS
public onButtonLoaded_1(args) {
let btn = args....
0
votes
3
answers
685
views
Can You Change Buttons color onfocuse In Nativescript/Angular
Can You Change Buttons color onfocused like yout do in TextField In Nativescript/Angular..
It works in TextField but not in BUTTON
Does someone knows some other solution, im trying to build a tvapp i ...
3
votes
0
answers
529
views
Migrate NativeScript 6.5.1 to 8.1.4 problems with TextField of Nativescript-vue and WebPack 5
When try to migrate NS 6.5.1 to NS 8.1.4 TextField fail.
I use:
@[email protected]
@nativescript/[email protected]
Node v16.13.0
NPM v8.1.0
After ns clean I execute ns doctor:
$ ns doctor
Error while ...
1
vote
1
answer
343
views
Nativescript 8.1 does not recognize <Tabs>
I could not understand how to use Tab component in Nativescript-vue after upadate Nativescript 8.1...
The below code was work collectly in Nativescript playground, however it got errors in my project.
...
1
vote
1
answer
266
views
NativeScript: @nativescript/geolocation vs nativescript-google-maps-sdk
Error executing Static Binding Generator: File already exists. This may lead to undesired behavior.
Please change the name of one of the extended classes.
File:C:\repo\geo\geoapp\platforms\android\app\...
0
votes
1
answer
48
views
Adding new items is extremely slow
I'm exploring Nativescript. Maybe I don't understand something but adding new items with this simple code takes more than 1 second on my Android! The same code with divs executes instantly in any Web ...
1
vote
0
answers
67
views
Calling external application from IOS 9 webview with Nativescript
I'm trying to open external application from webview on IOS 9 and I keep getting this error.
ispmobile://param?TID=enter_your_id
-canOpenURL: failed for URL: "ispmobile://param?TID=enter_your_id&...
0
votes
1
answer
578
views
Nativescript 7 vue app crashes for some users on Android splash screen
We have received reports from around 5 users that the app has started crashing while still displaying the splash screen. We don't have device and API information for all of them, but the most recent ...
0
votes
1
answer
307
views
Nativescript-vue: How to build a chat template
I want to build a small chat as we all know from WhatsApp.
Currently I am able to display messages within a ListView.
<template>
<Page>
<ListView separatorColor="transparent&...