HabitRPG/habitrpg-mobile — pull request #118 by paglias (2013-09-01 14:44:54+00:00)
Title: Hotfix 116

This is an hotfix for #116 found on several websites. It load a very small `index.html` and then redirect to `main.html` which is the real app.

I didn't build the app so i can't tell if it fix the issue (well it did for many people) but that the app works fine when using the ripple emaulator.

At the worst nothing changed but I don't think.

Also I tried grunt's `build` task and found it didn't include `fixme.css` so not showing the avatar. This led me to guess that the app published on Google Play and the Apple Store doesn't have minified and concatenated files and maybe this is contributing to the timeout issue described in #116. **Why?**

I also tried including the `bower_components/habitrpg-shared/spritesheets.css` in the build's `css` but for some reason it didn't worked so I left it like before.

-----------------

First I would check if this solve this issue then since it would be nice to have a splashscreen especially in the case the app takes a while to load we have two solutions:

- try the phonegap method for the splashscreen
- if the above doesn't work as we expect move everything back to index.html showing a splashscreen and in the background loading all the resources (css/js..) asynchronously thus avoiding the timeout issue.

Just one last question: we're using phonegap/cordova 2.6 but now 3.0 is out, any plan to use it? Also angular is v 1.1.5 so we could update to 1.2.0rc1 or wait for the stable release. Same thing for jquery 1.9.