title: Access to Word documents under Android within an ionic app
body: <p>I am developing an Android app based on the ionicframework. With the app, Word documents can be downloaded from the internet via an API interface. In the previous version of my app, I created a folder under &quot;externalRootDirectory&quot; and loaded the documents there to be able to open them from the app for editing using MSWord (fileOpener2.showOpenWithDialog).
  Since Android 11, it is no longer possible to use &quot;externalRootDirectory&quot; and I can only store my documents in the application's file system (dataDirectory). Unfortunately, MSWord has no authorisation and the documents are not opened.
  Does anyone know a way to give MSWord access to the documents within the sandbox or to load documents into a public folder under Android 11 or higher?</p>
  <pre><code>Ionic:
  
  Ionic CLI                     : 6.18.1 
  Ionic Framework               : @ionic/angular 6.0.8
  @angular-devkit/build-angular : 13.0.4
  @angular-devkit/schematics    : 13.0.4
  @angular/cli                  : 13.0.4
  @ionic/angular-toolkit        : 5.0.3
  cordova-res : 0.15.4
  native-run  : 1.5.0
  
  System:
  
  cordova-res : 0.15.4
  native-run  : 1.5.0
  
  System:
  
  NodeJS : v12.22.7
  npm    : 6.14.15
  OS     : Windows 10
  </code></pre>
  <p><strong>Edit:</strong>
  This creates an Folder under public 'Documents':</p>
  <pre><code>mkDir(): Promise&lt;boolean&gt; {
      const option: MkdirOptions = {
          path: 'foldername',
          directory: Directory.Documents,
          recursive: false
      };
      return Filesystem.mkdir(option)
          .then(() =&gt; true)
          .catch(() =&gt; false);
  }
  </code></pre>