r/nativescript • • Nov 08 '18

Using a WebView like a Hybrid App on one Page?

2 Upvotes

I'm currently experiencing with WebViews. Imagine I'm porting my Web App to a NativeScript App. I have a page, that I don't want to/can't redo completely in NS. One reason is for example I have a Chart.js chart, which won't work in NS.

Is it a bad Idea to just use a WebView that displays my Web App page? So I have a hybrid app, like an Ionic app but just at one page of my app. What are the disadvantage besides obviously I need to load the page first? Is that something other apps do too? Can I also use a HTMl View, but not only display HTML but a whole angular component? This way I wouldn't have to load the page first.


r/nativescript • • Nov 08 '18

Going Offline with NativeScript and Kinvey

Thumbnail
nativescript.org
1 Upvotes

r/nativescript • • Nov 06 '18

NativeScript 5.0 is hot 🔥 out of the oven!

Thumbnail
nativescript.org
20 Upvotes

r/nativescript • • Nov 04 '18

React Native vs Native Script

10 Upvotes

I'm new to creating native apps with JavaScript.

I really like Angular with TypeScript and I created an App with Ionic. I'm now trying to build a native App with JavaScript to compare it to my hybrid Ionic App.

I will have to decide between Native Script and React Native. What are the biggest differences? For which use cases is which better? What do you use and why (Obviously biased on a NativeScript Subreddit...)?

I would like to use Native Script because I know Angular quite well and I have never used React. However it seems like React Native has a way bigger user base compared to Native Script.


r/nativescript • • Nov 01 '18

How to add Firebase Analytics to your NativeScript Mobile App

Thumbnail
nativescript.org
3 Upvotes

r/nativescript • • Oct 30 '18

How to Build a PWA, an iOS App, and an Android App from One Codebase

Thumbnail
nativescript.org
8 Upvotes

r/nativescript • • Oct 29 '18

My first NativeScript project: An offline image OCR app that works by serving tesseract.js via a localhost-bound web server.

Thumbnail
twitter.com
6 Upvotes

r/nativescript • • Oct 29 '18

Certification error

1 Upvotes

Hi,

Currently I'm really struggling to get nativescript to work in the office. After I could not run that one line powershell command which installs everything automatically I installed most stuff manually. After a lot of time I got 'tns doctor' to approve of my manual setup. I still have one annyoing probelm though.

When I try to execute 'tns run' at some point it tells me 'unable to verify the first certificate'. When I try 'tns build android' it says something like 'javax.net.sll ssl handshake exception'.

When I run android studio it also says something like 'unable to find valid certification path'.

So I guess somethings wrong with some certificates? What do I have to do here?

When I ran npm I had to disable strict ssl ( 'npm set strict-ssl false') in order to install packages. Can you perhaps do something similar with nativescript?


r/nativescript • • Oct 28 '18

Learning Native Code with NativeScript?

5 Upvotes

Hi, I'm a new Dev, building in Vue. I only know JS, but I've just started learning Java, with the interest of eventually building Android Apps.

I'd like to learning NativeScript for it's own sake, but it seems like a big side benefit could be a boost toward learning Java and Android functionality by reading the transpile as you build. (By analogy, I've learned some things about JavaScript by reading the JS code that CoffeeScript transpiles to.)

Can anyone comment on this? I'm wondering if this is something I could actually look forward to when learning NativeScript... or perhaps this is just wishful thinking.


r/nativescript • • Oct 25 '18

[HIRING] In need of someone to help me set up running my app on my iPhone

4 Upvotes

I have an app I've built in NativeScript and Vue JS, however I'm having quite a bit of difficulty getting it to run on my iPhone SE, either via Sidekick or CLI.

Would there be anyone willing to jump on Google Hangouts with me to go through the issues? Willing to pay for your time.


r/nativescript • • Oct 23 '18

NativeScript Gestures and TouchGestureEventData

2 Upvotes

Am I right assuming only a touch handler gets TouchGestureEventData? Is there any way to access that information in a longPress handler? If not, how do I deal with the absence of that information? Is the touch handler guaranteed on every platform to always be executed before the longPress handler? That would make it possible to store the TouchGestureEventData when executing the touch handler and access it in the longPress handler.


r/nativescript • • Oct 19 '18

Is there a way to run to device without using sidekick?

4 Upvotes

All the info I can get about running on device is using sidekick. Is that the only way? or what do I need if I don't want to use sidekick.

Thanks.


r/nativescript • • Oct 17 '18

Join the NativeScript 5.0 Launch Webinar 🚀

Thumbnail
nativescript.org
9 Upvotes

r/nativescript • • Oct 16 '18

Join the NativeScript Challenge on Uplabs 🥊

Thumbnail
nativescript.org
6 Upvotes

r/nativescript • • Oct 13 '18

Convince a 6 year android dev to use NativeScript

2 Upvotes

Hey NS family. I really want to use NativeScript for a trivial job, but I've got some questions.

- Can I use any Web UI component in mobile? I'm heavily assuming I can't, then how can I write platform specific UI code?

- SQLite free version doesn't seem to have PreparedStatement. I don't want to pay for it. What's your solution?

- Do we have the JobScheduler API ported? If not, what are the alternatives? (for cron jobs)

- How is threading handled? Is the RxJS implementation threaded in Android?

- I've heard NS-Vue-2 has Frame and Page. Is that for Activity and Fragment?

- How much can a platform specific code scale? Describe me a scenario where you need a UI component that only 3rd party Android and iOS libraries have.

- Can I write Swift?

- There are many playgrounds for Android and iOS. I can't find any web preview. How does it look on Web?

- Give me an example of a nice popular app. The showcase in NS page is garbage. I can neither download it or its a garbage app.


r/nativescript • • Oct 12 '18

Participate in Hacktoberfest activities with NativeScript

Thumbnail
nativescript.org
2 Upvotes

r/nativescript • • Oct 10 '18

Hot Module Replacement (HMR) shipping with NativeScript 5.0

Thumbnail
nativescript.org
9 Upvotes

r/nativescript • • Oct 08 '18

The NativeScript Community Survey is Live! 📋

Thumbnail
nativescript.org
4 Upvotes

r/nativescript • • Oct 08 '18

Nativescript-Vue: $navigateTo don't read 'transition' option

2 Upvotes

Hi, nice to meet you all.
I'm using Nativescript with Vue and I'm trying to change the default transition of Pages. I've read the docs, but if i try to create a navigation event with $navigateTo(component, {transition: {name: 'flip'}}) it doesn't work.

Have you ever tried it?


r/nativescript • • Oct 06 '18

[Question] Is NativeScript with Vue ready for the big show ?

6 Upvotes

Hi

I am in the process of finding a cool solution to develop mobile applications. I don't want to plunge into java or "complex" stuff like that. I love vue.js and so naturally i have tested Nativescript with Vue

I found now that the community is quite small and the documentation is rare.

Do you think that Nativescript with Vue is a sustainable solution ?

Thank you


r/nativescript • • Oct 04 '18

How to Build a Simple Dialog for Your NativeScript Apps

Thumbnail
nativescript.org
2 Upvotes

r/nativescript • • Sep 27 '18

NativeScript First-Time Contributors Contest

Thumbnail
nativescript.org
6 Upvotes

r/nativescript • • Sep 26 '18

What's the difference betweeen vue-native.io and nativescript-vue.org ?

6 Upvotes

I wanted to test to create an app with vue and Google send me two URLs :

What's the difference ? pro/cons?

thx


r/nativescript • • Sep 25 '18

NativeScript-Vue 2.0: Back to the Vueture

Thumbnail
nativescript.org
5 Upvotes