Ask HN: How do you make apps?
We've been building hybrid-apps at work for a couple of years (Cordova) and are now feeling the pain of those hybrid eco-systems. Unmaintained plugins, flaky behaviour between iOS and Android, difficult to develop and unit-test, etc.
Apps we made earlier started out pretty basic, but soon started to grow bigger with login functionality, placing orders and interacting with a community.
I've started looking at alternatives and found a few. What do you recommend/use at work or for you personal projects?
Xamarin? NativeScript? React Native? Pure native (swift/java)? And how do they compare?
Xamarin looks promising, code reuse is a big plus, but i'm wondering if it's used in larger corporations/apps?
3 comments
[ 3.1 ms ] story [ 21.9 ms ] threadIt's pretty sweet and has sped up development on many fronts, but I'm also curious as to what others are using and why...
In terms of native vs. RN, it depends on the app and on you. For most projects, the result can be pretty good, and the RN components do compile into native ones so you would not notice too much of a difference in the final product.
Use it if you like React. If you don't and like Angular, use Ionic. If you like new stuff try Flutter with Dart cause that's heating up at the moment, and is blazing fast and efficient - Dart's easy to learn if you know at least 1 language already.
I have not ever met anyone that uses Xamarin nor do I really know much about it. I try to avoid Microsoft's ecosystem whenever possible so I can't really speak to it too much.
* Nativefier for desktop application to create a basic Electron application from a website (https://github.com/jiahaog/nativefier)
* Web2Executable to convert a local set of HTML and NodeJS to a NWJS binary file (https://github.com/jyapayne/Web2Executable) - FYI: NWJS, or NodeJS + Webkit and then Chrome rendering engine, is the code that Electron is based on. The big difference is that NWJS doesn't require all the structure that Electron does. So NWJS is easier to develop for but in some cases not as fast to execute.
* Appsgeyser.com (http://appsgeyser.com) can convert either a website or a zip file to an Android application
* GoNative.io (https://gonative.io/) will create apps for Android and iOS. But some of the advance features are stuck behind a paywall.