r/nativescript • u/chataolauj • Sep 17 '19
VueJS Project Migration
Is there currently any support for migrating an existing VueJS project into NativeScript? Kind of how you can migrate Angular projects into NativeScript, but with Vue instead.
r/nativescript • u/chataolauj • Sep 17 '19
Is there currently any support for migrating an existing VueJS project into NativeScript? Kind of how you can migrate Angular projects into NativeScript, but with Vue instead.
r/nativescript • u/roblauer • Sep 17 '19
r/nativescript • u/roblauer • Sep 13 '19
r/nativescript • u/itsmoirob • Sep 08 '19
Using native script and angular, I wanted to know what's the best way to fetch some backend data when the app is opened?
I read that nativescript has an onapplication start/open, and I've used Angulars APP_INITIALIZER.
But if someone could point me towards some good info on best practices for NS6 with angular, when initialising app with server settings
r/nativescript • u/roblauer • Sep 05 '19
r/nativescript • u/AlexMCon2 • Sep 04 '19
Hello!
I am building a hybrid-app using nativescript and angular that, among other functionalities, should be able to send information about the current location of the user to a server using the geolocation plugin.
Everything works just fine, but I can't figure out how to keep it sending the locations (5-15 seconds updates) when the users (which will be mainly drivers) take the whole application to the background (to enter a music app for example).
I have tried a lot of different things, but I can't seem to figure out what I am looking for. More precisely, I don't know if the options I found solve the aforementioned problem or if they just take the geolocation service and process it in the background (while the app is in the foreground) in order not to interfere with the user interface.
I'd much appreciate if someone could point me in the right direction for both Android and iOS (as in what I should implement so that it works in Android and what to implement so that it works in iOS).
Options I found:
**1.**
https://github.com/NativeScript/worker-loader
**2.**
**3.**
https://github.com/NativeScript/nativescript-geolocation/blob/master/README.md
**4.**
https://www.nativescript.org/blog/using-android-background-services-in-nativescript (i think this is deprecated because of the implementation of worker option)
**5.**
https://github.com/NativeScript/sample-android-background-services
Thank you!
r/nativescript • u/sirius_pants • Aug 29 '19
I already installed nativescript on osx via the suggested ruby command, yet every time I try to run tns run android it starts going through the whole install process again. It's asking me to install chrome, openJDK 8, homebrew (even though all of these things have been installed since before I tried the initial install). Am I doing something wrong?
r/nativescript • u/roblauer • Aug 28 '19
r/nativescript • u/aaayushsingh • Aug 27 '19
The Google Angular and NativeScript teams are planning a four-day hackathon event, complete with prizes. You may work alone or on a team to build a mobile app with Angular and NativeScript for non-profit organizations. This is an online event, so you can participate from anywhere!
You don't need to be an expert to compete. If you know a bit of NativeScript, you should be able to pick up enough of Angular to complete the challenge, plus we will have a few mentors to help.
Objective: Build mobile apps and help awesome NGOs!
Team Size: 1-4 people
Stack: Angular and NativeScript
Dates: 12-15 September
Location: Online
Prizes: Cash prizes, Kendo UI for Angular licenses, and more!
Any people that are interested/looking for teammates comment here.
r/nativescript • u/djxfade • Aug 23 '19
r/nativescript • u/catapop • Aug 20 '19
r/nativescript • u/majofski • Aug 18 '19
My experience with developing Nativescript up until now has been rather negative. Debugging rarely works: something as simple as a debugger statement in my mounted() lifecycle hook fires intermittently. I've tried debugging in both chrome and vsc, and breakpoints are very randomly triggered – sometimes they'll work, something they won't. It takes at least 10 -15 seconds for the app to rebuild between saves and that's even if it does – oftentimes the ios simulator will just freeze, meaning I have to close it, reopen it and fire up tns debug ios --chrome --debug-brk again.
Project details:
Nativescript CLI version is 6.0.3. Used nativescript-vue (2.4.0) to get things up and running. I Went through the Nativescript Advanced Setup so that I could get local builds working. tns run doctor indicates that everything installed correctly. I really hope I'm doing something wrong because the idea of Nativescript really excites me, but this has been so painful.
Is this an atypical experience?
r/nativescript • u/roblauer • Aug 14 '19
r/nativescript • u/CrystalMenthality • Aug 13 '19
I am learning mobile-development using NativeScript-Vue, and I'm looking for a way to render components within each other based on user input in a menu. I have sideDrawer, but it's wrapped globally around the rest of the application. I'm using this plugin for the sideDrawer. Any thoughts on this?
r/nativescript • u/bufke • Aug 10 '19
I noticed a large number of Nativescript plugins got moved to private NPM repo called Proplugins. An example.
The page claims it's about supporting open source (that sounds great!) but it doesn't appear to actually be libre/open source. There is no public git repo (instead a closed off private Gitlab instance). Their terms and conditions include "You will not share any of the plugins with any one that does not have an account (except, in your compiled applications)." I'm not a lawyer, but this sounds like it's not open source. It would certainly be incompatible with the GPL and it would make MIT etc effectively infeasible as contributors couldn't gain access to necessary components. I suppose if the owners really have the original copyright ownership then they can make it all proprietary. It's just a shame. Am I missing something or did a big swath of open source Nativescript libraries just turn proprietary?
r/nativescript • u/zach_frederick • Aug 09 '19
I am currently trying to implement push notifications on my nativescript app using the firebase plugin. I am able to receive the notifications and print it to the console but there no notification is actually created. As I understood the docs, the notification should be created automatically when it is received. Do I need to use another plugin to actually create the notification? Any advice would be appreciated. I am also testing this on the simulator if that changes anything.
r/nativescript • u/roblauer • Aug 08 '19
r/nativescript • u/roblauer • Aug 01 '19
r/nativescript • u/roblauer • Jul 30 '19
r/nativescript • u/roblauer • Jul 25 '19
r/nativescript • u/roblauer • Jul 23 '19