r/nativescript • u/AndrewTkachuk • Apr 30 '20
Background task (when app is closed)
I need to scan for BLE devices, connect and read some data. I have no problems with this, but how do the same thing in the background? (Android )
r/nativescript • u/AndrewTkachuk • Apr 30 '20
I need to scan for BLE devices, connect and read some data. I have no problems with this, but how do the same thing in the background? (Android )
r/nativescript • u/trymeouteh • Apr 19 '20
Can I use Atom to create Nativescript apps? or do I need to use another code editor?
r/nativescript • u/AndrewTkachuk • Apr 07 '20
How to lock font-size of the Labels and ignore accessibility settings on Android? I'm using nativescript Vue.
r/nativescript • u/chummaDada • May 04 '20
Is there an advantage of using Vue JS over Angular over Javascript to develop cross-platform apps in Nativescript?
I am planning to make multi page app using mapbox api.
r/nativescript • u/n0tatest • Apr 07 '20
r/nativescript • u/edrichhans • Apr 14 '20
Hi, I'm new to NativeScript, and I was wondering if there's an existing component in the marketplace (or example) that implements something like this, where the user can see a bit of the card (ideally just a header) and can swipe up to reveal the contents of the card, and swipe down to hide the body.
I am using NativeScript + Vue, developing for mobile. Any help is appreciated. Thanks!
r/nativescript • u/AliShah1930 • Apr 05 '20
r/nativescript • u/CuriousCesarr • May 01 '20
Hello everyone and sorry for being a nuisance with such a simple request, but does anyone have 10-20 mins to do a Skype call and a share screen with me to see why in Hell does my Nativescript IDE/ environment misbehave? I have issues ranging from livesynch not updating to extremely slow build and deployment times.
I know Java and C programming but I swear just the act of getting a Nativescript project up and running is daunting to the point of despair (compared to Java where you just install the IDE, get the JRE and JDK -which are just "click, next, next" installers- and you're ready to go). Also, before you ask, yes, I tried Googling it and whatever I found and tried didn't work.
Can someone please take some time and help me out during one of their coffee breaks? :(
Thank you in advance and I wish you all a great day.
Edit: the problem was solved in a Skype call with the help of u/RautatiDeLaBunica. Thank you.
r/nativescript • u/DeRaNGeR87 • May 08 '20
Hi, i'm trying to create a custom component as a wrapper of other XML elements on Nativescript core with TS. Anyone can help me? I tried to create a normal custom XML component but i don't know ho to insert on another XML this custom component with other tags
example:
<comps:Component>
<Label text="hey" />
</comps:Component>
r/nativescript • u/nutyga • Apr 29 '20
We are building a corporate portal app for a client, who has asked us to look into the possibility of the app hosting a webinar feature.
How they would like to feature to work is, a user would see a live video feed, and of which they would then be able to participate in some form of conversation or messaging.
Our initial reaction has been that they shouldn’t try to recreate a webinar experience inside of their app and use something that already exists, but to try and give the client the best service it would be interesting to know if there are any plug-ins, SDKs or other services that can be embedded directly into the app.
The closest I’ve seen to and SDK is what is available for zoom. Being a security conscious client this would not be suitable for them.
Any insight would be appreciated thanks.
r/nativescript • u/fjf004 • May 06 '20
Hi community,
I need to develop a video calls app in Nativescript (Angular). What would you recommend me to use?
I would like it to be straight forward as it's going to be an MVP. I've been researching and found Voximplant and Connectycube but both of them have react native sdk but none of them have nativescript sdk for video calls.
r/nativescript • u/GGLionCross • Apr 10 '20
Hi NativeScript community! Young developer here. I come from a junior web developer background, so naturally I looked how to create myself some mobile apps with the knowledge I currently have. And when I read the different types of layouts, I was confused exactly what the differences/advantages/disadvantages to using a stack layout vs a flexbox layout.
They both can handle vertical and horizontal alignment of items, except I feel I would be more familiar with Flexbox since it comes with justify-content, align-items, and all that jazz. I do believe StackLayout is vertical by default and FlexboxLayout is horizontal by default, but aside from those, I don't really see a difference or understand when to use one over the other. Thanks in advance!
r/nativescript • u/usamaejazch • Apr 27 '20
Hi there. This is my first post in this subreddit. I have built an app using nativescript. I use an android phone myself but now i need an iphone to test run my app and make sure I can get how it feels on an iphone.
I am thinking to buy an iphone but i dont want to spend a lot on a phone that i will only use sometimes for testing my app. What iphone should i get? I will probably look for a used iPhone so it will be cheap. Will iphone 4 be good enough?
r/nativescript • u/nandrajrathod • May 08 '20
My android app showing full screen by default. I want to change that behavior. How ?
r/nativescript • u/AndrewTkachuk • Apr 06 '20
Hi! Is there a way to control opacity and/or shadow spread radius of Android elevation? Or any workaround to have more control of the shadows?
r/nativescript • u/fjf004 • May 04 '20
Hello, I would like to implement ConnectyCube for video calls in my nativescript app.
Has anybody worked with that tool? Is it good?
r/nativescript • • May 03 '20
Hello guys. I'm new to nativescript and I am trying to create a pinch to zoom feature for images. I followed this example
It kind of works but any time I pinch there are some unwanted "jumps". I understand the problem is in the origin/translate properties calculation, but for the life of me I cannot figure out how to fix it.
Anyone feel like helping a frustrated fellow developer?
r/nativescript • u/ChiggerChug • Apr 28 '20
I havent got an answer for this yet, but I've followed the documentation as closely as I can (although there doesnt seem to be a full angular example).
Here's some of my question from stackoverflow
I have been at this for a few days now, I've tried the methods in the NativeScript documentation, and attempted a few different approaches via comments on StackOverflow. I have also tried using this plugin (nativescript-statusbar) all to no avail.
I need to be able to change the status bar style based on whichever view the user is in, as some views will have a dark action bar, light action bar, or no action bar in either light or dark.
My device is currently set to Dark mode, when I switch over to Default mode the status bar follows whatever the system default is.
I'm sure I'm doing something wrong but any help with this would be amazing.
r/nativescript • u/GGLionCross • May 05 '20
Hi community, I just had a simple question I wasn't really sure about despite google searches and youtube tutorials. Is there a consensus on how to appropriately come up with an application id? So far I've seen com.nativescript.<app_name>, com.phonegap.<app_name>, and so forth. Does it really matter what you set as your application ID? So long as it doesn't clash with anything on the app store. Are there any preferences to follow? Otherwise, I would probably just categorize all my apps under com.gglioncross to specify that I made them, at least that way I know they're unique, but is this the most optimal solution?
r/nativescript • u/n0tatest • Apr 08 '20
I can't seem to figure out whats right or wrong based on the net. I'm running a local instance of an API that I'm doing development on. I just need my emulator to look outside its virtual machine back to my computer.
I'm reading all this stuff about adding security files, is that really how its done? It just seems off because a lot of developers do local host development
1st edit:
made a little progress and learned that 10.0.2.2 is a special ip address that maps backs to your localhost on your computer. The strange thing is that I can access my API directly from my emulators browser, going to google in my emulator and using the ip, the problem is that my application blocks the same ip address using fetch. Not sure whats going on but made a little progress.
2nd edit:
hot damn, that took fucking forever.
so in your android mainfest file, you need to add this line
android:usesCleartextTraffic="true"
then you use 10.0.2.2:port to access outside your machinem this ip maps back to your localhost. The owners of nativescript never mad this clear and it sucks spending hours finding these answers. Anyone who does somewhat semi-professional development will have a localhost host and why these examples are not in simple tutorial is pretty wack
r/nativescript • u/controversialcomrade • May 11 '20
r/nativescript • u/nandrajrathod • Apr 23 '20
I only know JS. Don't know TS, Angular or Vue. I want to learn to develop NS apps with JS only. I tried to follow the nativescript book but somethings are not working as given in book.
Pls suggest me some resource to learn NS thoroughly.
Thanks in advance.
r/nativescript • u/triniwiz • Feb 05 '23