Live data from Hacker News

Apache Cordova: after 10 months, I won't using it anymore

geekcoder.org

21–30 of 96 posts

Re: Apache Cordova: after 10 months, I won't using it anymore

#21

FUD. Ever heard of WebSQL for storing your data? After 10 months, you should have been able to work around nearly anything you mention in your article.

WebSQL is pretty much dead (which is unfortunate, and you should direct stern words towards Mozilla), so relying on that would be pretty risky.

Re: Apache Cordova: after 10 months, I won't using it anymore

#22
There is no sens to spend time trying to do your app multi-platform from the beginning. If your app do not works on iOS, it will not works on android neither.

Conversely though, if your app is a success on iOS then it's very likely that you'll want to get an Android version out before the clone-ware makers copy it, so if (and it's admittedly a big if) your app is something that Cordova can do well there's very few reasons against using it. For some use cases it's a good framework, notably "information viewing" apps, business CRUD apps and simple 2D canvas games.

Re: Apache Cordova: after 10 months, I won't using it anymore

#23
I tried Cordova three weeks ago, on my Nexus 10 (Android 5.1.1). I wanted to have a native UI, so I tested angular-material and Polymer. I wasn't too happy with the result, due to stuttering animations kind of ruining the UX.

Having a shared C++ code base and the respective native UI code works perfectly fine for me, so I wouldn't use Cordova again. I don't see why I should. I'm just as productive there as I am with the web stuff, with the difference that I get a truly native look and feel, without having to watch performance all the time. I'm sure that, if you want to take the time, you can get perfectly well running apps. But for me, it isn't worth the trouble.

I also tried Qt and it was nice, but the app took ages to load on an actual devices (because of QML) and their licenses get more and more messed up.

Re: Apache Cordova: after 10 months, I won't using it anymore

#24
post #17

This is a very bad article. The real problems with Cordova are: * Core functionality is broken between releases. If you ask in the IRC support channel, they will even tell you not to update if things work well! What if I need a new feature? * Documentation is absurdly horrible or even plain wrong. I have been told several times to refer to the source code to find out how something works. * If you face any problem, ch…

This would of made for a much better article. I couldn't agree more!

I'm currently working on a Hybrid React app, performance issues aside the real issue is documentation and support. As soon as you are beyond a basic web app wrapped in a container you realise quickly Corodova will always be a second class citizen.

On a more positive note React Native (https://facebook.github.io/react-native/) is mind blowingly amazing. I really can't recommend it enough, especially for Javascript developers.

Re: Apache Cordova: after 10 months, I won't using it anymore

#26

I tried Cordova three weeks ago, on my Nexus 10 (Android 5.1.1). I wanted to have a native UI, so I tested angular-material and Polymer. I wasn't too happy with the result, due to stuttering animations kind of ruining the UX. Having a shared C++ code base and the respective native UI code works perfectly fine for me, so I wouldn't use Cordova again. I don't see why I should. I'm just as productive there as I am with…

> I wanted to have a native UI, so I tested angular-material and Polymer

Aren't Web Components still heavily polyfilled in most mobile browsers? I'm wondering how much of the problem was due to the Polymer library than Cordova proper.

Re: Apache Cordova: after 10 months, I won't using it anymore

#27
post #12

Hmmm, I note in his closing para: "Facebook wrote a good article when they have decided to switch from a web app to a native one." A three year old blog post from Facebook. Now the circle has turned with React and React Native…

To be fair, react native compiles to native according to their keynote were it was introduced. FB gave up on the web app/hybrid app and in the same keynote strongly said the experience will never be the same or good enough as native.

Re: Apache Cordova: after 10 months, I won't using it anymore

#28

On performance, the new WKWebView on iOS (with Nitro JS + GPU rendering, including WebGL), and the Chromium webview on Android 5.0+ (or Crosswalk for Android 4.0+, similar features all round), radically changes the performance story. It's almost identical to the system browsers now. Facebook's comments about HTML5 were back in the dark ages when the webviews generally used horribly slow software rendering and didn't…

Does WKWebView work with file:/// urls needed by Cordova?

Re: Apache Cordova: after 10 months, I won't using it anymore

#29
post #12

Hmmm, I note in his closing para: "Facebook wrote a good article when they have decided to switch from a web app to a native one." A three year old blog post from Facebook. Now the circle has turned with React and React Native…

I'm not sure it has though – React Native apps are demonstrably not web apps. It's a very different approach.

Re: Apache Cordova: after 10 months, I won't using it anymore

#30
post #26

I tried Cordova three weeks ago, on my Nexus 10 (Android 5.1.1). I wanted to have a native UI, so I tested angular-material and Polymer. I wasn't too happy with the result, due to stuttering animations kind of ruining the UX. Having a shared C++ code base and the respective native UI code works perfectly fine for me, so I wouldn't use Cordova again. I don't see why I should. I'm just as productive there as I am with…

> I wanted to have a native UI, so I tested angular-material and Polymer Aren't Web Components still heavily polyfilled in most mobile browsers? I'm wondering how much of the problem was due to the Polymer library than Cordova proper.

I thought that would make sense, too. But I found them to be working OK in Chrome on Android, so I thought I could give it a try.

I should have said that I wouldn't create any hybrid mobile apps anymore, not just Cordova. That's not because I don't like it - it's simply because the other options work just as good for me. At least for now - can't say anything about the future.

Post reply on HN