80 points · by nfrmn · 11y ago · 20 comments
With this in mind, the reason I made it was for projects which don't require those things. There is no middleware here, just a very simple Xcode project with a couple of code modifications.
You can literally drop an existing web app into this and get going! :D
npm install -g cordova
cordova create HelloWorld
cordova platform add [ios|android|wp8|..]
Running: cordova serve # browser
cordova emulate [ios|android|wp8|..] # emulation
This has always been pretty straightforward to me, it's a bit of an extra pain to debug iOS development on a non-OSX machine, but that's true of the parent link, too.What's been a complete mess to deal with for you? And how long ago did you last use Cordova?
http://cordova.apache.org/docs/en/5.0.0/
Granted when I looked at the docs it was a while ago and much worse, but still it wants to teach you everything before letting you see something.
I've been waiting for so long for something simple like this to popup. Bonus points for also making an Android version: https://github.com/nabilfreeman/android-webview-boilerplate
I plan to make an Android one as simple as this. Google are working hard to make development easier but it's still a very poor experience compared to Xcode.
Cordova apps are accepted because they do have an API into phone functions.
I had dreams of using it myself when wandering the world without a local internet connection and seeing where I wanted to fly to next.
Apple rejected it saying it was nothing more than a web page wrapped in an app.
There may be other solutions, but this is what I'm currently familiar/playing with.
If you build something that fetches train times, or a game like 2048, then you have an iOS app that just happens to be built in HTML.
This boilerplate is useless without some good content put inside it :)