Live data from Hacker News

Boilerplate for turning a mobile website into an iPhone app

github.com

1–10 of 21 posts

Re: Boilerplate for turning a mobile website into an iPhone app

#3
post #2

Isn't this exactly what Cordova does? You mention "so you don't have to use Cordova", but you don't mention what the advantages are.

Agreed. This just seems like a homebrewed version of Cordova lacking the ability to add plugins that provide a JS bridge to native OS features.

Re: Boilerplate for turning a mobile website into an iPhone app

#4
post #2

Isn't this exactly what Cordova does? You mention "so you don't have to use Cordova", but you don't mention what the advantages are.

Cordova does indeed do this, and gives you access to iOS hardware APIs. This doesn't.

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

Re: Boilerplate for turning a mobile website into an iPhone app

#6

As this simply wraps a web view, and doesn't really add anything more than what Safari does, isn't the odds of it ever being accepted by the App Store very small? Cordova apps are accepted because they do have an API into phone functions.

Well, I think it depends on the content of the application. If you take your website and straight up drop it into this, it will probably be rejected.

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 :)

Re: Boilerplate for turning a mobile website into an iPhone app

#7

As this simply wraps a web view, and doesn't really add anything more than what Safari does, isn't the odds of it ever being accepted by the App Store very small? Cordova apps are accepted because they do have an API into phone functions.

I submitted a JavaScript/Canvas based game, created on a game jam, and it got approved without any problems. [1] https://appsto.re/de/hxAB5.i

Re: Boilerplate for turning a mobile website into an iPhone app

#9
post #2

Isn't this exactly what Cordova does? You mention "so you don't have to use Cordova", but you don't mention what the advantages are.

When I looked at Cordova it was a complete mess and pain to deal with. The docs where confusing and out of date. I just needed a simple x-code project, not a kitchen sink that was installed in the attic for some reason.
Post reply on HN