The question is also what can you afford. Can you afford to have 2 ios & 2 android devs? Can you afford to build 2 times all the UI features, etc.
For a small company, small budgets, if you have strong front-end devs & designers you are probably going to get a good cordova app & you can move your company much faster.
You have big bugdets? Hire the native devs, get the 100% performance & experience from native.
And native fast responsive app with smooth animations might earn you more, than HTML container.
I wrote a simple game using cordova and I won't do it again. HTML+CSS+JS just not suited for mobile app development (I didn't try react native, those guys might change the game). Either you use frameworks and everything is just bad or use vanilla JS and everything might work, but you have to write a lots of spaghetti-code and device support might be limited.
The real unmatched benefit of using cordova (or any other webview) is the ability to deliver updates for your app without bothering with App Store moderation.
Unfortunately I can't agree that you can easily find easily good IOS & Android devs, I'm sure that some that can do it out there, but generally one platform always suffers more.
Has for Cordova issues, from my experience, nothing was so atrocious that writing 2 apps would have been faster.
"Either you use frameworks and everything is just bad or use vanilla JS and everything might work"
I think you might be thinking about games saying that, again I can't agree, if you don't understand what your framework does in your back that's another thing, but you can easily write optimized code when you control your render.
For example Ionic is a very good mobile UI framework for angular. It however wont save you if you start adding random things to the DOM while doing an animation.
What? As someone who does a LOT of vanilla JS, what do you consider "spaghetti code"?
Even if I have to code native like widgets in QML, it is surely way better than hacking around the DOM.
- that it can be like native; I regularly heard from management "What is so difficult about CSS? Why is it taking so long to build widget X?"
- that there is no reason why it can't be fast; I regularly heard from management "iPhones have >1ghz processors after all -- why can't it be faster?!"
- that the plugin ecosystem is bad -- "Why can't we just do X? Why do we have to build this?"
I agree with your criticisms as well. The lack of documentation, plugins, breaking between releases, and general help is surely lacking. But this is by no means a "bad article."
Everyone from VPs, Directors, to HR knows HTML, and they all have opinion about how it should be. They all want you to build a Facebook like app with 2 developers and works on all platforms.
Cordova is not a replacement to build native apps. Its a tool that allows you to build really good apps that works on all platforms.
My app[1] wouldn't have exist without Cordova. And based the feedback, most users are fine with it.
I have yet to find a solid native app that is available on all platforms, not belongs to a big company or a startup with huge funding, and made by 1/2 developers.
[1]
https://play.google.com/store/apps/details?id=com.premii.hn
https://itunes.apple.com/us/app/hacker-news-yc/id713733435?m...
http://hn.premii.com/ (HTML5)
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.
so far it looks like React is for Mac only, looking at https://facebook.github.io/react-native/docs/getting-started... ?
Edit: It looks like i'm missing something as I can see Android apps built with it on http://www.reactnative.com/built-with-react-native/
You can get pretty close to looking native with a framework like Ionic: http://showcase.ionicframework.com/
Of course, it's not native, so there are going to be corner cases where things don't look quite the same, but I'd be hesitant to make such an absolute statement about the future when you can already get so close today.
Performance and compatibility issues for Cordova apps can be often traced back to outdated webviews, and you can resolve much of it by embedding an up-to-date webview with your app: https://crosswalk-project.org/
* 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, chances are you will never find an answer in Google. You may find some StackOverflow thread if you are lucky, where several clueless people argue about things they do not know and then arrive to a wrong conclusion. (The programming skill levels of Cordova users on those communities are usually very low.)
* Critical functionality (things such as local notifications) is not included. You must rely on 3rd party plugins, that could be well maintained, or could be not maintained at all.
Yes obviously a Cordova app does not look native. It's not native and it will never be. Period.