Once you build your app and produce production.js and production.css (hopefully through an ant script like mine), you may notice that your app does not run once deployed with PhoneGap. This is because it seems the recommended way of bootstrapping your app in JMVC uses the script’s URI to specify the app name: “../steal/steal.production.js?myappname” which PhoneGap does not appear to support.
The simple workaround is to resort to this notation instead:
<script src="../steal/steal.production.js"></script> <script> steal('myappname/production.js').then('myappname/myappname.js'); </script>
These are minor issues and once you figure out the gotchas, it should be smooth sailing from there. I have divided my html into 2 files, one for development, and one for production. My Ant script now picks the right html to include as PhoneGap’s index.html depending on what I am building.