title: Opening a local file with InAppBrowser under iOS doesn't work
body: <p>I am developping a mobile application using Cordova. This application allows users to navigate in a kind of a file manager and allows them to download files. I use the plugin "FileTransfer" to download the file on the user's device and then call the InAppBrowser (version 0.5.2) plugin in order to open it.</p>
  
  <p>While it works really great under Android, I can't say the same under iOS (tested under versions 7 and 8).</p>
  
  <p>This is the line of code I use to open the downloaded file:</p>
  
  <pre><code>window.open(entry.toURL(), "_system");
  </code></pre>
  
  <p>Under Android, it proposes the user which application he wants to launch to open the file or launches automatically the default application based on the file extension. Under iOS, the file is downloaded and then nothing happens. I have found out I could use the integrated viewer of the InAppBrowser plugin when the user is under iOS. I do that in this way:</p>
  
  <pre><code>if (navigator.userAgent.match(/iPhone|iPod|iPad/))
      window.open(entry.toURL(), "_blank");
  else
      window.open(entry.toURL(), "_system");
  </code></pre>
  
  <p>With these lines of codes, if the user is under iOS, the integrated viewer is launched and displays the file. The problem is for ZIP files or other files that can't be rendered in the viewer. This one says "Load Error".</p>
  
  <p>I think that if "_system" worked, Safari would be launched and would propose the user how he wants to open the file.</p>
  
  <p>Does anybody have an idea of how I can make "_system" worked in iOS? Is this eventually a known problem (I couldn't find anything related to my problem)?</p>
  
  <p>If this can be relevant to my problem, I use Phonegap Build in order to generate the .ipa file.</p>