title: Phonegap, Sencha Touch2 and Pusher - Flash fallback fail on Android
body: <p>I have a small app that users pusher, is built with Sencha Touch 2, wrapped in phonegap (cordova 1.7.0) and packaged for android. Pusher has a flash fallback for non-webocket support. </p>
  
  <p>per <a href="http://pusher.tenderapp.com/kb/faq/does-pusher-work-with-phonegap-yes" rel="nofollow">http://pusher.tenderapp.com/kb/faq/does-pusher-work-with-phonegap-yes</a>  I added this to my .java file:</p>
  
  <pre><code>super.init();
  this.appView.getSettings().setPluginsEnabled(true); 
  </code></pre>
  
  <p>It seems it is trying to load flash, but I see this in logcat when running on my device:</p>
  
  <p>06-28 16:41:53.559: D/CordovaLog(16269): WARNING: web-socket-js doesn't work in file:///... URL unless you set Flash Security Settings properly. Open the page via Web server i.e. http://...</p>
  
  <p>06-28 16:41:53.559: D/CordovaLog(16269): <a href="https://yadayada.cloudfront.net/1.11.2/flashfallback.min.js" rel="nofollow">https://yadayada.cloudfront.net/1.11.2/flashfallback.min.js</a>: Line 52 : WARNING: web-socket-js doesn't work in file:///... URL unless you set Flash Security Settings properly. Open the page via Web server i.e. http://...</p>
  
  <p>Feels like I am close, but am missing the last bit to get this wired up.</p>
  
  <p>Thanks for any insight.</p>