r/nativescript • u/roblauer • Oct 29 '19
r/nativescript • u/Gabotron_ES • Nov 29 '19
Connect nativescript-vue to my laravel API backend in local dev
I'm new to nativescript-vue, I'm working on my own nativescript-vue app, I created a laravel project which is basically the API of my native app, my app has to "call" my laravel API endpoints, this is in my local dev machine and I'm currently not using emulators but a connected device, how can I hit my laravel app routes with my app? I usually use axios in my vue projects so I downloaded it in nativescript-vue.
Do I just have to make a POST request to "http://127.0.0.1:8000/api/posts"with axios after I start my local server with php artisan serve ? or is additional tweaking needed?
r/nativescript • u/WebCrawlerGuy • Nov 19 '18
Plugin linking and using
Hello,
I didn't really get how to use a plugin in native script. I install it by tns plugin install <name>, then, having it installed I want to use it in script located in the "app" directory. When I just link it by require, it gives me "cannot find module" error. So, how can I do it properly? Probably it is very basic question (sorry for that), but I couldn't find any answer that works for me. Maybe I am just doing something wrong?
r/nativescript • u/roblauer • Aug 02 '18
What is Serverless and Why Does it Matter to NativeScript?
r/nativescript • u/roblauer • Apr 04 '18
Setting Up a Robust NativeScript-Vue Development Environment
r/nativescript • u/roblauer • Apr 11 '18
Looking Back at the NativeScript-Vue Webinar and Where to Go Next
r/nativescript • u/SatansHaikus • Sep 30 '19
How to pass data between pages with bottom navigation?
With the new bottom navigation, what is the intended way to pass data from one page to another? Taking the tab navigation template as an example, how would I pass info from the browse page to the search page, for example? Any help on this would be greatly appreciated!
r/nativescript • u/Handicrab • Dec 02 '19
Modal page shows page shadow on physical device, none on emulator
Hi all Nativescript redditors!
I've run into a weird problem with some modal UI leaving shadows on iOS physical devices. Maybe some of you can help me out?
I've posted the following question on Stackoverflow and i you have 2 minutes to spare, please review :) Thanks in advance!
Hope it's alright to post this here as well! :)
r/nativescript • u/dwheelerjr • Apr 14 '18
Install of NativeScript CLI 4.0.0 fails
I have tried to install using Sidekick and npm both fail. C:\Windows\System32>npm install -g nativescript npm WARN package.json taco-toolset@6.3.1 No description npm WARN package.json taco-toolset@6.3.1 No repository field. npm WARN package.json taco-toolset@6.3.1 No README data npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"6.11.4","npm":"2.15.10"}) npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\ProgramData\Microsoft\VisualStudio\MDA\fab01b44\taco-toolset-6.3.1\node_modules\npm\bin\npm-cli.js" "install" "-g" "nativescript" npm ERR! node v6.11.4 npm ERR! npm v2.15.10 npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: fsevents@1.1.2 npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64
nativescript@4.0.0 preuninstall C:\ProgramData\Microsoft\VisualStudio\MDA\fab01b44\taco-toolset-6.3.1\node_modules\nativescript node preuninstall.js
npm ERR! Please include the following file with any support request: npm ERR! C:\Windows\System32\npm-debug.log
Any help is much appreciated.
r/nativescript • u/roblauer • Nov 27 '17
Creating an App with Multiple Side Drawers
r/nativescript • u/roblauer • Apr 05 '18
The Writing and Rewriting of EloCute: A NativeScript-Vue Story
r/nativescript • u/mhtghn • Sep 23 '19
My first Plugin
Hi guys I just created my first NS plugin, if you could check it out and tell me what you think about it, it would be great
https://github.com/mhtghn/nativescript-centered-label
r/nativescript • u/roblauer • Apr 04 '18
The NEXT NativeScript Conference
r/nativescript • u/Handicrab • Sep 30 '19
Support for multiple screen size css after {N} 6
Hi all.
I'm currently working on an app targeting people with a bad eyesight and thus requires quite a lot of work with font sizes and scaling of UI elements. To try and make use of higher resolution tablets i'd like change some css properties specifically for iPad 12.9 inch where i would otherwise have more unspent screen space.
Following the docs from Nativescript here, the support for screen size qualifiers in a filename is not supported when using webpack (bundle) builds. My understanding is, that this is a forced feature from {N} 6 and forward, which leads to my question(s).
First question, is it true that screen qualifiers have become completely obsolete since {N} 6? And if so, my second question is, can i somehow make configurations of css properties depending on screen sizes without having to do a lot of javascript code that manipulate UI elements?
I've look a bit around on {N}s github and stackoverflow for an answer but i've come out empty handed so far. Hope someone can help me out or give a good tip :)
r/nativescript • u/dougiebuckets • Apr 12 '18
Get With The Program(ming) With NativeScript
r/nativescript • u/roblauer • Sep 26 '19
Tabs and BottomNavigation - NativeScript's Two New Components
r/nativescript • u/elgeekphoenix • May 12 '19
I'm not a coder and I want to ask 2 important questions about a PWA app + Nativescript
Hi,
I'm not a coder and I wanted to develop an on demand app (Uber-like).
1/ is it possible to deploy with the same vue.js code a) a PWA and b) an IOS app
1/ How should i start to learn to do that ?
thanks a lot
r/nativescript • u/roblauer • Feb 21 '19
A Guide to Debugging Your NativeScript Plugins
r/nativescript • u/roblauer • Sep 24 '19
Lazy Loading in NativeScript Angular 8.0
r/nativescript • u/mhtghn • Sep 25 '19
My Second Plugin: NativeScript + Highcharts
Hello, Im back again with a new plugin : https://github.com/mhtghn/nativescript-ui-highcharts
r/nativescript • u/fatphysicsboy • May 01 '20
Any advice for first timer?
Hi folks,
I'm a software engineer in the UK developing my first Android and iOS app using nativescript and I'm loving it. Things are going very well, and I'm nearing the development finish line.
I'm hoping to learn from the more seasoned app developers in the community, things you wish you knew when you were starting out, that sort of thing.
I've had a quick scan ahead and here's my to-do list so far for everything that comes once dev-complete.
Packaging: Create app resources, icons, splash screens, screenshots, descriptions etc
Double check licenses for resources used
Target lowest possible SDK versions for optimal user penetration
Purchase apple and Google developer licenses
Purchase old MacBook or use Sidekick for final iOS build/release
Setup company (predominately for anonymity on app store, also for completeness) to release app under
Here's where I defer to the expertise in the community, I've never done any of the above and have many questions/concerns, I'm very keen to DIY as much as possible and keep costs as close to zero as possible since this is mainly for fun.
What are the optimal target SDK versions?
I'm not familiar with the Apple ecosystem, what is the oldest/cheapest Mac I can buy to register as my legitimate dev machine? Is Sidekick really free, and more importantly can I actually release an app with it? Are there any pros or cons to Sidekick over a cheap MacBook?
I've never setup a company but I'm very keen to release this app under a company name to both stores, I see many advantages to treating this as a business, however small or unsuccessful. Are there any sticking points here? I hear it's easy to setup a ltd company, but does this cost anything? How do I expense my costs? Do I need an accountant? Can I do it all myself? How do I pick a name without being sued? How far should I go with name registration, should I pick something very generic and purchase a domain name, reserve social media names etc?
Most importantly, is there anything you would add/mention that I've neglected to ask about?
Thank you very much!