PDA

View Full Version : Proxy don't work when minified



casic
22 Jul 2012, 3:20 AM
Hello ,
I build a project on a kitchensink base. It is working well on the server and on local server.
But when i go to buld native .apk and package , everything work exept ajax request . Server returns 404 not found .
I tried to build so with TouchStyle example in Senca , and its work fine even development and package , and .apk on android.

Please help.

mitchellsimoens
24 Jul 2012, 5:08 AM
Did you look at the URL being sent?

casic
24 Jul 2012, 5:17 AM
I have to include /app/view/xxx.js in app.js to work .
Now everithing is ok with web package and .apk.

mitchellsimoens
24 Jul 2012, 5:19 AM
Instead of including it in app.json, why not require it in your app so when you do a built it will automatically build it into the app.js?