A JBoss Project
Red Hat

Frequently Asked Questions

General CordovaSim

  1. What is CordovaSim?

    Cordova Simulator (CordovaSim) is a Ripple based tool for hybrid mobile application development and testing. Basically, if one has no mobile phone ready to hand or does not want to use native emulator, CordovaSim is what they are looking for. It provides the following main features:

    • Dev Tools Debugger

    • LiveReload support

    • Eclipse Console logging

  2. Is CordovaSim built on top of BrowserSim ?

    Yes. Basically, CordovaSim extends BrowserSim functionality by adding simulation of Apache Cordova API. So, questions covered in BrowserSim FAQ are 100 % relevant to CordovaSim. N.B. the most important sections are:

Known issues

  • Livereload does not work with CordovaSim on default THYM project. Basically, this issue is coupled with the Content Security Policy in the cordova-plugin-whitelist which implements a whitelist policy for navigating the application webview on Cordova 4.0. In order to fix LiveReload one needs to remove the following meta tag with Content-Security-Policy

 <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">

Related JIRA - JBIDE-20757

back to top