title: Download PDF from a URL in Downloads folder on android app with targetSdkVersion=30
body: <p>I want to download a pdf from a url on Android&gt;=11. My app is targeting android version 30.</p>
  <p>I read that due to restrictions introduced from Android 11, it does not easily allow us to store files in external Downloads folder and we have to store it inside Android/package_name/[folder]/[file], but I want to store it in Downloads folder so that my user does not have to go inside Android/package/[Downloads]/[file] to view that file.</p>
  <p>Also on devices which are running Android&lt;11, I can download that file by simply using getExternalStorageDirectory right? Please provide me some clarity on this.</p>
  <p>I found some answers previously but they weren't that helpful. Can anybody tell me how to achieve this?</p>