title: Embed the Crosswalk runtime into a Cordova application
body: <p>I'm using <strong>Cordova 4 &amp; Cordova CLI 5.3.1</strong> + Crosswalk (cordova-plugin-crosswalk-webview 1.3.1)</p>
  
  <p>I want to build an hybrid application (ios/android) that loads a webpage with a game that use WebGL.</p>
  
  <p>Without Crosswalk webview the game works great on Android 5, iOS 8, but on Android 4.4 the performance is not so good.</p>
  
  <p>So I have tried using the webview from Crosswalk and it works great, the only problem I have is that they use a separate application (Crosswalk Project Runtime)</p>
  
  <p>So I have followed their tutorial to embed the runtime into the app. I'm doing exactly what they say on this page:</p>
  
  <p><a href="https://crosswalk-project.org/documentation/cordova/cordova_4.html" rel="nofollow noreferrer">https://crosswalk-project.org/documentation/cordova/cordova_4.html</a></p>
  
  <p><strong>Maybe they have a compatibility problem with Cordoba >= 5 ?</strong></p>
  
  <p>When I open the application this error is displayed, the only way to continue is installing the Crosswalk project from the Google Play Store:</p>
  
  <p><a href="https://i.stack.imgur.com/a4sil.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a4sil.png" alt="enter image description here"></a></p>
  
  <p>But the runtime is embedded because the apk size is: 20MB without any other asset than a html file.</p>
  
  <p>The <code>config.xml</code> file content is this:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id="example" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
      &lt;name&gt;Example&lt;/name&gt;
      &lt;description&gt;
          A sample Apache Cordova application that responds to the deviceready event.
      &lt;/description&gt;
      &lt;author email="dev@cordova.apache.org" href="http://cordova.io"&gt;
          Apache Cordova Team
      &lt;/author&gt;
      &lt;content src="index.html" /&gt;
      &lt;plugin name="cordova-plugin-whitelist" version="1" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-intent href="http://*/*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-intent href="tel:*" /&gt;
      &lt;allow-intent href="sms:*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-intent href="geo:*" /&gt;
      &lt;platform name="android"&gt;
          &lt;allow-intent href="market:*" /&gt;
      &lt;/platform&gt;
      &lt;platform name="ios"&gt;
          &lt;allow-intent href="itms:*" /&gt;
          &lt;allow-intent href="itms-apps:*" /&gt;
          &lt;preference name="Orientation" value="all" /&gt;
      &lt;/platform&gt;
      &lt;preference name="xwalkVersion" value="14+" /&gt;
      &lt;preference name="xwalkCommandLine" value="--disable-pull-to-refresh-effect" /&gt;
      &lt;preference name="xwalkMode" value="embedded" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p><strong>I'm not doing anything different from their example and is not working, anyone knows what can be?</strong></p>
  
  <p>Thanks!</p>