A few months back we decided to rewrite the LoveVoucher App in Enyo 2.0. We are very pleased with the results so far. After the initial effort of getting it working in Enyo 2.0, we were able to package it for Android using PhoneGap with minimal effort.
The Android version has been finally released into Google Play App Catalog.
The WebOS version released into WebOS BETA Feed. Hope to iron out last remaining quirks and replace the Enyo 1.0 version with this one in the next few months.
Anyone with Android or WebOS Device, please download the app and let us know what you think. Your feedback
will be greatly appreciated. Please note so far our merchant feeds are for UK Merchants only. Hopefully we will expand to US and other countries soon.
Some lessons learnt so far
- Use the Enyo BootCamp to setup the project, the project layout is great. We can easily work on the latest enyo branch.
- Do not try to do much heavy lifting in the Enyo kind creation methods. It will slow down your application load time and will make your app looks frozen. We were using Panels. But it seems to instantiate every view at the creation of the Panel. Especially on WebOS Devices the app widows shows a frozen image of the last last active app until your app is fully initialised. Took a while to work out what was going on there. May be a more elegant solution would be to port the lazy loading functionality into Panel kind (like we already have for Enyo 1.0 Panel).
- Have a separate flavour of index.html for each platform you target. We have webos.html, android.html then modified tools/deploy.sh to copy the appropriate file as index.html
- HTML5 GPS API in Pre3 is not very accurate. So we are looking at using the webOSExt.js to tap into WebOS native API for that.