Which is better vue-native or nativescript-vue? [closed] - vuejs2

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between vue-native or nativescript-vue?

Vue-Native is nothing but a wrapper around ReactNative. So the question becomes ReactNative vs NativeScript?
In my opinion, it's NativeScript.
Supports frameworks like Angular & Vue
Works with Core JavaScript / TypeScript too
Better code sharing
100% access to native apis
ReactNative got a huge community and range of plugins, but the problem beings when you want to customise. Every app is unique in it's own way, it becomes really hard to customise a plugin for your own needs at least until you have good exposure to Objective C / Java and handle your own forks etc.,
With NativeScript you can always access the native objects & apis form JavaScript, simply write overrides on plugins within your project if you want to customise anything.
Here are few blog posts & videos those compare these frameworks.
Would Airbnb Have Fared Better With NativeScript Instead of React Native?
ReactNative vs NativeScript

As #Manoj mentioned about the biggest advantage of using Nativescript is : You can access all the native elements and apis from Javascript.
I think another plus is the ability to create a code-sharing project. New Vue CLI plugin enables code sharing between web and mobile.There’s nothing quite as awesome as watching your web, iOS and Android app all spinning up at once with the same codebase.
You can further read on nativescript blog and here is the sample project.

You should also look into simply wrapping your Vue app with Cordova. I was required recently to build a mobile app and went through both vue-native & nativescript-vue, eventually ending up with Cordova.
At a basic level, you can wrap any static website and compile it as an android or ios app. If you need native elements you can also do so once Cordova fires the 'deviceready' event.

Related

Which file that designer sends to developer in React Native [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I am going to do a react native project for both android and IOS.
I have done a desktop app by reactJS but i haven't had any experience about react native. Now my team has some designers (HTML, CSS, Photoshop), so i wonder that what kind of file should they send to developers? HTML, CSS files? or anything else? I've searched by google, i see that mobile app devs also use Zeplin tool, but i'm not sure that Zeplin is good for native app.
Please let me know some options to deal with it, Thanks.
React Native uses JavaScript for styling. There is a predefined set of key-value pairs which allow you to style the different components used in React Native. Those properties and their values are based on CSS, but there are some important differences.
It is probably a good idea to define the design in CSS, but the designers should be aware of the differences. For instance: a modified version of Flexbox is supported, but the newer CSS Grid API is not.

How to implement stripe with react-native using expo? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have been searching a lot and seen a lot of similar questions but non of them fits in my requirements.
I need to implement Stripe in react-native built using expo XDE. As mentioned in expo docs here: https://docs.expo.io/versions/latest/sdk/payments.html#importing-payments, I will have to detach my project to implement payment but I don't want to do that. Is there any alternative?
Also other wrappers available on GitHub doesn't facilitates projects built with expo completely. I am unable to find any complete wrapper or at least a guide to build my own.
I am looking for a solution for subscription based model, I need to charge my customers recursively and allow them to upgrade/downgrade their packages during an on going paid/trial period. I don't want to hold credit card information and allow customers to update their billing information whenever needed. Implement refund policies as well.
If you don't want to eject from Expo, you can use StripeCheckout component from expo-stripe-checkout on iOS and Android (though on Android you can still use the Payments module). Here's the link to the repo with further instructions: https://github.com/briansztamfater/expo-stripe-checkout
I recently faced the same issue, this is the conclusion:
Short version: You'll need to detach if you need payments (Stripe) on iOS. (If you don't, juse use the Payments module from Expo - it is not obvious right away, but they do state in the docs that it is based on tipsi-stripe).
Explanation: The Expo SDK used to contain a payments module for both Android & iOS. For the last 3-4 versions of Expo, Payments has been removed from the iOS SDK because "Apple sometimes rejects apps which contain the Stripe SDK but don’t offer anything for sale.".
Reference: https://docs.expo.io/versions/latest/sdk/payments.html
Solution: detach to ExpoKit, and then add the Payments module manually. I can say from experience this is not a nice or straightforward process, as it first introduced the concept of manually building your app using MacOS/Xcode which is a pain to say the least for a Win user.
If you do not want to detach, it means you will have to implement your own, custom way of communicating with Stripe and not than their official SDK, which will imply PCI compliance issues.
You can all Stripe API directly. map Stripe customer Id and your user id in your backend. then you can call this API's from frontend using stripe customer id.

Is Discord mobile app really built with react native? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
In the show case https://facebook.github.io/react-native/showcase.html it shows Discord. Is it really built with react native? I couldn't find any blog/article on this.
The app looks too nice to be built with react native.
Well, this might not be a completely well formed answer, but they tweeted that yes, they use react native on IOS.
https://twitter.com/discordapp/status/641815156838666240
:)
I actually found the answer myself, see react newsletter here:
http://brentvatne.ca/react-native-newsletter/07-09-2015.html
"Discord is the only cross-platform voice and text chat app designed specifically for gamers. With the iOS companion app you can stay connected to all your Discord voice and text channels even while AFK. It is perfect for chatting with team members, seeing who is playing online, and catching up on text conversations you may have missed."
The actual chat view drops down to native (well, React-Inspired ComponentKit) because the team couldn't get the performance that they needed out of ListView, but the rest is React Native! Beautiful work."
The Discord iOS app is written in React Native but their Android app is not. From a blog post on 2018-07-26:
Similar to iOS, we tried React Native the day it was released for Android. We were surprised by how easily and quickly we were able to make our comprehensive iOS app run on Android — took only two days and it built!
However, we immediately stopped after identifying various issues such as poor performance of touch events and lack of 64-bit support. We continued to follow React Native Android through observing many other apps and blog posts, but there have been no fundamental improvements to convince us to try again.

Has anyone started creating React Native API/plugins/modules? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to port any of my apps over to react native from cordova/phonegap but being so new, react native is a bit limited and doesn't have all the functionality I would need. Anyone know of a camera plugin for react native?
UPDATE:
Not sure why this got voted down, I'm not asking for an opinion, I'm asking for a source! Either way I answered my own question.
ANSWER:
ReactNativeModules.com has a community run list of react native components and modules.
It's only been out for a day, I think it's pretty clear that while people are going to do this kind of thing, it's a bit early yet. I imagine they'll be distributed with something like Cocoapods perhaps, since they'll be written as Native Modules. There's an ongoing discussion about the form this will take on Github.
That said, there are some things that aren't needed as plugins. For example, Phonegap has a statusbar plugin, but with React Native you can just set the statusbar transparency in Xcode as you would with a normal app. For things like Vibration, which again I think would be a Phonegap plugin, see the React Native APIs. For things like Geolocation, which would normally be available via the browser, take a look at polyfills. There are loads more examples like this so I'd suggest giving the docs a thorough read.

Titanium Appcelerator - should I use the alloy framework? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm developing an app using Titanium Appcelerator.
It's a simple flashcards app for iOS which allows users to scroll through a selection of foreign words, and view the equivalent english translation on 'the other side' of the card (flip transition!). Each card has an audio link and there are a few options for the user to choose also.
I would like to know if anyone reccommends the use of the alloy framework?
Does it speed up the development time?
Are there any use cases where alloy would not be appropriate?
I think your app is definitely appropriate for alloy, the same things appropriate for Titanium in general work with Alloy. One of the key things to think about is that using Alloy will not necessarily speed up development time. That is not the goal, the goal is to separate the concerns (Model View Controller), and provide cross-platform and multiple form factor support. If you are interested purely in speed of development stick with regular Titanium.
However, where it can speed up dev time is in your persistence strategy, sql integration of models is built in with Alloy. So, if this flashcard app your thinking of creating has the users creating flashcards on their phone, then using them later, I would definitely go with Alloy to take advantage of the model stuff.
Take note that the documentation is kind of sparse, I ported an existing clients project to Alloy and really had to find my own way on a lot of things, but It was not a simple app.
Essentially, if you want to 1) Release to multiple platforms and form factors and not have migraines, 2) Have a built-in easy to use persistence strategy, 3) Be able to maintain your code at a later date, or have other people look at it and be able to tell whats going on, then I would definitely use Alloy.
Here are some links that will help you to know more about alloy framework,
1 Official appcelerator doc
2 A presentation on Alloy framework
3 Google group : Appc Ti Alloy
4 appcelerator / alloy in github