Is it possible to test a Hybrid Remote app in a web browser?
The documentation makes it seems as though I simply need to replace 'cordova.js' with 'mockcordova.js' and add 'mocksmartstore.js'. However when I try that, cordova's "DeviceReady" function does not get triggered and none of app's functionality works.
Anyone have details on how to get a Hybrid (Remote) app running in the browser?
This is very similar to the question I answered here. If you are using Angular.js for your hybrid app, use forceng.js - it is very similar to forcetk.js (without jQuery) and is compatible with Mobile SDK.
I was able to get browser testing working for the hybrid remote app, which uses Visual Force Remoting, by also including a few other JS files (not just mocksmartstore and mockcordova). The JS files are loaded like this:
MockCordova and MockSmartStore are available here: github.com/forcedotcom/SalesforceMobileSDK-Shared/tree/master/test