Question

How Can I change platform in Ripple emulator from default PhoneGap 2.0.0 to PhoneGap 2.5.0?

I need some features form the latest Phonegap version and I cannot find a way to change version. Can anyone help me?

Was it helpful?

Solution

This is a little misleading. Ripple actually tries to support the latest version of Cordova, so the version should really say 2.x. We are working on fixing the way we manage platform version.

Short answer, selecting version 2.0.0 should work for you with a 2.5.0 app. Sorry for the confusion.

OTHER TIPS

Here's the workaround I use:

<script type="text/javascript" charset="utf-8">
  // Wait for Cordova to load
  document.addEventListener("deviceready", onDeviceReady, false);
  // Cordova is ready
  function onDeviceReady() {
    //check if inside ripple wrapper
    if (!document.getElementById('tinyhippos-injected'))
      navigator.splashscreen.hide();
  }
</script>

tinyHippos is the company that created Ripple. It was acquired by Blackberry in 2011.

As of today, Ripple emulator supports only PhoneGap v 2.0.0 only. You may have to use the iOS emulator to do your testing

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top