title: Accessing local files from Progressive Web App while offline on a mobile device
body: <p>I am building an Angular Progressive Web App for a client attempting to achieve the following:</p>
  
  <ol>
  <li>Client manages some sort of shared folder/repository that contains a set of documents.</li>
  <li>The consumer of this device has a mobile device -- iOS, Android, Windows (it is a BYOD environment)</li>
  <li>These mobile devices all contain an application, say OneDrive for Business. That syncs with this shared folder.</li>
  <li>The PWA works offline and needs to have access to these documents for viewing/playback while in the field hence why they must be available on the device in local storage or browser storage somehow.</li>
  <li>Is there a way to force OneDrive (or any other storage option) to make these documents available offline without needing to manually go to the folder and tap "Make Available Offline"?</li>
  </ol>
  
  <p>I found <a href="https://community.spiceworks.com/topic/203456-best-way-to-do-gpo-for-folder-redirection-sync" rel="nofollow noreferrer">this</a> document regarding Microsoft Group Policy Objects but it seems to require a mobile device management system so the client can force their employees to have OneDrive installed and potentially? sync and download the documents for offline usage without their manual effort.</p>
  
  <p>Also, I know <a href="https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa" rel="nofollow noreferrer">PWA offer browser storage using IndexedDB</a>, but the guarantee that enough browser storage is available cannot be assumed as we aren't sure how much data the files will require. This is also a deterrent when "forcing" the files down to the device storage as the device may not have enough local storage.</p>
  
  <p>Lastly, are there any other approaches</p>