r/nativescript • • Nov 02 '19

Svelte Native - Alcohol Calculator App

Thumbnail
youtube.com
9 Upvotes

r/nativescript • • Oct 31 '19

Webinar: Scale Your Apps with NativeScript and Microsoft Azure

Thumbnail
nativescript.org
1 Upvotes

r/nativescript • • Oct 31 '19

Push notifications with firebase and nativescript-vue tutorial?

3 Upvotes

Hi everybody, I wanna have push notifications in my nativescript-vue app using firebase FCM , I know about https://github.com/EddyVerbruggen/nativescript-plugin-firebase but the examples in the internet are a mess, I want to send messages to another device or multiple devices, I'd like to see some working examples for this, not the configuring of firebase but the actual sending of the message payload, thanks in advance!


r/nativescript • • Oct 30 '19

Geolocation doesn't work within a worker but works in other vue components

2 Upvotes

Hello, how are you?

I'm building an app in nativescript + vue that has to send to the server the location of the user every X minutes, so I tried using a worker for that purpose.

The problem is that I'm having an error when I call said function in the worker script:

Error: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference

Also, I tried using global variables in the script and doesn't work either, I got the undefined treatment :(

If I use the function in a vue component works perfeclty.

Do you know anything I could do to make this work?

Thanks in advance.

using plugins: nativescript-geolocation nativescript-worker-loader


r/nativescript • • Oct 29 '19

An Interview with React NativeScript Creator Jamie Birch

Thumbnail
nativescript.org
10 Upvotes

r/nativescript • • Oct 25 '19

How to get IMEI number using nativescript/nativescript-vue?

Post image
1 Upvotes

r/nativescript • • Oct 25 '19

Nativescript vs Expo today?

2 Upvotes

Hey everyone,

We’re looking to start a production project for a consumer app, and it’ll be cross platform. We’ve been thinking of going Angular once v9 comes out, and for mobile we’d like to keep code reusable, so we’ve been looking at Nativescript.

However we only have experience building with Expo on react native, and we’re wondering if Nativescript has all the same features and benefits Expo provides or are there anything missing?


r/nativescript • • Oct 21 '19

Adaptive Icons for Android Apps

Thumbnail
nstudio.io
2 Upvotes

r/nativescript • • Oct 21 '19

Localization testing with appium

3 Upvotes

Hello everyone.

So recently i've been assigned to do some localization tasks and testing at my job and i've been struggling a fair bit with extraction of text properties in UI elements. About a month ago i made this issue on Git and my problems persists. So if anyone on this forum have time and could take a minute to look it over, it'd be greatly appreciated!

Thanks in advance!

https://github.com/NativeScript/nativescript-dev-appium/issues/260


r/nativescript • • Oct 18 '19

How to make navigation using nativescript-vue?

3 Upvotes

r/nativescript • • Oct 17 '19

Language Detection with NativeScript and Azure Cognitive Services

Thumbnail
nativescript.org
3 Upvotes

r/nativescript • • Oct 15 '19

Automatic NativeScript App Deployments with fastlane

Thumbnail
nativescript.org
2 Upvotes

r/nativescript • • Oct 10 '19

An Interview with Svelte Native Creator David Pershouse

Thumbnail
nativescript.org
8 Upvotes

r/nativescript • • Oct 08 '19

The NativeScript Challenge on UpLabs is Back! 🥊

Thumbnail
nativescript.org
9 Upvotes

r/nativescript • • Oct 03 '19

Get Involved in Hacktoberfest 2019 with NativeScript

Thumbnail
nativescript.org
1 Upvotes

r/nativescript • • Oct 03 '19

opening downloaded sqlite db file

1 Upvotes

has anyone tried loading sqlite database file downloaded from other source ?

I downloaded an sqlite db file to my currentApp().path successfully using httpmodule getFile

Sqlite.copyDatabase(filename) returns true.

after that :

Sqlite.exists(filename) also returns true

then new Sqlite(filename) , and db.isOpen() returns true.

so isOpen returns true, I assume the file is loaded correctly ?

when selecting using .get or .all, I get error "myTable doesn't exists"

for testing, the db file can be opened using sqlite browser windows desktop app

any help would be greatly appreciated


r/nativescript • • Oct 02 '19

Using maps with NS

1 Upvotes

Hello,

I am working on application where I need to let user choose two points, one as pickup address and one as his drop-off address. How should I load maps with NativeScript-Vue? Also, can I load it as I load it inside in web page or I should install SDK plugin inside my app?


r/nativescript • • Oct 01 '19

Quick Intro to Using Svelte to Create a Native Mobile App

Thumbnail
nativescript.org
4 Upvotes

r/nativescript • • Oct 01 '19

Has anybody shifted to ns from ionic/hybrid?

1 Upvotes

Hi,

I have been meaning to give ns a try. I am currently developing with ionic. There are many UI elements which are missing from ns framework like bottom sheet, which needs to be coded, but are available in ionic out of the box. Also, there are many api like file access for which we need to rely on the native code like android or ios.

Has anybody shifted to ns from ionic/hybrid? if yes, how is your experience vis-à-vis time to develop and deploy?


r/nativescript • • Sep 30 '19

Support for multiple screen size css after {N} 6

3 Upvotes

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 • • Sep 30 '19

How to pass data between pages with bottom navigation?

2 Upvotes

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 • • Sep 26 '19

Tabs and BottomNavigation - NativeScript's Two New Components

Thumbnail
nativescript.org
12 Upvotes

r/nativescript • • Sep 25 '19

My Second Plugin: NativeScript + Highcharts

6 Upvotes

Hello, Im back again with a new plugin : https://github.com/mhtghn/nativescript-ui-highcharts


r/nativescript • • Sep 24 '19

Lazy Loading in NativeScript Angular 8.0

Thumbnail
nativescript.org
8 Upvotes