title: Ionic FilePath not working, how to get the file path for Android 11
body: <p>I've read about all the changes in the File system for Android, because of Android 11.</p>
  <p>Here is my problem. I'm opening a file using <code>Android File Chooser</code> from <code>Ionic</code>.
  <a href="https://ionicframework.com/docs/native/file-chooser" rel="nofollow noreferrer">https://ionicframework.com/docs/native/file-chooser</a></p>
  <pre><code> this.androidFileChooser
          .open({ mime: 'application/pdf' })
          .then((file) =&gt; {
  </code></pre>
  <p>This gives me this response : <code>&quot;content://com.android.providers.downloads.documents/document/11654&quot;</code>.</p>
  <p>The problem is that I need to get the real location of the file to convert it to base 64, and send it with a POST Request to the client server.
  So before all these problems, I was using Android File Path from Ionic : <a href="https://ionicframework.com/docs/native/file-path" rel="nofollow noreferrer">https://ionicframework.com/docs/native/file-path</a></p>
  <pre><code>this.filePath.resolveNativePath(file).then((filePath) =&gt; {
  </code></pre>
  <p>And I was receiving <code>file:///storage/emulated/0/Download/pdffile.pdf</code>
  Using this, I could transform it in base64 and everything worked well.</p>
  <p>Now, it returns me nothing for Android 11. So All the process can't work if I don't have this filepath.</p>
  <p>Do you have a solution for Angular/Ionic, to get the file Path for a file, for Android 11? This is very problematic.</p>