While developing my latest app, I added some database code and could no longer do a production build of the app. It simply hangs while "Resolving your application dependencies". I boiled the problem down a single line in my code and tested it with a clean project. The following method call seems to be the culprit thats causing some sort of cyclic dependency that breaks the build:
I ended up resolving it by moving the location of this call to a later view (I originally had it in the controller for my first view, changed it to my second view which was really when I needed the database created anyway and it worked). Don't know why this resolved the issue, but it did.
Well crap, I actually thought the phantomJS database was the problem but it seems it wasn't. Well it was A problem but not the only problem.
Apparently you are correct that if the database is opened at "some point" it causes a hang in the build. I do not have the option to move my database calls later as i need them first thing when the application opens.
I know its hacky, but i do need the application to build
If you absolutely have to, one thing I did before I fixed mine was build without the openDatabase call then manually insert it afterwords into the build's app.js on the line you need it. It's a pain to do, but it works...
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."