I have an app built with cocoonjs that works perfectly in the launcher app on both iOS and Android, but the compiled versions of both freeze after the launch screen.
After doing an adb logcat on Android I can see the error 'Box2d is not defined' crashing the app.
How do I 'define' Box2d on the compiled app?