741 questions
0
votes
1
answer
385
views
How to navigate using BottomNavigation without tapping the navbar
I have a question regarding navigation if you're using the NativeScript Vue Tab Navigation. I am using the NativeScript Vue Tab Navigation Template (https://market.nativescript.org/plugins/tns-...
1
vote
0
answers
79
views
How to use vue-apollo with Nativescript
I need some help to get apollo-client running with Nativescript VUE:
Here are my files:
vue-apollo.js
import Vue from 'nativescript-vue'
import VueApollo from 'vue-apollo';
import { ApolloClient } ...
0
votes
1
answer
566
views
How to correctly manage workers in nativescript?
I am currently working on a project involving nativescript-vue and typescript and I must work with workers (im not much familiar with NS and workers). I've read the doc and tried the implementation ...
1
vote
0
answers
144
views
RadDataForm style bugs when validation message appears
I'm using RadDataForm with NativeScript-Vue. I made the following style:
RadDataForm {
margin: 0;
padding: 0;
}
DataFormEditorLabel {
visibility: hidden;
width: 0;
height: 0;
margin: 0;
...
1
vote
1
answer
903
views
How to turn window background black on showing modal view in nativescript
As shown in the image 1 below, when the modal view on ios 13 shows up, the default background is black. But on nativescript, the default background is white as shown in the image 2. How to achieve the ...
0
votes
1
answer
279
views
How to handle links in HtmlView-Component
We have a service that provides us with a news feed. This feed is an array of different articles. Each article has an attribute "html", which contains the content written in HTML.
Now it happens ...
0
votes
0
answers
475
views
Allow fullscreen to video player in webview Nativescript-vue
I'm building an application on Nativescript-vue where I'm using webview to play HTML5 video player in it. I want this video player to go fullscreen but I'm to able to see any controls, I did some ...
0
votes
1
answer
569
views
NativeScript-Vue - Components not refreshing but app.js does
having a really strange issue where components that are imported into app.js, do not refresh/reload when changes are made to them, but changes made to app.js are reflected in the simulator and my ...
0
votes
0
answers
103
views
Search Bar crashes the app when tapped (iOS Nativescript-Vue)
I am trying to add a search bar on my ios app with nativescript-vue.
The problem is that when I tap the search bar, the app stops completely and I can't perform any more tasks since.
On Android it ...
0
votes
2
answers
108
views
How to disable button when RadDataForm is not validated?
disable the button when form is not validated.
{N} Playground
A similar question was asked before. It says it's solved but what exactly was the decent solution? Did I miss something?
Form validation ...
0
votes
2
answers
989
views
NativeScript Vue - VueX not working: cannot read property getters of undefined
I have a VueX module named auth.
Here is the module:
export const auth = {
namespaced: true,
state: {
user: null,
status: {
loggedIn: true
}
},
actions: {
},
mutations: {
...
1
vote
1
answer
103
views
Nativescript / Android: avdmanager shows devices but nativescript can't find them
To install android virtual devices on linux I have follow this instruction https://docs.nativescript.org/tooling/android-virtual-devices
I have installed everything, downloaded and created an AVD. So ...
1
vote
1
answer
431
views
Nativescript Vue on android not updating image in drawable folder
I've added images to my drawable folder, namely, I've changed the image icon.png from the default to my custom image. I've also added a screen.png image
however when I try to load the image:
<...
-2
votes
1
answer
1k
views
How to use BarcodeScanner plugin from NativeScript-vue
I am a beginner in NativeScript and need to scan a QR code. I tried to use the nativescript-barcodescanner plug-in with Vue.js and I couldn't, an error occurred while running all the demos. I tried to ...
0
votes
1
answer
585
views
How to handle navigation on a Nativescript Vue app?
I'm having issue understanding how navigation works using NativeScript Vue. I started yesterday and can't seem to make it work. It says my AppDrawer component is recursive.
The main frame contain a ...
0
votes
1
answer
124
views
Multiple fullscreen in scrollview with Nativescript
I would like to know how can I have multiple fullscreen in scrollview with nativescript please ?
I tried this :
<Page actionBarHidden="true" class="page">
<ScrollView orientation="...
0
votes
1
answer
234
views
How to catch PlayerError in nativescript-exoplayer and show a propper alert
When the user has connection problems I get this in the console:
PlayerError com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.upstream.HttpDataSource$...
0
votes
0
answers
99
views
ListView performance issues within Grid row
I've started my first project on Nativescript-vue and there's a simple issue I don't understand.
I have a ListView that is a part of grid layout with dynamically generated height (*)
If I set the ...
1
vote
0
answers
285
views
When should I submit my firebase push notification token to server?
I use this vuex action for registering my push notification token with my server:
async submitPushToken({commit, getters}) {
commit('SET_PUSH_TOKEN', await firebase.getCurrentPushToken());
...
1
vote
1
answer
648
views
Pressing back button on android breaks navigation logic when backstack is empty
I have had similar issues with back button before.
In my app I have a login page where the user submits their phone number and then they are taken to a page where they enter the verification code that ...
0
votes
1
answer
467
views
Autofill OTP verification code in nativescript?
How can i change the TextView property content-type to oneTimeCode so that i can get otp in the suggestion of app.
Reference: https://developer.apple.com/documentation/security/password_autofill/...
0
votes
1
answer
509
views
How to implement Multiple Frames using nativescript-vue MultiDrawer?
I was using RadSideDrawer but now I wanted to try multidrawer.
repo readme file says...
<MultiDrawer>
<StackLayout slot="left">
<Label text="Im in the left drawer" />
&...
1
vote
0
answers
660
views
Nativescript AbsoluteLayout, parent position relative
I have an AbsoluteLayout that is supposed to open and go over a mdCardview, but it seems that it is trying to squeeze everything inside the cardview. I tried messing with the CSS position tag, but it ...
0
votes
1
answer
450
views
Cannot get vue-devtools standalone app to work, on vue-nativescript
I'm trying to learn nativescript with vue.
I've learned about the devtools, and the fact that there should be an Electron standalone app, with
npx vue-devtools, but it does'nt open any window., ...
0
votes
1
answer
43
views
What does the * prefix mean in nativescript-vue?
I've seen multiple code samples using *v-show or in GridLayouts I've seen rows="*,*,*". Is this just a shorthand for auto? Or similar to @ in regular vue.js?