Hacker News new | past | comments | ask | show | jobs | submit login

If you just want a webview-as-an-app, then why not do it natively?



Not your parent poster, but in a similar boat:

Because I've written the game in JavaScript and it renders to Canvas. It also works in the browser. To go native, I'd have to rewrite everything from scratch. And then I have to maintain 3 platforms.

Maybe Unity is the solution, but right now, it's not written with Unity.


If it's a web app, keep it on the web. Why does it have to have a native wrapper?


Why? App Store exposure, client-side demand for an app, offline-first – and quite frankly, because it's written for desktops in mind and the mobile experience just sucks. Wrapping it in Cordova at least gives some control over the experience, such as: You can't accidentally swipe back on the browser, full screen, no address bar etc.

Check out the Twitter PWA (https://mobile.twitter.com). Accidentally swiping back happens to me a couple times per day.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: