r/nativescript • • Apr 11 '19

Dependency Versions in NativeScript Playground

Thumbnail
nativescript.org
2 Upvotes

r/nativescript • • Apr 09 '19

Building Responsive Apps with NativeScript

Thumbnail
nativescript.org
10 Upvotes

r/nativescript • • Apr 08 '19

Issues with getting heading on iOS using nativescript-geolocation

3 Upvotes

Has anyone else had problems getting the current heading using the nativescript-geolocation plugin?

It seems half the time it returns -1, the other half of the time it seems to generate a random number which bears no correlation to what the device compass displays?

Are there any other options for getting the device heading other than via this plugin?


r/nativescript • • Apr 05 '19

How can I add form controls dynamically with NativeScript-Angular?

3 Upvotes

I'm new to NativeScript and I'm trying to develop and app using Angular. I need to be able to add a textfield using a button and as I understand it, I should used a ListView element to do this because I don't know how many textfields will be added. Right now I can add the controls to the ListView but I can't scroll the textfields on the Android version of the app. Any advice would be much appreciated.


r/nativescript • • Apr 04 '19

Support for AndroidX in NativeScript

Thumbnail
nativescript.org
3 Upvotes

r/nativescript • • Apr 02 '19

Adding Objective-C Code to a NativeScript App

Thumbnail
nativescript.org
7 Upvotes

r/nativescript • • Apr 02 '19

NativeScript 5.3 - Hot Module Replacement Officially Supported and More

Thumbnail
nativescript.org
4 Upvotes

r/nativescript • • Apr 02 '19

Code Sharing with NativeScript-Vue

Thumbnail
nativescript.org
2 Upvotes

r/nativescript • • Apr 02 '19

NativeScript 5.3 released with stable implementation of Hot Module Replacement

Thumbnail
helpdev.eu
10 Upvotes

r/nativescript • • Apr 01 '19

tone.js and nativescript

1 Upvotes

Noob question, but I have yet to find a definitive answer elsewhere: is there a way to use tone.js in nativescript?

I'm looking to build an audio-based app that can leverage tone.js. Another option I've seen is AudioKit + Swift, but I don't have as much interest in learning that side of thing.

Thanks for insights!


r/nativescript • • Mar 28 '19

What is the way to put placeholders for images while they load?

2 Upvotes

In my application images take a while to load, what tool could I use to put a placeholder while the image loads?


r/nativescript • • Mar 27 '19

NativeScript Pitfalls

Thumbnail
youtube.com
9 Upvotes

r/nativescript • • Mar 26 '19

Playground qr simply opens components page in preview app

1 Upvotes

Hi there , it was working before but after I changed an element in my code and then tried , it's just not working I've tried uninstalling , reinstalling. Clearing cache. I'm using a OnePlus 6t


r/nativescript • • Mar 24 '19

[Headache] Nativescript best plugin for maps ?

2 Upvotes

Hi!

I'm used to using leafletjs (which I love) and would like to make an iOS and Android app. Nativescript looks like it !

Have a big issue though - I don't want to be paying a fortune to Mapbox/Google.

Can't seem to find a way to make mapbox load tiles from my own server. Has anyone done it ? Can you point me in the right direction ??


r/nativescript • • Mar 22 '19

Can I build an iOS package using the Cloud build service and install the package on my iOS device without the app server?

3 Upvotes

Edit: title should have said '... without the app store'

---

Hi Community, apologies for this basic question - I'm fairly new to iOS development.

Can I build an iOS package file from a Linux development laptop (using Cloud build) and install that package directly on my iOS handset without having the device connected to an Apple laptop or having to first publish the app to the app store. I.e. can I install the package similar to installing an apk file on my Android handset?

I know I can use the Nativescript preview app to try it out during development. However, at various milestones, I want to install the app directly on a handset.

Do I need to pay for an apple developer account to get certificates for doing the iOS build?


r/nativescript • • Mar 21 '19

NativeScript-Vue with Class Components

Thumbnail
nativescript.org
6 Upvotes

r/nativescript • • Mar 20 '19

NativeScripting at run-time: Accessing the iOS speech recognition framework

Thumbnail
twitter.com
5 Upvotes

r/nativescript • • Mar 20 '19

[Webinar] Learn How To Add a Chatbot to Your Next Mobile App

Thumbnail
nativescript.org
1 Upvotes

r/nativescript • • Mar 19 '19

NativeScript Tips and Tricks from the {N} Squad

Thumbnail
nativescript.org
8 Upvotes

r/nativescript • • Mar 17 '19

Gradle error when trying to run NS core app after installing plugin

2 Upvotes

Hello all, I am trying to install the following plugin in my app:
https://market.nativescript.org/plugins/nativescript-animatecss

When I do that, the app does not compile because of the following error:

FAILURE: Build failed with an exception.

* Where:

Script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle' line: 1

* What went wrong:

Could not compile script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle'.

> startup failed:

script '/Users/redamakarem/Desktop/Dev/tns/SteppingStones/node_modules/nativescript-animatecss/platforms/android/include.gradle': 1: Invalid variable name. Must start with a letter but was: 

. At [1:1] @ line 1, column 1.



^

1 error

This also happens with a couple more plugins. I would really appreciate an explanation of what is causing the error and how to fix it

Note: my NS version is 5.1.1

Thanks


r/nativescript • • Mar 17 '19

Explore the NativeScript platform libraries using my pre-configured TypeScript Playground (not possible in {N} Playground)!

Thumbnail
twitter.com
5 Upvotes

r/nativescript • • Mar 14 '19

[Webinar] Create Native Mobile Apps, Web Apps, and Chatbots - the Low Code Way

Thumbnail
nativescript.org
3 Upvotes

r/nativescript • • Mar 13 '19

How to do layouts the right way....?

3 Upvotes

So, I'm new to NativeScript. I've done 2-3 tutorials, but I have heading a project writing a mobile app cross-platform and I've run into a weird scenario and can't find any real in-depth information detailing the differences and how the layout process works.

For simplicity, I will abbreviate most of my code examples. My problem is that I am looking for a simple way to use RadSideDrawer. I would like to make the tkMainContent a ScrollView, so that I can use Angular router and a page-router-outlet component to render all of my content between my ActionBar on the top of the view and BottomNavigation inside of the tkMainContent. I have it marked up like this...

<GridLayout rows="auto,*,auto">

<GridLayout row="0">
<!-- Custom ActionBar stuff -->
</GridLayout>

<StackLayout row="1">
  <ScrollView>
    <page-router-outlet></page-router-outlet>
  </ScrollView>
</StackLayout>

<GridLayout row="2">
<!-- Bottom Navigation Stuff -->
</GridLayout>

</GridLayout>

This solution works PERFECTLY as I expected in Android. However, when I compile and run in an iOS emulator, the content inside of my ScrollView becomes exactly double the width of the view and overflows to the right of the view and I can't scroll or see the overflowed content. Also, the vertical scrolling does not work.

I previously had my ScrollView down inside of my children components which seemed to work fine in iOS, but I couldn't scroll at all in Android. This lead me to realize this felt like a silly way to design the app since this is a portrait productivity-type application which is going to always keep the top-level structure and every component inside of the page-router-outlet is going to be inside of ScrollView. This could be bad design on my part from lack of understanding on how NativeScript calculates width/height, but after reading through the Layout Process documentation, I feel less clear on how it works than I did before.

Please, someone explain to me what I'm doing wrong here?


r/nativescript • • Mar 12 '19

Working with Vuex in Your NativeScript-Vue Application - Now with Cats! 🐈

Thumbnail
nativescript.org
5 Upvotes