Search code examples
cordovavisual-studio-2013ripplemulti-device-hybrid-apps

Multi Device Hybrid App - Ripple using old Cordova version


We are in the process of switching our development from Redgates VSNomad to Microsoft Multi Device Hybrid App and I've run into a problem using he Ripple emulator.

It seems Ripple can only use Cordova 3.0. Part of our app uses navigator.globalization.dateToString which fails with 'Cannot read property 'dateToString' of undefined'

I'm reasonably sure this is because navigator.globalizationation was added in a later version of Cordova. Is there any way of getting ripple to use a later version?

The Ripple emulator we used with the Nomad project does support navigator.globalization

UPDATE: I've also found that navigator.camera is undefined when running in Ripple so maybe the problem is not related to Cordova version. (navigator does have a value)


Solution

  • In order for the plugins to be installed and available for use in your application you need to open config.xml and select them in the plugins tab. Once you do that and rebuild, both those plugins should work fine in Ripple.