[SOLVED] App.preloader.show working in Dev not in Production


I have noticed a weird behavior with my app.preloader.show(). It works fine in my development environment but when I package the app with cordova and deploy it to a device does not show.

I use a web server and a Mozilla browser in my local development environment.

What am I missing?

some code will be helpful

@pvtallulah I refactored my code base and moved logic to the template.

I also noted async=>true in my ajax requests was affecting.

Am now good. Thanks.